fix(auth): upgrade Better Auth to patched 1.7.6 (#1719)
Some checks failed
Publish AI SDK / publish (push) Has been cancelled
Publish Memory Graph / publish (push) Has been cancelled
Publish Tools / publish (push) Has been cancelled

Co-authored-by: Mahesh Sanikommu <maheshthedev@gmail.com>
This commit is contained in:
Dhravya Shah 2026-10-02 17:05:13 -07:00 • committed by GitHub
parent 1245d73b6b
commit 62cc57eda6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 509 additions and 508 deletions

View file

@ -4,6 +4,7 @@ import type { NextConfig } from "next"
const nextConfig: NextConfig = {
poweredByHeader: false,
skipTrailingSlashRedirect: true,
agentRules: false,
}
export default nextConfig

View file

@ -19,8 +19,8 @@
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
},
"dependencies": {
"@opennextjs/cloudflare": "^1.12.0",
"next": "^16.0.11",
"@opennextjs/cloudflare": "^1.20.8",
"next": "16.3.8",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
@ -31,7 +31,7 @@
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"typescript": "^5.8.3",
"wrangler": "^4.26.0"
"wrangler": "^4.125.0"
},
"overrides": {
"@types/react": "^19.2.9",

966
bun.lock

File diff suppressed because it is too large Load diff

View file

@ -35,17 +35,17 @@
"ai": "^5.0.59",
"alchemy": "^0.81.4",
"atmn": "^0.0.16",
"better-auth": "^1.3.3",
"better-auth": "1.7.6",
"boxen": "^8.0.1",
"cloudflare": "^4.5.0",
"compromise": "^14.14.4",
"dedent": "^1.6.0",
"destr": "^2.0.5",
"drizzle-orm": "^0.44.3",
"drizzle-orm": "0.45.2",
"drizzle-zod": "~0.7.1",
"file-type": "^21.0.0",
"hono-openapi": "^0.4.8",
"nanoid": "^5.1.5",
"nanoid": "^5.1.16",
"neverthrow": "^8.2.0",
"pg": "^8.16.3",
"pino": "^9.7.0",
@ -66,8 +66,30 @@
"wrangler": "^4.42.2"
},
"overrides": {
"@xmldom/xmldom": "0.8.15",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3"
"@types/react-dom": "^19.2.3",
"adm-zip": "0.6.1",
"axios": "1.20.0",
"basic-ftp": "6.2.1",
"browserslist": "4.28.7",
"defu": "6.1.5",
"engine.io": "6.6.11",
"fast-uri": "3.1.8",
"fast-xml-builder": "1.3.1",
"fast-xml-parser": "5.7.3",
"form-data": "4.0.6",
"hono": "4.13.12",
"ip-address": "10.7.3",
"jsondiffpatch": "0.7.6",
"lodash": "4.18.1",
"node-forge": "1.4.0",
"postcss": "8.5.23",
"protobufjs": "7.6.6",
"sharp": "0.35.4",
"socket.io-parser": "4.2.7",
"undici": "7.29.1",
"ws": "8.21.3"
},
"workerd": {
"import": "./esm/index.mjs",

View file

@ -22,7 +22,7 @@
"@types/bun": "^1.2.21",
"tsdown": "^0.14.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
"vitest": "3.2.6"
},
"files": [
"dist"

View file

@ -3,7 +3,6 @@ import {
adminClient,
anonymousClient,
emailOTPClient,
genericOAuthClient,
magicLinkClient,
organizationClient,
usernameClient,
@ -20,7 +19,6 @@ export const authClient = createAuthClient({
usernameClient(),
magicLinkClient(),
emailOTPClient(),
genericOAuthClient(),
apiKeyClient(),
adminClient(),
organizationClient(),

View file

@ -13,12 +13,12 @@
"@ai-sdk/anthropic": "^1.2.12",
"@ai-sdk/google": "^1.2.22",
"@ai-sdk/groq": "^1.2.9",
"@better-auth/api-key": "1.6.22",
"@better-auth/api-key": "1.7.6",
"@better-fetch/fetch": "^1.1.18",
"@tanstack/react-query": "^5.90.14",
"@tanstack/react-query-devtools": "^5.84.2",
"ai-gateway-provider": "^0.0.11",
"better-auth": "1.6.22",
"better-auth": "1.7.6",
"clsx": "^2.1.1",
"posthog-js": "^1.336.0",
"sonner": "^2.0.5",

View file

@ -60,7 +60,7 @@
"@vitejs/plugin-react": "^5.1.0",
"happy-dom": "^20.9.0",
"typescript": "^5.9.3",
"vite": "^7.2.1",
"vitest": "^3.2.4"
"vite": "7.3.5",
"vitest": "3.2.6"
}
}

View file

@ -30,7 +30,7 @@
"dotenv": "^16.6.1",
"tsdown": "^0.14.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
"vitest": "3.2.6"
},
"peerDependencies": {
"@ai-sdk/provider": "^2.0.0 || ^3.0.0",