diff --git a/package.json b/package.json index a8cc1b134daf..567faee043f0 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "@azure/openai": "1.0.0-beta.12", "@cfworker/json-schema": "^1.12.8", "@clerk/localizations": "2.0.0", - "@clerk/nextjs": "^5.2.6", + "@clerk/nextjs": "^5.2.14", "@clerk/themes": "^2.1.10", "@google/generative-ai": "^0.16.0", "@icons-pack/react-simple-icons": "^9.6.0", @@ -163,7 +163,7 @@ "numeral": "^2.0.6", "nuqs": "^1.17.4", "ollama": "^0.5.2", - "openai": "^4.52.3", + "openai": "~4.54.0", "partial-json": "^0.1.7", "pg": "^8.12.0", "pino": "^9.2.0", diff --git a/src/app/api/middleware/auth/index.ts b/src/app/api/middleware/auth/index.ts index ab9ac7f2162a..c0875bb1c17d 100644 --- a/src/app/api/middleware/auth/index.ts +++ b/src/app/api/middleware/auth/index.ts @@ -1,4 +1,4 @@ -import { AuthObject } from '@clerk/backend/internal'; +import { AuthObject } from '@clerk/backend'; import { getAuth } from '@clerk/nextjs/server'; import { NextRequest } from 'next/server'; diff --git a/src/app/api/middleware/auth/utils.test.ts b/src/app/api/middleware/auth/utils.test.ts index ed1b0df30322..e3aa504fba47 100644 --- a/src/app/api/middleware/auth/utils.test.ts +++ b/src/app/api/middleware/auth/utils.test.ts @@ -1,4 +1,4 @@ -import { type AuthObject } from '@clerk/backend/internal'; +import { type AuthObject } from '@clerk/backend'; import { beforeEach, describe, expect, it, vi } from 'vitest'; import { getAppConfig } from '@/config/app'; diff --git a/src/app/api/middleware/auth/utils.ts b/src/app/api/middleware/auth/utils.ts index 3888d997a307..8511270b7880 100644 --- a/src/app/api/middleware/auth/utils.ts +++ b/src/app/api/middleware/auth/utils.ts @@ -1,4 +1,4 @@ -import { type AuthObject } from '@clerk/backend/internal'; +import { type AuthObject } from '@clerk/backend'; import { importJWK, jwtVerify } from 'jose'; import { getAppConfig } from '@/config/app';