@clerk/react 6.0.0-snapshot.v20251203203405 → 6.0.0-snapshot.v20251204143242

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/index.js CHANGED
@@ -707,7 +707,7 @@ var SignIn = withClerk(
707
707
  component,
708
708
  mount: clerk.mountSignIn,
709
709
  unmount: clerk.unmountSignIn,
710
- updateProps: clerk.__unstable__updateProps,
710
+ updateProps: clerk.__internal_updateProps,
711
711
  props,
712
712
  rootProps: rendererRootProps
713
713
  }
@@ -728,7 +728,7 @@ var SignUp = withClerk(
728
728
  component,
729
729
  mount: clerk.mountSignUp,
730
730
  unmount: clerk.unmountSignUp,
731
- updateProps: clerk.__unstable__updateProps,
731
+ updateProps: clerk.__internal_updateProps,
732
732
  props,
733
733
  rootProps: rendererRootProps
734
734
  }
@@ -763,7 +763,7 @@ var _UserProfile = withClerk(
763
763
  component,
764
764
  mount: clerk.mountUserProfile,
765
765
  unmount: clerk.unmountUserProfile,
766
- updateProps: clerk.__unstable__updateProps,
766
+ updateProps: clerk.__internal_updateProps,
767
767
  props: { ...props, customPages },
768
768
  rootProps: rendererRootProps
769
769
  },
