@clerk/chrome-extension 2.8.3-snapshot.v20251120182959 → 2.8.3
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 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +3 -29
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-M6BEX3OU.js → chunk-REBCG4WV.js} +14 -52
- package/dist/esm/chunk-REBCG4WV.js.map +1 -0
- package/dist/esm/{chunk-JL62M3KX.js → chunk-V5AP3EFO.js} +3 -3
- package/dist/esm/{chunk-JL62M3KX.js.map → chunk-V5AP3EFO.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-M6BEX3OU.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.1",
|
|
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;
|
|
@@ -3088,20 +3087,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3088
3087
|
this.preopenUserVerification = null;
|
|
3089
3088
|
}
|
|
3090
3089
|
};
|
|
3091
|
-
this.__internal_openEnableOrganizationsPrompt = (props) => {
|
|
3092
|
-
if (this.clerkjs && this.loaded) {
|
|
3093
|
-
this.clerkjs.__internal_openEnableOrganizationsPrompt(props);
|
|
3094
|
-
} else {
|
|
3095
|
-
this.preopenEnableOrganizationsPrompt = props;
|
|
3096
|
-
}
|
|
3097
|
-
};
|
|
3098
|
-
this.__internal_closeEnableOrganizationsPrompt = () => {
|
|
3099
|
-
if (this.clerkjs && this.loaded) {
|
|
3100
|
-
this.clerkjs.__internal_closeEnableOrganizationsPrompt();
|
|
3101
|
-
} else {
|
|
3102
|
-
this.preopenEnableOrganizationsPrompt = null;
|
|
3103
|
-
}
|
|
3104
|
-
};
|
|
3105
3090
|
this.openGoogleOneTap = (props) => {
|
|
3106
3091
|
if (this.clerkjs && this.loaded) {
|
|
3107
3092
|
this.clerkjs.openGoogleOneTap(props);
|
|
@@ -3693,17 +3678,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3693
3678
|
this.premountMethodCalls.set("signOut", callback);
|
|
3694
3679
|
}
|
|
3695
3680
|
};
|
|
3696
|
-
this.__internal_attemptToEnableEnvironmentSetting = (options2) => {
|
|
3697
|
-
const callback = () => {
|
|
3698
|
-
var _a5;
|
|
3699
|
-
return (_a5 = this.clerkjs) == null ? void 0 : _a5.__internal_attemptToEnableEnvironmentSetting(options2);
|
|
3700
|
-
};
|
|
3701
|
-
if (this.clerkjs && this.loaded) {
|
|
3702
|
-
return callback();
|
|
3703
|
-
} else {
|
|
3704
|
-
this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting", callback);
|
|
3705
|
-
}
|
|
3706
|
-
};
|
|
3707
3681
|
const { Clerk: Clerk2 = null, publishableKey } = options || {};
|
|
3708
3682
|
__privateSet2(this, _publishableKey, publishableKey);
|
|
3709
3683
|
__privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
|
|
@@ -4247,7 +4221,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
4247
4221
|
var clerk;
|
|
4248
4222
|
noRhc.Clerk.sdkMetadata = {
|
|
4249
4223
|
name: "@clerk/chrome-extension",
|
|
4250
|
-
version: "2.8.3
|
|
4224
|
+
version: "2.8.3"
|
|
4251
4225
|
};
|
|
4252
4226
|
async function createClerkClient({
|
|
4253
4227
|
__experimental_syncHostListener = false,
|