@@ -150,8 +150,9 @@ export async function CreateAuth(
|
||||
const handler = toNodeHandler(auth)(
|
||||
Object.assign(clonedRequest, req, {
|
||||
url: req.originalUrl,
|
||||
|
||||
// https://github.com/Bekacru/better-call/blob/main/src/adapter/node.ts
|
||||
connection: Object.assign(req.connection, {
|
||||
socket: Object.assign(req.socket, {
|
||||
encrypted: isDev ? false : true,
|
||||
}),
|
||||
}),
|
||||
|
||||
12
package.json
12
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.12.3",
|
||||
"packageManager": "pnpm@9.15.0",
|
||||
"license": "AGPLv3",
|
||||
"homepage": "https://github.com/mx-space/core#readme",
|
||||
"repository": {
|
||||
@@ -29,19 +29,19 @@
|
||||
"devDependencies": {
|
||||
"@innei/prettier": "0.15.0",
|
||||
"@sxzz/eslint-config": "4.5.1",
|
||||
"@types/node": "22.10.1",
|
||||
"@types/node": "22.10.2",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "^9.16.0",
|
||||
"eslint": "^9.17.0",
|
||||
"eslint-plugin-unused-imports": "4.1.4",
|
||||
"lint-staged": "15.2.10",
|
||||
"prettier": "3.4.1",
|
||||
"lint-staged": "15.2.11",
|
||||
"prettier": "3.4.2",
|
||||
"rimraf": "6.0.1",
|
||||
"simple-git-hooks": "2.11.1",
|
||||
"ts-node": "10.9.2",
|
||||
"tsconfig-paths": "4.2.0",
|
||||
"tsup": "8.3.5",
|
||||
"typescript": "5.7.2",
|
||||
"vite-tsconfig-paths": "5.1.3"
|
||||
"vite-tsconfig-paths": "5.1.4"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
|
||||
@@ -48,15 +48,15 @@
|
||||
"@types/express": "5.0.0",
|
||||
"@types/lodash": "4.17.13",
|
||||
"abort-controller": "3.0.0",
|
||||
"axios": "^1.6.7",
|
||||
"axios": "^1.7.9",
|
||||
"camelcase-keys": "^9.1.3",
|
||||
"cors": "2.8.5",
|
||||
"express": "4.21.1",
|
||||
"express": "4.21.2",
|
||||
"form-data": "4.0.1",
|
||||
"lodash": "4.17.21",
|
||||
"tsup": "8.3.5",
|
||||
"umi-request": "1.4.0",
|
||||
"vite": "^5.4.7",
|
||||
"vitest": "1.5.2"
|
||||
"vite": "^6.0.3",
|
||||
"vitest": "2.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"build": "tsup"
|
||||
},
|
||||
"devDependencies": {
|
||||
"better-auth": "1.0.10",
|
||||
"better-auth": "1.0.22",
|
||||
"nanoid": "5.0.9",
|
||||
"zx": "7.2.3"
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"build": "node scripts/generate.js && tsup && node scripts/post-build.cjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "4.21.1"
|
||||
"express": "4.21.2"
|
||||
},
|
||||
"bump": {
|
||||
"before": [
|
||||
|
||||
629
pnpm-lock.yaml
generated
629
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user