@clerk/chrome-extension 2.8.4-snapshot.v20251121134419 → 2.8.5-canary.v20251121181637
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/background/index.js +1 -1
- package/dist/cjs/index.js +21 -60
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +3 -33
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-HQXGLBVV.js → chunk-EHV6FOOF.js} +24 -63
- package/dist/esm/chunk-EHV6FOOF.js.map +1 -0
- package/dist/esm/{chunk-4B7GJGSR.js → chunk-RTWWOXVR.js} +3 -3
- package/dist/esm/{chunk-4B7GJGSR.js.map → chunk-RTWWOXVR.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/react/index.js +2 -2
- package/dist/types/internal/utils/errors.d.ts +1 -1
- package/package.json +4 -4
- package/dist/esm/chunk-HQXGLBVV.js.map +0 -1
package/dist/cjs/react/index.js
CHANGED
|
@@ -844,7 +844,7 @@ function dequal2(foo, bar) {
|
|
|
844
844
|
return foo !== foo && bar !== bar;
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
// ../shared/dist/runtime/
|
|
847
|
+
// ../shared/dist/runtime/react/index.mjs
|
|
848
848
|
function assertContextExists(contextVal, msgOrCtx) {
|
|
849
849
|
if (!contextVal) throw typeof msgOrCtx === "string" ? new Error(msgOrCtx) : /* @__PURE__ */ new Error(`${msgOrCtx.displayName} not found`);
|
|
850
850
|
}
|
|
@@ -1056,7 +1056,6 @@ var createElementComponent = (type, isServer) => {
|
|
|
1056
1056
|
return Element;
|
|
1057
1057
|
};
|
|
1058
1058
|
createElementComponent("payment", typeof window === "undefined");
|
|
1059
|
-
createContextAndHook("StripeLibsContext");
|
|
1060
1059
|
createContextAndHook("PaymentElementContext");
|
|
1061
1060
|
createContextAndHook("StripeUtilsContext");
|
|
1062
1061
|
var errorThrower = buildErrorThrower({ packageName: "@clerk/clerk-react" });
|
|
@@ -2677,7 +2676,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
2677
2676
|
}
|
|
2678
2677
|
var SDK_METADATA = {
|
|
2679
2678
|
name: "@clerk/clerk-react",
|
|
2680
|
-
version: "5.
|
|
2679
|
+
version: "5.56.3-canary.v20251121181637",
|
|
2681
2680
|
environment: process.env.NODE_ENV
|
|
2682
2681
|
};
|
|
2683
2682
|
var _status;
|
|
@@ -2695,7 +2694,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
2695
2694
|
this.clerkjs = null;
|
|
2696
2695
|
this.preopenOneTap = null;
|
|
2697
2696
|
this.preopenUserVerification = null;
|
|
2698
|
-
this.preopenEnableOrganizationsPrompt = null;
|
|
2699
2697
|
this.preopenSignIn = null;
|
|
2700
2698
|
this.preopenCheckout = null;
|
|
2701
2699
|
this.preopenPlanDetails = null;
|
|
@@ -2962,9 +2960,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
2962
2960
|
if (this.preOpenWaitlist !== null) {
|
|
2963
2961
|
clerkjs.openWaitlist(this.preOpenWaitlist);
|
|
2964
2962
|
}
|
|
2965
|
-
if (this.preopenEnableOrganizationsPrompt) {
|
|
2966
|
-
clerkjs.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt);
|
|
2967
|
-
}
|
|
2968
2963
|
this.premountSignInNodes.forEach((props, node) => {
|
|
2969
2964
|
clerkjs.mountSignIn(node, props);
|
|
2970
2965
|
});
|
|
@@ -3091,20 +3086,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3091
3086
|
this.preopenUserVerification = null;
|
|
3092
3087
|
}
|
|
3093
3088
|
};
|
|
3094
|
-
this.__internal_openEnableOrganizationsPrompt = (props) => {
|
|
3095
|
-
if (this.clerkjs && this.loaded) {
|
|
3096
|
-
this.clerkjs.__internal_openEnableOrganizationsPrompt(props);
|
|
3097
|
-
} else {
|
|
3098
|
-
this.preopenEnableOrganizationsPrompt = props;
|
|
3099
|
-
}
|
|
3100
|
-
};
|
|
3101
|
-
this.__internal_closeEnableOrganizationsPrompt = () => {
|
|
3102
|
-
if (this.clerkjs && this.loaded) {
|
|
3103
|
-
this.clerkjs.__internal_closeEnableOrganizationsPrompt();
|
|
3104
|
-
} else {
|
|
3105
|
-
this.preopenEnableOrganizationsPrompt = null;
|
|
3106
|
-
}
|
|
3107
|
-
};
|
|
3108
3089
|
this.openGoogleOneTap = (props) => {
|
|
3109
3090
|
if (this.clerkjs && this.loaded) {
|
|
3110
3091
|
this.clerkjs.openGoogleOneTap(props);
|
|
@@ -3696,17 +3677,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3696
3677
|
this.premountMethodCalls.set("signOut", callback);
|
|
3697
3678
|
}
|
|
3698
3679
|
};
|
|
3699
|
-
this.__internal_attemptToEnableEnvironmentSetting = (options2) => {
|
|
3700
|
-
const callback = () => {
|
|
3701
|
-
var _a5;
|
|
3702
|
-
return (_a5 = this.clerkjs) == null ? void 0 : _a5.__internal_attemptToEnableEnvironmentSetting(options2);
|
|
3703
|
-
};
|
|
3704
|
-
if (this.clerkjs && this.loaded) {
|
|
3705
|
-
return callback();
|
|
3706
|
-
} else {
|
|
3707
|
-
this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting", callback);
|
|
3708
|
-
}
|
|
3709
|
-
};
|
|
3710
3680
|
const { Clerk: Clerk2 = null, publishableKey } = options || {};
|
|
3711
3681
|
__privateSet2(this, _publishableKey, publishableKey);
|
|
3712
3682
|
__privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
|
|
@@ -4250,7 +4220,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
4250
4220
|
var clerk;
|
|
4251
4221
|
noRhc.Clerk.sdkMetadata = {
|
|
4252
4222
|
name: "@clerk/chrome-extension",
|
|
4253
|
-
version: "2.8.
|
|
4223
|
+
version: "2.8.5-canary.v20251121181637"
|
|
4254
4224
|
};
|
|
4255
4225
|
async function createClerkClient({
|
|
4256
4226
|
__experimental_syncHostListener = false,
|