From 2ffef7c885d7b71db83ce33143cf40e5835f0e01 Mon Sep 17 00:00:00 2001 From: "Amir H. Khanjani" <72540492+ahkhanjani@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:43:38 +0330 Subject: [PATCH] revert @auth/core update --- apps/auth-proxy/package.json | 2 +- packages/auth/package.json | 2 +- packages/auth/src/config.ts | 2 +- pnpm-lock.yaml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/auth-proxy/package.json b/apps/auth-proxy/package.json index cb836d870..dfaa93ce8 100644 --- a/apps/auth-proxy/package.json +++ b/apps/auth-proxy/package.json @@ -10,7 +10,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@auth/core": "0.37.3" + "@auth/core": "0.37.2" }, "devDependencies": { "@acme/eslint-config": "workspace:*", diff --git a/packages/auth/package.json b/packages/auth/package.json index 64840efe1..9606ed288 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@acme/db": "workspace:*", - "@auth/core": "0.37.3", + "@auth/core": "0.37.2", "@auth/drizzle-adapter": "1.7.3", "@t3-oss/env-nextjs": "^0.11.1", "next": "^15.0.2", diff --git a/packages/auth/src/config.ts b/packages/auth/src/config.ts index 985aa753e..e7221f500 100644 --- a/packages/auth/src/config.ts +++ b/packages/auth/src/config.ts @@ -33,7 +33,7 @@ export const authConfig = { // In development, we need to skip checks to allow Expo to work ...(!isSecureContext ? { - skipCSRFCheck: skipCSRFCheck, + skipCSRFCheck, trustHost: true, } : {}), diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 70a0e0f58..93f860c2b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,8 +80,8 @@ importers: apps/auth-proxy: dependencies: '@auth/core': - specifier: 0.37.3 - version: 0.37.3 + specifier: 0.37.2 + version: 0.37.2 devDependencies: '@acme/eslint-config': specifier: workspace:* @@ -375,8 +375,8 @@ importers: specifier: workspace:* version: link:../db '@auth/core': - specifier: 0.37.3 - version: 0.37.3 + specifier: 0.37.2 + version: 0.37.2 '@auth/drizzle-adapter': specifier: 1.7.3 version: 1.7.3