@clerk/chrome-extension 2.8.4-canary.v20251121094130 → 2.8.4-snapshot.v20251121134419

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-CY9GplQ0.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.56.1",
2680
+ version: "5.57.0-snapshot.v20251121134419",
2681
2681
  environment: process.env.NODE_ENV
2682
2682
  };
2683
2683
  var _status;
@@ -2695,6 +2695,7 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
2695
2695
  this.clerkjs = null;
2696
2696
  this.preopenOneTap = null;
2697
2697
  this.preopenUserVerification = null;
2698
+ this.preopenEnableOrganizationsPrompt = null;
2698
2699
  this.preopenSignIn = null;
2699
2700
  this.preopenCheckout = null;
2700
2701
  this.preopenPlanDetails = null;
@@ -2961,6 +2962,9 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
2961
2962
  if (this.preOpenWaitlist !== null) {
2962
2963
  clerkjs.openWaitlist(this.preOpenWaitlist);
2963
2964
  }
2965
+ if (this.preopenEnableOrganizationsPrompt) {
2966
+ clerkjs.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt);
2967
+ }
2964
2968
  this.premountSignInNodes.forEach((props, node) => {
2965
2969
  clerkjs.mountSignIn(node, props);
2966
2970
  });
@@ -3087,6 +3091,20 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3087
3091
  this.preopenUserVerification = null;
3088
3092
  }
3089
3093
  };
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
+ };
3090
3108
  this.openGoogleOneTap = (props) => {
3091
3109
  if (this.clerkjs && this.loaded) {
3092
3110
  this.clerkjs.openGoogleOneTap(props);
@@ -3678,6 +3696,17 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3678
3696
  this.premountMethodCalls.set("signOut", callback);
3679
3697
  }
3680
3698
  };
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
+ };
3681
3710
  const { Clerk: Clerk2 = null, publishableKey } = options || {};
3682
3711
  __privateSet2(this, _publishableKey, publishableKey);
3683
3712
  __privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
@@ -4221,7 +4250,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4221
4250
  var clerk;
4222
4251
  noRhc.Clerk.sdkMetadata = {
4223
4252
  name: "@clerk/chrome-extension",
4224
- version: "2.8.4-canary.v20251121094130"
4253
+ version: "2.8.4-snapshot.v20251121134419"
4225
4254
  };
4226
4255
  async function createClerkClient({
4227
4256
  __experimental_syncHostListener = false,