0fa4bfaf45
auth.ts: dropped the legacy HS256-shared-secret verification path, keeping only the JWKS path Supabase recommends now — one code path instead of two. Also fixes a real bug: @types/bun's ambient types didn't resolve inside a bun workspace (its internal 'bun-types' reference can't hoist into a nested package's node_modules the same way it does in a flat install). Depending on bun-types directly instead of @types/bun fixes it — verified with a clean 'bun run typecheck'.
32 lines
588 B
JSON
32 lines
588 B
JSON
{
|
|
"name": "@continuum/ts-core",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"module": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"jose": "^5.9.6"
|
|
},
|
|
"peerDependencies": {
|
|
"elysia": ">=1.1.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"elysia": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "^1.1.14",
|
|
"typescript": "^5.6.3",
|
|
"elysia": "^1.1.26"
|
|
}
|
|
}
|