We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14cb011 commit b4284f9Copy full SHA for b4284f9
packages/nextjs/src/utils/serverRedirectWithAuth.ts
@@ -1,7 +1,8 @@
1
// Middleware runs on the server side, before clerk-js is loaded, that's why we need Cookies.
2
import type { AuthenticateRequestOptions, ClerkRequest } from '@clerk/backend/internal';
3
import { constants } from '@clerk/backend/internal';
4
-import { DEV_BROWSER_JWT_KEY, isDevelopmentFromSecretKey, setDevBrowserJWTInURL } from '@clerk/shared';
+import { DEV_BROWSER_JWT_KEY, setDevBrowserJWTInURL } from '@clerk/shared/devBrowser';
5
+import { isDevelopmentFromSecretKey } from '@clerk/shared/keys';
6
import { NextResponse } from 'next/server';
7
8
import { SECRET_KEY } from '../server/constants';
0 commit comments