@clerk/chrome-extension 3.0.0-canary-core3.v20251207222610 → 3.0.0-canary-core3.v20251208151723

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.
@@ -1,4 +1,4 @@
1
- import { createClerkClient, SCOPE } from '../chunk-NFFDF5XO.js';
1
+ import { createClerkClient, SCOPE } from '../chunk-ZZ7CFANB.js';
2
2
 
3
3
  // src/background/clerk.ts
4
4
  async function createClerkClient2(opts) {
@@ -1,4 +1,4 @@
1
- import { __export, buildErrorThrower, createDevOrStagingUrlCache, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-NFFDF5XO.js';
1
+ import { __export, buildErrorThrower, createDevOrStagingUrlCache, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-ZZ7CFANB.js';
2
2
  import React7, { createContext, useContext, useState, useRef, useEffect, createElement, useCallback, useMemo, useSyncExternalStore, useLayoutEffect, useDebugValue } from 'react';
3
3
  import { useSyncExternalStore as useSyncExternalStore$1 } from 'use-sync-external-store/shim/index.js';
4
4
  import { createPortal } from 'react-dom';
@@ -214,7 +214,7 @@ function eventMethodCalled(method, payload) {
214
214
  };
215
215
  }
216
216
 
217
- // ../shared/dist/runtime/createDeferredPromise-DjiBNELG.mjs
217
+ // ../shared/dist/runtime/createDeferredPromise-z5ogj29d.mjs
218
218
  var createDeferredPromise = () => {
219
219
  let resolve = noop;
220
220
  let reject = noop;
@@ -2828,7 +2828,7 @@ var isThatComponent = (v, component) => {
2828
2828
  return !!v && React7.isValidElement(v) && (v == null ? void 0 : v.type) === component;
2829
2829
  };
2830
2830
  var useUserProfileCustomPages = (children, options) => {
2831
- const reorderItemsLabels = ["account", "security"];
2831
+ const reorderItemsLabels = ["account", "security", "billing", "apiKeys"];
2832
2832
  return useCustomPages(
2833
2833
  {
2834
2834
  children,
@@ -2842,7 +2842,7 @@ var useUserProfileCustomPages = (children, options) => {
2842
2842
  );
2843
2843
  };
2844
2844
  var useOrganizationProfileCustomPages = (children, options) => {
2845
- const reorderItemsLabels = ["general", "members"];
2845
+ const reorderItemsLabels = ["general", "members", "billing", "apiKeys"];
2846
2846
  return useCustomPages(
2847
2847
  {
2848
2848
  children,
@@ -3690,6 +3690,27 @@ withClerk(
3690
3690
  },
3691
3691
  { component: "TaskChooseOrganization", renderWhileLoading: true }
3692
3692
  );
3693
+ withClerk(
3694
+ ({ clerk, component, fallback, ...props }) => {
3695
+ const mountingStatus = useWaitForComponentMount(component);
3696
+ const shouldShowFallback = mountingStatus === "rendering" || !clerk.loaded;
3697
+ const rendererRootProps = {
3698
+ ...shouldShowFallback && fallback && { style: { display: "none" } }
3699
+ };
3700
+ return /* @__PURE__ */ React7.createElement(React7.Fragment, null, shouldShowFallback && fallback, clerk.loaded && /* @__PURE__ */ React7.createElement(
3701
+ ClerkHostRenderer,
3702
+ {
3703
+ component,
3704
+ mount: clerk.mountTaskResetPassword,
3705
+ unmount: clerk.unmountTaskResetPassword,
3706
+ updateProps: clerk.__internal_updateProps,
3707
+ props,
3708
+ rootProps: rendererRootProps
3709
+ }
3710
+ ));
3711
+ },
3712
+ { component: "TaskResetPassword", renderWhileLoading: true }
3713
+ );
3693
3714
 
3694
3715
  // ../react/dist/chunk-OANWQR3B.mjs
3695
3716
  var __typeError = (msg) => {
@@ -3811,12 +3832,12 @@ function addClerkPrefix(str) {
3811
3832
  return `clerk.${str.replace(regex, "")}`;
3812
3833
  }
3813
3834
 
3814
- // ../shared/dist/runtime/versionSelector-DKYWp1_6.mjs
3815
- var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-canary-core3.v20251207222610") => {
3835
+ // ../shared/dist/runtime/versionSelector-B8lpqZeL.mjs
3836
+ var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-canary-core3.v20251208151723") => {
3816
3837
  if (clerkJSVersion) return clerkJSVersion;
3817
3838
  const prereleaseTag = getPrereleaseTag(packageVersion);
3818
3839
  if (prereleaseTag) {
3819
- if (prereleaseTag === "snapshot") return "6.0.0-canary-core3.v20251207222610";
3840
+ if (prereleaseTag === "snapshot") return "6.0.0-canary-core3.v20251208151723";
3820
3841
  return prereleaseTag;
3821
3842
  }
3822
3843
  return getMajorVersion(packageVersion);
@@ -4535,7 +4556,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
4535
4556
  }
4536
4557
  var SDK_METADATA = {
4537
4558
  name: "@clerk/react",
4538
- version: "6.0.0-canary-core3.v20251207222610",
4559
+ version: "6.0.0-canary-core3.v20251208151723",
4539
4560
  environment: process.env.NODE_ENV
4540
4561
  };
4541
4562
  var _status;
@@ -4578,6 +4599,7 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
4578
4599
  this.premountAPIKeysNodes = /* @__PURE__ */ new Map();
4579
4600
  this.premountOAuthConsentNodes = /* @__PURE__ */ new Map();
4580
4601
  this.premountTaskChooseOrganizationNodes = /* @__PURE__ */ new Map();
4602
+ this.premountTaskResetPasswordNodes = /* @__PURE__ */ new Map();
4581
4603
  this.premountAddListenerCalls = /* @__PURE__ */ new Map();
4582
4604
  this.loadedListeners = [];
4583
4605
  __privateAdd2(this, _status, "loading");
@@ -4856,6 +4878,9 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
4856
4878
  this.premountTaskChooseOrganizationNodes.forEach((props, node) => {
4857
4879
  clerkjs.mountTaskChooseOrganization(node, props);
4858
4880
  });
4881
+ this.premountTaskResetPasswordNodes.forEach((props, node) => {
4882
+ clerkjs.mountTaskResetPassword(node, props);
4883
+ });
4859
4884
  if (typeof this.clerkjs.status === "undefined") {
4860
4885
  __privateGet2(this, _eventBus).emit(clerkEvents.Status, "ready");
4861
4886
  }
@@ -5253,6 +5278,20 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
5253
5278
  this.premountTaskChooseOrganizationNodes.delete(node);
5254
5279
  }
5255
5280
  };
5281
+ this.mountTaskResetPassword = (node, props) => {
5282
+ if (this.clerkjs && this.loaded) {
5283
+ this.clerkjs.mountTaskResetPassword(node, props);
5284
+ } else {
5285
+ this.premountTaskResetPasswordNodes.set(node, props);
5286
+ }
5287
+ };
5288
+ this.unmountTaskResetPassword = (node) => {
5289
+ if (this.clerkjs && this.loaded) {
5290
+ this.clerkjs.unmountTaskResetPassword(node);
5291
+ } else {
5292
+ this.premountTaskResetPasswordNodes.delete(node);
5293
+ }
5294
+ };
5256
5295
  this.addListener = (listener) => {
5257
5296
  if (this.clerkjs) {
5258
5297
  return this.clerkjs.addListener(listener);
@@ -5940,5 +5979,5 @@ function ClerkProvider2(props) {
5940
5979
  var GoogleOneTap2 = () => null;
5941
5980
 
5942
5981
  export { APIKeys, AuthenticateWithRedirectCallback, ClerkDegraded, ClerkFailed, ClerkLoaded, ClerkLoading, ClerkProvider2 as ClerkProvider, CreateOrganization, GoogleOneTap2 as GoogleOneTap, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, Protect, RedirectToCreateOrganization, RedirectToOrganizationProfile, RedirectToSignIn, RedirectToSignUp, RedirectToUserProfile, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, SignedIn, SignedOut, UserAvatar, UserButton, UserProfile, Waitlist, setErrorThrowerOptions, useAuth, useClerk, useEmailLink, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useSignIn, useSignUp, useUser };
5943
- //# sourceMappingURL=chunk-N5WBL4VX.js.map
5944
- //# sourceMappingURL=chunk-N5WBL4VX.js.map
5982
+ //# sourceMappingURL=chunk-7GHJHJIR.js.map
5983
+ //# sourceMappingURL=chunk-7GHJHJIR.js.map