@clerk/chrome-extension 2.8.5-canary.v20251124122304 → 2.8.5-snapshot.v20251124170822

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.
@@ -844,7 +844,7 @@ function dequal2(foo, bar) {
844
844
  return foo !== foo && bar !== bar;
845
845
  }
846
846
 
847
- // ../shared/dist/runtime/react/index.mjs
847
+ // ../shared/dist/runtime/organization-DsA9O7QJ.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
  }
@@ -2676,7 +2676,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
2676
2676
  }
2677
2677
  var SDK_METADATA = {
2678
2678
  name: "@clerk/clerk-react",
2679
- version: "5.56.3-canary.v20251124122304",
2679
+ version: "5.57.0-snapshot.v20251124170822",
2680
2680
  environment: process.env.NODE_ENV
2681
2681
  };
2682
2682
  var _status;
@@ -2694,6 +2694,7 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
2694
2694
  this.clerkjs = null;
2695
2695
  this.preopenOneTap = null;
2696
2696
  this.preopenUserVerification = null;
2697
+ this.preopenEnableOrganizationsPrompt = null;
2697
2698
  this.preopenSignIn = null;
2698
2699
  this.preopenCheckout = null;
2699
2700
  this.preopenPlanDetails = null;
@@ -2960,6 +2961,9 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
2960
2961
  if (this.preOpenWaitlist !== null) {
2961
2962
  clerkjs.openWaitlist(this.preOpenWaitlist);
2962
2963
  }
2964
+ if (this.preopenEnableOrganizationsPrompt) {
2965
+ clerkjs.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt);
2966
+ }
2963
2967
  this.premountSignInNodes.forEach((props, node) => {
2964
2968
  clerkjs.mountSignIn(node, props);
2965
2969
  });
@@ -3086,6 +3090,20 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3086
3090
  this.preopenUserVerification = null;
3087
3091
  }
3088
3092
  };
3093
+ this.__internal_openEnableOrganizationsPrompt = (props) => {
3094
+ if (this.clerkjs && this.loaded) {
3095
+ this.clerkjs.__internal_openEnableOrganizationsPrompt(props);
3096
+ } else {
3097
+ this.preopenEnableOrganizationsPrompt = props;
3098
+ }
3099
+ };
3100
+ this.__internal_closeEnableOrganizationsPrompt = () => {
3101
+ if (this.clerkjs && this.loaded) {
3102
+ this.clerkjs.__internal_closeEnableOrganizationsPrompt();
3103
+ } else {
3104
+ this.preopenEnableOrganizationsPrompt = null;
3105
+ }
3106
+ };
3089
3107
  this.openGoogleOneTap = (props) => {
3090
3108
  if (this.clerkjs && this.loaded) {
3091
3109
  this.clerkjs.openGoogleOneTap(props);
@@ -3677,6 +3695,17 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3677
3695
  this.premountMethodCalls.set("signOut", callback);
3678
3696
  }
3679
3697
  };
3698
+ this.__internal_attemptToEnableEnvironmentSetting = (options2) => {
3699
+ const callback = () => {
3700
+ var _a5;
3701
+ return (_a5 = this.clerkjs) == null ? void 0 : _a5.__internal_attemptToEnableEnvironmentSetting(options2);
3702
+ };
3703
+ if (this.clerkjs && this.loaded) {
3704
+ return callback();
3705
+ } else {
3706
+ this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting", callback);
3707
+ }
3708
+ };
3680
3709
  const { Clerk: Clerk2 = null, publishableKey } = options || {};
3681
3710
  __privateSet2(this, _publishableKey, publishableKey);
3682
3711
  __privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
@@ -4220,7 +4249,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4220
4249
  var clerk;
4221
4250
  noRhc.Clerk.sdkMetadata = {
4222
4251
  name: "@clerk/chrome-extension",
4223
- version: "2.8.5-canary.v20251124122304"
4252
+ version: "2.8.5-snapshot.v20251124170822"
4224
4253
  };
4225
4254
  async function createClerkClient({
4226
4255
  __experimental_syncHostListener = false,