Skip to content

Commit bc38882

Browse files
authored
updated dependency (#384)
1 parent e614fa5 commit bc38882

File tree

3 files changed

+76
-28
lines changed

3 files changed

+76
-28
lines changed

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@cooper/db": "workspace:*",
2424
"@t3-oss/env-nextjs": "^0.10.1",
2525
"next": "^14.2.35",
26-
"next-auth": "5.0.0-beta.19",
26+
"next-auth": "5.0.0-beta.30",
2727
"react": "catalog:react18",
2828
"react-dom": "catalog:react18",
2929
"zod": "catalog:"

packages/auth/src/config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export const authConfig = {
4141
// In development, we need to skip checks to allow Expo to work
4242
...(!isSecureContext
4343
? {
44-
skipCSRFCheck: skipCSRFCheck,
44+
// Cast via unknown to align our import with NextAuth's internal @auth/core symbol type
45+
skipCSRFCheck:
46+
skipCSRFCheck as unknown as NextAuthConfig["skipCSRFCheck"],
4547
trustHost: true,
4648
}
4749
: {}),

pnpm-lock.yaml

Lines changed: 72 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)