@clerk/chrome-extension 2.8.4-snapshot.v20251121134419 → 2.8.4
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 +11 -53
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +3 -32
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-HQXGLBVV.js → chunk-7DDXO5XR.js} +14 -56
- package/dist/esm/chunk-7DDXO5XR.js.map +1 -0
- package/dist/esm/{chunk-4B7GJGSR.js → chunk-SDPVSHXQ.js} +3 -3
- package/dist/esm/{chunk-4B7GJGSR.js.map → chunk-SDPVSHXQ.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
|
}
|
|
@@ -2677,7 +2677,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
2677
2677
|
}
|
|
2678
2678
|
var SDK_METADATA = {
|
|
2679
2679
|
name: "@clerk/clerk-react",
|
|
2680
|
-
version: "5.
|
|
2680
|
+
version: "5.56.2",
|
|
2681
2681
|
environment: process.env.NODE_ENV
|
|
2682
2682
|
};
|
|
2683
2683
|
var _status;
|
|
@@ -2695,7 +2695,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
2695
2695
|
this.clerkjs = null;
|
|
2696
2696
|
this.preopenOneTap = null;
|
|
2697
2697
|
this.preopenUserVerification = null;
|
|
2698
|
-
this.preopenEnableOrganizationsPrompt = null;
|
|
2699
2698
|
this.preopenSignIn = null;
|
|
2700
2699
|
this.preopenCheckout = null;
|
|
2701
2700
|
this.preopenPlanDetails = null;
|
|
@@ -2962,9 +2961,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
2962
2961
|
if (this.preOpenWaitlist !== null) {
|
|
2963
2962
|
clerkjs.openWaitlist(this.preOpenWaitlist);
|
|
2964
2963
|
}
|
|
2965
|
-
if (this.preopenEnableOrganizationsPrompt) {
|
|
2966
|
-
clerkjs.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt);
|
|
2967
|
-
}
|
|
2968
2964
|
this.premountSignInNodes.forEach((props, node) => {
|
|
2969
2965
|
clerkjs.mountSignIn(node, props);
|
|
2970
2966
|
});
|
|
@@ -3091,20 +3087,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3091
3087
|
this.preopenUserVerification = null;
|
|
3092
3088
|
}
|
|
3093
3089
|
};
|
|
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
3090
|
this.openGoogleOneTap = (props) => {
|
|
3109
3091
|
if (this.clerkjs && this.loaded) {
|
|
3110
3092
|
this.clerkjs.openGoogleOneTap(props);
|
|
@@ -3696,17 +3678,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3696
3678
|
this.premountMethodCalls.set("signOut", callback);
|
|
3697
3679
|
}
|
|
3698
3680
|
};
|
|
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
3681
|
const { Clerk: Clerk2 = null, publishableKey } = options || {};
|
|
3711
3682
|
__privateSet2(this, _publishableKey, publishableKey);
|
|
3712
3683
|
__privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
|
|
@@ -4250,7 +4221,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
4250
4221
|
var clerk;
|
|
4251
4222
|
noRhc.Clerk.sdkMetadata = {
|
|
4252
4223
|
name: "@clerk/chrome-extension",
|
|
4253
|
-
version: "2.8.4
|
|
4224
|
+
version: "2.8.4"
|
|
4254
4225
|
};
|
|
4255
4226
|
async function createClerkClient({
|
|
4256
4227
|
__experimental_syncHostListener = false,
|