@clerk/chrome-extension 2.8.6 → 2.8.7-snapshot.v20251125180024

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.
@@ -844,7 +844,7 @@ function dequal2(foo, bar) {
844
844
  return foo !== foo && bar !== bar;
845
845
  }
846
846
 
847
- // ../shared/dist/runtime/organization-DsA9O7QJ.mjs
847
+ // ../shared/dist/runtime/organization-DHjBGBxW.mjs
848
848
  function assertContextExists(contextVal, msgOrCtx) {
849
849
  if (!contextVal) throw typeof msgOrCtx === "string" ? new Error(msgOrCtx) : /* @__PURE__ */ new Error(`${msgOrCtx.displayName} not found`);
850
850
  }
@@ -1058,6 +1058,35 @@ var createElementComponent = (type, isServer) => {
1058
1058
  createElementComponent("payment", typeof window === "undefined");
1059
1059
  createContextAndHook("PaymentElementContext");
1060
1060
  createContextAndHook("StripeUtilsContext");
1061
+ var PortalRootManager = class {
1062
+ constructor() {
1063
+ __publicField(this, "stack", []);
1064
+ }
1065
+ /**
1066
+ * Push a new portal root getter onto the stack.
1067
+ * @param getContainer Function that returns the container element
1068
+ */
1069
+ push(getContainer) {
1070
+ this.stack.push(getContainer);
1071
+ }
1072
+ /**
1073
+ * Pop the most recent portal root from the stack.
1074
+ */
1075
+ pop() {
1076
+ this.stack.pop();
1077
+ }
1078
+ /**
1079
+ * Get the current (topmost) portal root container.
1080
+ * @returns The container element or null if no provider is active
1081
+ */
1082
+ getCurrent() {
1083
+ if (this.stack.length === 0) return null;
1084
+ const getContainer = this.stack[this.stack.length - 1];
1085
+ return getContainer();
1086
+ }
1087
+ };
1088
+ new PortalRootManager();
1089
+ createContextAndHook("PortalProvider");
1061
1090
  var errorThrower = buildErrorThrower({ packageName: "@clerk/clerk-react" });
1062
1091
  function setErrorThrowerOptions(options) {
1063
1092
  errorThrower.setMessages(options).setPackageName(options);
@@ -2676,7 +2705,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
2676
2705
  }
2677
2706
  var SDK_METADATA = {
2678
2707
  name: "@clerk/clerk-react",
2679
- version: "5.57.0",
2708
+ version: "5.57.1-snapshot.v20251125180024",
2680
2709
  environment: process.env.NODE_ENV
2681
2710
  };
2682
2711
  var _status;
@@ -4249,7 +4278,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4249
4278
  var clerk;
4250
4279
  noRhc.Clerk.sdkMetadata = {
4251
4280
  name: "@clerk/chrome-extension",
4252
- version: "2.8.6"
4281
+ version: "2.8.7-snapshot.v20251125180024"
4253
4282
  };
4254
4283
  async function createClerkClient({
4255
4284
  __experimental_syncHostListener = false,