@clerk/chrome-extension 2.8.3-snapshot.v20251120173355 → 2.8.3-snapshot.v20251120182959

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-DTQcO2TH.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-snapshot.v20251120173355",
2680
+ version: "5.57.0-snapshot.v20251120182959",
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;
@@ -3087,6 +3088,20 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3087
3088
  this.preopenUserVerification = null;
3088
3089
  }
3089
3090
  };
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
+ };
3090
3105
  this.openGoogleOneTap = (props) => {
3091
3106
  if (this.clerkjs && this.loaded) {
3092
3107
  this.clerkjs.openGoogleOneTap(props);
@@ -3678,6 +3693,17 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
3678
3693
  this.premountMethodCalls.set("signOut", callback);
3679
3694
  }
3680
3695
  };
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
+ };
3681
3707
  const { Clerk: Clerk2 = null, publishableKey } = options || {};
3682
3708
  __privateSet2(this, _publishableKey, publishableKey);
3683
3709
  __privateSet2(this, _proxyUrl, options == null ? void 0 : options.proxyUrl);
@@ -4221,7 +4247,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4221
4247
  var clerk;
4222
4248
  noRhc.Clerk.sdkMetadata = {
4223
4249
  name: "@clerk/chrome-extension",
4224
- version: "2.8.3-snapshot.v20251120173355"
4250
+ version: "2.8.3-snapshot.v20251120182959"
4225
4251
  };
4226
4252
  async function createClerkClient({
4227
4253
  __experimental_syncHostListener = false,