@clerk/chrome-extension 3.0.0-snapshot.v20251215203425 → 3.0.0-snapshot.v20251215212157

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-B2PPV3NX.js';
1
+ import { createClerkClient, SCOPE } from '../chunk-GJLUFKQM.js';
2
2
 
3
3
  // src/background/clerk.ts
4
4
  async function createClerkClient2(opts) {
@@ -1,4 +1,4 @@
1
- import { __export, buildErrorThrower, createDevOrStagingUrlCache, __publicField, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-B2PPV3NX.js';
1
+ import { __export, buildErrorThrower, createDevOrStagingUrlCache, ClerkRuntimeError, parsePublishableKey, createClerkClient, isClerkAPIResponseError } from './chunk-GJLUFKQM.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';
@@ -2377,39 +2377,11 @@ var createElementComponent = (type, isServer) => {
2377
2377
  createElementComponent("payment", typeof window === "undefined");
2378
2378
  createContextAndHook("PaymentElementContext");
2379
2379
  createContextAndHook("StripeUtilsContext");
2380
- var PortalRootManager = class {
2381
- constructor() {
2382
- __publicField(this, "stack", []);
2383
- }
2384
- /**
2385
- * Push a new portal root getter onto the stack.
2386
- * @param getContainer Function that returns the container element
2387
- */
2388
- push(getContainer) {
2389
- this.stack.push(getContainer);
2390
- }
2391
- /**
2392
- * Pop the most recent portal root from the stack.
2393
- */
2394
- pop() {
2395
- this.stack.pop();
2396
- }
2397
- /**
2398
- * Get the current (topmost) portal root container.
2399
- * @returns The container element or null if no provider is active
2400
- */
2401
- getCurrent() {
2402
- if (this.stack.length === 0) return null;
2403
- const getContainer = this.stack[this.stack.length - 1];
2404
- return getContainer();
2405
- }
2406
- };
2407
- var portalRootManager = new PortalRootManager();
2408
2380
  var [PortalContext, , usePortalContextWithoutGuarantee] = createContextAndHook("PortalProvider");
2409
2381
  var usePortalRoot = () => {
2410
2382
  const contextValue = usePortalContextWithoutGuarantee();
2411
2383
  if (contextValue && "getContainer" in contextValue && contextValue.getContainer) return contextValue.getContainer;
2412
- return portalRootManager.getCurrent.bind(portalRootManager);
2384
+ return () => null;
2413
2385
  };
2414
2386
 
2415
2387
  // ../react/dist/chunk-MB46WFKC.mjs
@@ -3868,8 +3840,8 @@ function addClerkPrefix(str) {
3868
3840
  return `clerk.${str.replace(regex, "")}`;
3869
3841
  }
3870
3842
 
3871
- // ../shared/dist/runtime/versionSelector-CxJwijym.mjs
3872
- var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-snapshot.v20251215203425") => {
3843
+ // ../shared/dist/runtime/versionSelector-DQ_xKgnp.mjs
3844
+ var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-snapshot.v20251215212157") => {
3873
3845
  if (clerkJSVersion) return clerkJSVersion;
3874
3846
  const prereleaseTag = getPrereleaseTag(packageVersion);
3875
3847
  if (prereleaseTag) {
@@ -3946,7 +3918,7 @@ var clerkUiScriptUrl = (opts) => {
3946
3918
  publishableKey,
3947
3919
  proxyUrl,
3948
3920
  domain
3949
- })}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-snapshot.v20251215203425")}/dist/ui.browser.js`;
3921
+ })}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-snapshot.v20251215212157")}/dist/ui.browser.js`;
3950
3922
  };
3951
3923
  var buildClerkJsScriptAttributes = (options) => {
3952
3924
  const obj = {};
@@ -4592,7 +4564,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
4592
4564
  }
4593
4565
  var SDK_METADATA = {
4594
4566
  name: "@clerk/react",
4595
- version: "6.0.0-snapshot.v20251215203425",
4567
+ version: "6.0.0-snapshot.v20251215212157",
4596
4568
  environment: process.env.NODE_ENV
4597
4569
  };
4598
4570
  var _status;
@@ -6015,5 +5987,5 @@ function ClerkProvider2(props) {
6015
5987
  var GoogleOneTap2 = () => null;
6016
5988
 
6017
5989
  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 };
6018
- //# sourceMappingURL=chunk-M7LX4E2J.js.map
6019
- //# sourceMappingURL=chunk-M7LX4E2J.js.map
5990
+ //# sourceMappingURL=chunk-CEFVJQBW.js.map
5991
+ //# sourceMappingURL=chunk-CEFVJQBW.js.map