@clerk/nextjs
Version:
Clerk SDK for NextJS
46 lines • 1.97 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var createClerkClient_exports = {};
__export(createClerkClient_exports, {
createClerkClientWithOptions: () => createClerkClientWithOptions
});
module.exports = __toCommonJS(createClerkClient_exports);
var import_backend = require("@clerk/backend");
var import_constants = require("./constants");
const clerkClientDefaultOptions = {
secretKey: import_constants.SECRET_KEY,
publishableKey: import_constants.PUBLISHABLE_KEY,
apiUrl: import_constants.API_URL,
apiVersion: import_constants.API_VERSION,
userAgent: `${"@clerk/nextjs"}@${"6.10.4-snapshot.v20250129203459"}`,
proxyUrl: import_constants.PROXY_URL,
domain: import_constants.DOMAIN,
isSatellite: import_constants.IS_SATELLITE,
sdkMetadata: import_constants.SDK_METADATA,
telemetry: {
disabled: import_constants.TELEMETRY_DISABLED,
debug: import_constants.TELEMETRY_DEBUG
}
};
const createClerkClientWithOptions = (options) => (0, import_backend.createClerkClient)({ ...clerkClientDefaultOptions, ...options });
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
createClerkClientWithOptions
});
//# sourceMappingURL=createClerkClient.js.map
;