@clerk/react 6.0.0-snapshot.v20251203152900 → 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.mjs CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  normalizeWithDefaultValue,
35
35
  safeExecute,
36
36
  withMaxAllowedInstancesGuard
37
- } from "./chunk-EDVV4QQ6.mjs";
37
+ } from "./chunk-ZXC453V5.mjs";
38
38
  import {
39
39
  AuthContext,
40
40
  __experimental_CheckoutProvider,
@@ -585,7 +585,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
585
585
  }
586
586
  var SDK_METADATA = {
587
587
  name: "@clerk/react",
588
- version: "6.0.0-snapshot.v20251203152900",
588
+ version: "6.0.0-snapshot.v20251204143242",
589
589
  environment: process.env.NODE_ENV
590
590
  };
591
591
  var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
@@ -915,10 +915,10 @@ var _IsomorphicClerk = class _IsomorphicClerk {
915
915
  return this.loaded && this.clerkjs ? this.clerkjs.__experimental_checkout(...args) : __privateGet(this, _stateProxy).checkoutSignal(...args);
916
916
  };
917
917
  // TODO @userland-errors:
918
- this.__unstable__updateProps = async (props) => {
918
+ this.__internal_updateProps = async (props) => {
919
919
  const clerkjs = await __privateMethod(this, _IsomorphicClerk_instances, waitForClerkJS_fn).call(this);
920
- if (clerkjs && "__unstable__updateProps" in clerkjs) {
921
- return clerkjs.__unstable__updateProps(props);
920
+ if (clerkjs && "__internal_updateProps" in clerkjs) {
921
+ return clerkjs.__internal_updateProps(props);
922
922
  }
923
923
  };
924
924
  /**
@@ -1777,10 +1777,10 @@ var _IsomorphicClerk = class _IsomorphicClerk {
1777
1777
  domain: this.domain,
1778
1778
  nonce: this.options.nonce
1779
1779
  });
1780
- if (!global.__unstable_ClerkUiCtor) {
1780
+ if (!global.__internal_ClerkUiCtor) {
1781
1781
  throw new Error("Failed to download latest Clerk UI. Contact support@clerk.com.");
1782
1782
  }
1783
- return global.__unstable_ClerkUiCtor;
1783
+ return global.__internal_ClerkUiCtor;
1784
1784
  }
1785
1785
  get version() {
1786
1786
  var _a;
@@ -1821,9 +1821,9 @@ var _IsomorphicClerk = class _IsomorphicClerk {
1821
1821
  return void 0;
1822
1822
  }
1823
1823
  }
1824
- get __unstable__environment() {
1824
+ get __internal_environment() {
1825
1825
  if (this.clerkjs) {
1826
- return this.clerkjs.__unstable__environment;
1826
+ return this.clerkjs.__internal_environment;
1827
1827
  } else {
1828
1828
  return void 0;
1829
1829
  }
@@ -1846,9 +1846,9 @@ var _IsomorphicClerk = class _IsomorphicClerk {
1846
1846
  var _a;
1847
1847
  return (_a = this.clerkjs) == null ? void 0 : _a.apiKeys;
1848
1848
  }
1849
- __unstable__setEnvironment(...args) {
1850
- if (this.clerkjs && "__unstable__setEnvironment" in this.clerkjs) {
1851
- this.clerkjs.__unstable__setEnvironment(args);
1849
+ __internal_setEnvironment(...args) {
1850
+ if (this.clerkjs && "__internal_setEnvironment" in this.clerkjs) {
1851
+ this.clerkjs.__internal_setEnvironment(args);
1852
1852
  } else {
1853
1853
  return void 0;
1854
1854
  }
@@ -1945,10 +1945,10 @@ var useLoadedIsomorphicClerk = (options) => {
1945
1945
  const isomorphicClerkRef = React5.useRef(IsomorphicClerk.getOrCreateInstance(options));
1946
1946
  const [clerkStatus, setClerkStatus] = React5.useState(isomorphicClerkRef.current.status);
1947
1947
  React5.useEffect(() => {
1948
- void isomorphicClerkRef.current.__unstable__updateProps({ appearance: options.appearance });
1948
+ void isomorphicClerkRef.current.__internal_updateProps({ appearance: options.appearance });
1949
1949
  }, [options.appearance]);
1950
1950
  React5.useEffect(() => {
1951
- void isomorphicClerkRef.current.__unstable__updateProps({ options });
1951
+ void isomorphicClerkRef.current.__internal_updateProps({ options });
1952
1952
  }, [options.localization]);
1953
1953
  React5.useEffect(() => {
1954
1954
  isomorphicClerkRef.current.on("status", setClerkStatus);