Console: - Rewrite auth from JWT decoding to Better Auth useSession() - Add auth-client.ts with createAuthClient - Remove elydora_token localStorage, dead auth API functions - Fix login/register pages to use signIn.email/signUp.email Server: - Upgrade better-auth ^1.2.0 → ^1.5.5 - CORS: enforce allowlist on all environments - Sync auth service and middleware with backend SDKs: - Deprecate login/register in Node, Python, Go SDKs - Update READMEs to show direct token initialization Config: - Sanitize .env with dev-only placeholder values - Update helm chart and install scripts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35 lines
862 B
JSON
35 lines
862 B
JSON
{
|
|
"name": "@elydora/server",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsx watch src/index.ts",
|
|
"dev:worker": "tsx watch src/worker.ts",
|
|
"dev:scheduler": "tsx watch src/scheduler.ts",
|
|
"start": "node dist/index.js",
|
|
"start:worker": "node dist/worker.js",
|
|
"start:scheduler": "node dist/scheduler.js",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.0.0",
|
|
"better-auth": "^1.5.5",
|
|
"@hono/node-server": "^1.13.0",
|
|
"bullmq": "^5.0.0",
|
|
"dotenv": "^16.0.0",
|
|
"hono": "^4.7.0",
|
|
"ioredis": "^5.3.0",
|
|
"node-cron": "^3.0.0",
|
|
"pg": "^8.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@types/node-cron": "^3.0.0",
|
|
"@types/pg": "^8.11.0",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|