UNPKG

@clerk/nextjs

Version:

Clerk SDK for NextJS

34 lines 867 B
import "../chunk-BUSYA2B4.js"; import { createClerkClient } from "@clerk/backend"; import { API_URL, API_VERSION, DOMAIN, IS_SATELLITE, PROXY_URL, PUBLISHABLE_KEY, SDK_METADATA, SECRET_KEY, TELEMETRY_DEBUG, TELEMETRY_DISABLED } from "./constants"; const clerkClientDefaultOptions = { secretKey: SECRET_KEY, publishableKey: PUBLISHABLE_KEY, apiUrl: API_URL, apiVersion: API_VERSION, userAgent: `${"@clerk/nextjs"}@${"6.10.4-snapshot.v20250129203459"}`, proxyUrl: PROXY_URL, domain: DOMAIN, isSatellite: IS_SATELLITE, sdkMetadata: SDK_METADATA, telemetry: { disabled: TELEMETRY_DISABLED, debug: TELEMETRY_DEBUG } }; const createClerkClientWithOptions = (options) => createClerkClient({ ...clerkClientDefaultOptions, ...options }); export { createClerkClientWithOptions }; //# sourceMappingURL=createClerkClient.js.map