@@ -807,7 +807,7 @@ var _UserButton = withClerk(
807
807
  const passableProps = {
808
808
  mount: clerk.mountUserButton,
809
809
  unmount: clerk.unmountUserButton,
810
- updateProps: clerk.__unstable__updateProps,
810
+ updateProps: clerk.__internal_updateProps,
811
811
  props: { ...props, userProfileProps, customMenuItems }
812
812
  };
813
813
  const portalProps = {
@@ -886,7 +886,7 @@ var _OrganizationProfile = withClerk(
886
886
  component,
887
887
  mount: clerk.mountOrganizationProfile,
888
888
  unmount: clerk.unmountOrganizationProfile,
889
- updateProps: clerk.__unstable__updateProps,
889
+ updateProps: clerk.__internal_updateProps,
890
890
  props: { ...props, customPages },
891
891
  rootProps: rendererRootProps
892
892
  },
@@ -912,7 +912,7 @@ var CreateOrganization = withClerk(
912
912
  component,
913
913
  mount: clerk.mountCreateOrganization,
914
914
  unmount: clerk.unmountCreateOrganization,
915
- updateProps: clerk.__unstable__updateProps,
915
+ updateProps: clerk.__internal_updateProps,
916
916
  props,
917
917
  rootProps: rendererRootProps
918
918
  }
@@ -948,7 +948,7 @@ var _OrganizationSwitcher = withClerk(
948
948
  const passableProps = {
949
949
  mount: clerk.mountOrganizationSwitcher,
950
950
  unmount: clerk.unmountOrganizationSwitcher,
951
- updateProps: clerk.__unstable__updateProps,
951
+ updateProps: clerk.__internal_updateProps,
952
952
  props: { ...props, organizationProfileProps },
953
953
  rootProps: rendererRootProps,
954
954
  component
@@ -995,7 +995,7 @@ var OrganizationList = withClerk(
995
995
  component,
996
996
  mount: clerk.mountOrganizationList,
997
997
  unmount: clerk.unmountOrganizationList,
998
- updateProps: clerk.__unstable__updateProps,
998
+ updateProps: clerk.__internal_updateProps,
999
999
  props,
1000
1000
  rootProps: rendererRootProps
1001
1001
  }
@@ -1016,7 +1016,7 @@ var GoogleOneTap = withClerk(
1016
1016
  component,
1017
1017
  open: clerk.openGoogleOneTap,
1018
1018
  close: clerk.closeGoogleOneTap,
1019
- updateProps: clerk.__unstable__updateProps,
1019
+ updateProps: clerk.__internal_updateProps,
1020
1020
  props,
1021
1021
  rootProps: rendererRootProps
1022
1022
  }
@@ -1037,7 +1037,7 @@ var Waitlist = withClerk(
1037
1037
  component,
1038
1038
  mount: clerk.mountWaitlist,
1039
1039
  unmount: clerk.unmountWaitlist,
1040
- updateProps: clerk.__unstable__updateProps,
1040
+ updateProps: clerk.__internal_updateProps,
1041
1041
  props,
1042
1042
  rootProps: rendererRootProps
1043
1043
  }
@@ -1061,7 +1061,7 @@ var PricingTable = withClerk(
1061
1061
  component,
1062
1062
  mount: clerk.mountPricingTable,
1063
1063
  unmount: clerk.unmountPricingTable,
1064
- updateProps: clerk.__unstable__updateProps,
1064
+ updateProps: clerk.__internal_updateProps,
1065
1065
  props,
1066
1066
  rootProps: rendererRootProps
1067
1067
  }
@@ -1082,7 +1082,7 @@ var APIKeys = withClerk(
1082
1082
  component,
1083
1083
  mount: clerk.mountAPIKeys,
1084
1084
  unmount: clerk.unmountAPIKeys,
1085
- updateProps: clerk.__unstable__updateProps,
1085
+ updateProps: clerk.__internal_updateProps,
1086
1086
  props,
1087
1087
  rootProps: rendererRootProps
1088
1088
  }
@@ -1103,7 +1103,7 @@ var UserAvatar = withClerk(
1103
1103
  component,
1104
1104
  mount: clerk.mountUserAvatar,
1105
1105
  unmount: clerk.unmountUserAvatar,
1106
- updateProps: clerk.__unstable__updateProps,
1106
+ updateProps: clerk.__internal_updateProps,
1107
1107
  props,
1108
1108
  rootProps: rendererRootProps
1109
1109
  }
@@ -1124,7 +1124,7 @@ var TaskChooseOrganization = withClerk(
1124
1124
  component,
1125
1125
  mount: clerk.mountTaskChooseOrganization,
1126
1126
  unmount: clerk.unmountTaskChooseOrganization,
1127
- updateProps: clerk.__unstable__updateProps,
1127
+ updateProps: clerk.__internal_updateProps,
1128
1128
  props,
1129
1129
  rootProps: rendererRootProps
1130
1130
  }
@@ -1946,7 +1946,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
1946
1946
  }
1947
1947
  var SDK_METADATA = {
1948
1948
  name: "@clerk/react",
1949
- version: "6.0.0-snapshot.v20251203203405",
1949
+ version: "6.0.0-snapshot.v20251204143242",
1950
1950
  environment: process.env.NODE_ENV
1951
1951
  };
1952
1952
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
@@ -2276,10 +2276,10 @@ var _IsomorphicClerk = class _IsomorphicClerk {
2276
2276
  return this.loaded && this.clerkjs ? this.clerkjs.__experimental_checkout(...args) : __privateGet(this, _stateProxy).checkoutSignal(...args);
2277
2277
  };
2278
2278
  // TODO @userland-errors:
2279
- this.__unstable__updateProps = async (props) => {
2279
+ this.__internal_updateProps = async (props) => {
2280
2280
  const clerkjs = await __privateMethod(this, _IsomorphicClerk_instances, waitForClerkJS_fn).call(this);
2281
- if (clerkjs && "__unstable__updateProps" in clerkjs) {
2282
- return clerkjs.__unstable__updateProps(props);
2281
+ if (clerkjs && "__internal_updateProps" in clerkjs) {
2282
+ return clerkjs.__internal_updateProps(props);
2283
2283
  }
2284
2284
  };
2285
2285
  /**
@@ -3138,10 +3138,10 @@ var _IsomorphicClerk = class _IsomorphicClerk {
3138
3138
  domain: this.domain,
3139
3139
  nonce: this.options.nonce
3140
3140
  });
3141
- if (!global.__unstable_ClerkUiCtor) {
3141
+ if (!global.__internal_ClerkUiCtor) {
3142
3142
  throw new Error("Failed to download latest Clerk UI. Contact support@clerk.com.");
3143
3143
  }
3144
- return global.__unstable_ClerkUiCtor;
3144
+ return global.__internal_ClerkUiCtor;
3145
3145
  }
3146
3146
  get version() {
3147
3147
  var _a;
@@ -3182,9 +3182,9 @@ var _IsomorphicClerk = class _IsomorphicClerk {
3182
3182
  return void 0;
3183
3183
  }
3184
3184
  }
3185
- get __unstable__environment() {
3185
+ get __internal_environment() {
3186
3186
  if (this.clerkjs) {
3187
- return this.clerkjs.__unstable__environment;
3187
+ return this.clerkjs.__internal_environment;
3188
3188
  } else {
3189
3189
  return void 0;
3190
3190
  }
@@ -3207,9 +3207,9 @@ var _IsomorphicClerk = class _IsomorphicClerk {
3207
3207
  var _a;
3208
3208
  return (_a = this.clerkjs) == null ? void 0 : _a.apiKeys;
3209
3209
  }
3210
- __unstable__setEnvironment(...args) {
3211
- if (this.clerkjs && "__unstable__setEnvironment" in this.clerkjs) {
3212
- this.clerkjs.__unstable__setEnvironment(args);
3210
+ __internal_setEnvironment(...args) {
3211
+ if (this.clerkjs && "__internal_setEnvironment" in this.clerkjs) {
3212
+ this.clerkjs.__internal_setEnvironment(args);
3213
3213
  } else {
3214
3214
  return void 0;
3215
3215
  }
@@ -3306,10 +3306,10 @@ var useLoadedIsomorphicClerk = (options) => {
3306
3306
  const isomorphicClerkRef = import_react26.default.useRef(IsomorphicClerk.getOrCreateInstance(options));
3307
3307
  const [clerkStatus, setClerkStatus] = import_react26.default.useState(isomorphicClerkRef.current.status);
3308
3308
  import_react26.default.useEffect(() => {
3309
- void isomorphicClerkRef.current.__unstable__updateProps({ appearance: options.appearance });
3309
+ void isomorphicClerkRef.current.__internal_updateProps({ appearance: options.appearance });
3310
3310
  }, [options.appearance]);
3311
3311
  import_react26.default.useEffect(() => {
3312
- void isomorphicClerkRef.current.__unstable__updateProps({ options });
3312
+ void isomorphicClerkRef.current.__internal_updateProps({ options });
3313
3313
  }, [options.localization]);
3314
3314
  import_react26.default.useEffect(() => {
3315
3315
  isomorphicClerkRef.current.on("status", setClerkStatus);