@clerk/chrome-extension 3.0.0-snapshot.v20251215210631 → 3.0.0-snapshot.v20251216175437

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.
@@ -1085,40 +1085,6 @@ var createElementComponent = (type, isServer) => {
1085
1085
  createElementComponent("payment", typeof window === "undefined");
1086
1086
  createContextAndHook("PaymentElementContext");
1087
1087
  createContextAndHook("StripeUtilsContext");
1088
- var PortalRootManager = class {
1089
- constructor() {
1090
- __publicField(this, "stack", []);
1091
- }
1092
- /**
1093
- * Push a new portal root getter onto the stack.
1094
- * @param getContainer Function that returns the container element
1095
- */
1096
- push(getContainer) {
1097
- this.stack.push(getContainer);
1098
- }
1099
- /**
1100
- * Pop the most recent portal root from the stack.
1101
- */
1102
- pop() {
1103
- this.stack.pop();
1104
- }
1105
- /**
1106
- * Get the current (topmost) portal root container.
1107
- * @returns The container element or null if no provider is active
1108
- */
1109
- getCurrent() {
1110
- if (this.stack.length === 0) return null;
1111
- const getContainer = this.stack[this.stack.length - 1];
1112
- return getContainer();
1113
- }
1114
- };
1115
- var portalRootManager = new PortalRootManager();
1116
- var [PortalContext, , usePortalContextWithoutGuarantee] = createContextAndHook("PortalProvider");
1117
- var usePortalRoot = () => {
1118
- const contextValue = usePortalContextWithoutGuarantee();
1119
- if (contextValue && "getContainer" in contextValue && contextValue.getContainer) return contextValue.getContainer;
1120
- return portalRootManager.getCurrent.bind(portalRootManager);
1121
- };
1122
1088
 
1123
1089
  // ../react/dist/chunk-MB46WFKC.mjs
1124
1090
  var errorThrower = buildErrorThrower({ packageName: "@clerk/react" });
@@ -1158,14 +1124,12 @@ var withClerk = (Component, displayNameOrOptions) => {
1158
1124
  const HOC = (props) => {
1159
1125
  useAssertWrappedByClerkProvider2(displayName || "withClerk");
1160
1126
  const clerk2 = useIsomorphicClerkContext();
1161
- const getContainer = usePortalRoot();
1162
1127
  if (!clerk2.loaded && !(options == null ? void 0 : options.renderWhileLoading)) {
1163
1128
  return null;
1164
1129
  }
1165
1130
  return /* @__PURE__ */ React7__default.default.createElement(
1166
1131
  Component,
1167
1132
  {
1168
- getContainer,
1169
1133
  ...props,
1170
1134
  component: displayName,
1171
1135
  clerk: clerk2
@@ -2353,8 +2317,8 @@ function addClerkPrefix(str) {
2353
2317
  return `clerk.${str.replace(regex, "")}`;
2354
2318
  }
2355
2319
 
2356
- // ../shared/dist/runtime/versionSelector-lqQkdqJf.mjs
2357
- var versionSelector = (clerkJSVersion, packageVersion = "6.0.0-snapshot.v20251215210631") => {
2320
+ // ../shared/dist/runtime/versionSelector-Cau7K0AC.mjs
2321
+ var versionSelector = (clerkJSVersion, packageVersion = "3.0.0-snapshot.v20251216175437") => {
2358
2322
  if (clerkJSVersion) return clerkJSVersion;
2359
2323
  const prereleaseTag = getPrereleaseTag(packageVersion);
2360
2324
  if (prereleaseTag) {
@@ -2431,7 +2395,7 @@ var clerkUiScriptUrl = (opts) => {
2431
2395
  publishableKey,
2432
2396
  proxyUrl,
2433
2397
  domain
2434
- })}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-snapshot.v20251215210631")}/dist/ui.browser.js`;
2398
+ })}/npm/@clerk/ui@${versionSelector(clerkUiVersion, "1.0.0-snapshot.v20251216175437")}/dist/ui.browser.js`;
2435
2399
  };
2436
2400
  var buildClerkJsScriptAttributes = (options) => {
2437
2401
  const obj = {};
@@ -3077,7 +3041,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
3077
3041
  }
3078
3042
  var SDK_METADATA = {
3079
3043
  name: "@clerk/react",
3080
- version: "6.0.0-snapshot.v20251215210631",
3044
+ version: "6.0.0-snapshot.v20251216175437",
3081
3045
  environment: process.env.NODE_ENV
3082
3046
  };
3083
3047
  var _status;
@@ -4674,7 +4638,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4674
4638
  var clerk;
4675
4639
  noRhc.Clerk.sdkMetadata = {
4676
4640
  name: "@clerk/chrome-extension",
4677
- version: "3.0.0-snapshot.v20251215210631"
4641
+ version: "3.0.0-snapshot.v20251216175437"
4678
4642
  };
4679
4643
  function createClerkClient({
4680
4644
  __experimental_syncHostListener = false,