@clerk/chrome-extension 2.8.3-canary.v20251118191127 → 2.8.3-snapshot.v20251118233019
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 +44 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +24 -3
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-TO5NNKXK.js → chunk-KOPNJHTC.js} +3 -3
- package/dist/esm/{chunk-TO5NNKXK.js.map → chunk-KOPNJHTC.js.map} +1 -1
- package/dist/esm/{chunk-7BLJRZEP.js → chunk-Z2AT6LRZ.js} +47 -14
- package/dist/esm/chunk-Z2AT6LRZ.js.map +1 -0
- 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-7BLJRZEP.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/organization-oPqzCGOd.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.57.0-snapshot.v20251118233019",
|
|
2681
2681
|
environment: process.env.NODE_ENV
|
|
2682
2682
|
};
|
|
2683
2683
|
var _status;
|
|
@@ -3087,6 +3087,16 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3087
3087
|
this.preopenUserVerification = null;
|
|
3088
3088
|
}
|
|
3089
3089
|
};
|
|
3090
|
+
this.__internal_openEnableOrganizationsPrompt = (props) => {
|
|
3091
|
+
if (this.clerkjs && this.loaded) {
|
|
3092
|
+
this.clerkjs.__internal_openEnableOrganizationsPrompt(props);
|
|
3093
|
+
}
|
|
3094
|
+
};
|
|
3095
|
+
this.__internal_closeEnableOrganizationsPrompt = () => {
|
|
3096
|
+
if (this.clerkjs && this.loaded) {
|
|
3097
|
+
this.clerkjs.__internal_closeEnableOrganizationsPrompt();
|
|
3098
|
+
}
|
|
3099
|
+
};
|
|
3090
3100
|
this.openGoogleOneTap = (props) => {
|
|
3091
3101
|
if (this.clerkjs && this.loaded) {
|
|
3092
3102
|
this.clerkjs.openGoogleOneTap(props);
|
|
@@ -3678,6 +3688,17 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3678
3688
|
this.premountMethodCalls.set("signOut", callback);
|
|
3679
3689
|
}
|
|
3680
3690
|
};
|
|
3691
|
+
this.__internal_attemptToEnableEnvironmentSetting = (options2) => {
|
|
3692
|
+
const callback = () => {
|
|
3693
|
+
var _a5;
|
|
3694
|
+
return (_a5 = this.clerkjs) == null ? void 0 : _a5.__internal_attemptToEnableEnvironmentSetting(options2);
|
|
3695
|
+
};
|
|
3696
|
+
if (this.clerkjs && this.loaded) {
|
|
3697
|
+
return callback();
|
|
3698
|
+
} else {
|
|
3699
|
+
this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting", callback);
|
|
3700
|
+
}
|
|
3701
|
+
};
|
|
3681
3702
|
const { Clerk: Clerk2 = null, publishableKey } = options || {};
|
|
3682
3703
|
__privateSet2(this, _publishableKey, publishableKey);
|
|
3683
3704
|
__privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
|
|
@@ -4221,7 +4242,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
4221
4242
|
var clerk;
|
|
4222
4243
|
noRhc.Clerk.sdkMetadata = {
|
|
4223
4244
|
name: "@clerk/chrome-extension",
|
|
4224
|
-
version: "2.8.3-
|
|
4245
|
+
version: "2.8.3-snapshot.v20251118233019"
|
|
4225
4246
|
};
|
|
4226
4247
|
async function createClerkClient({
|
|
4227
4248
|
__experimental_syncHostListener = false,
|