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

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-DHjBGBxW.mjs
847
+ // ../shared/dist/runtime/organization-BaT3MVo3.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,35 +1058,6 @@ 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");
1090
1061
  var errorThrower = buildErrorThrower({ packageName: "@clerk/clerk-react" });
1091
1062
  function setErrorThrowerOptions(options) {
1092
1063
  errorThrower.setMessages(options).setPackageName(options);
@@ -1844,7 +1815,7 @@ var _UserButton = withClerk(
1844
1815
  const { customPages, customPagesPortals } = useUserProfileCustomPages(props.children, {
1845
1816
  allowForAnyChildren: !!props.__experimental_asProvider
1846
1817
  });
1847
- const userProfileProps = Object.assign(props.userProfileProps || {}, { customPages });
1818
+ const userProfileProps = { ...props.userProfileProps, customPages };
1848
1819
  const { customMenuItems, customMenuItemsPortals } = useUserButtonCustomMenuItems(props.children, {
1849
1820
  allowForAnyChildren: !!props.__experimental_asProvider
1850
1821
  });
@@ -1988,7 +1959,7 @@ var _OrganizationSwitcher = withClerk(
1988
1959
  const { customPages, customPagesPortals } = useOrganizationProfileCustomPages(props.children, {
1989
1960
  allowForAnyChildren: !!props.__experimental_asProvider
1990
1961
  });
1991
- const organizationProfileProps = Object.assign(props.organizationProfileProps || {}, { customPages });
1962
+ const organizationProfileProps = { ...props.organizationProfileProps, customPages };
1992
1963
  const sanitizedChildren = useSanitizedChildren(props.children);
1993
1964
  const passableProps = {
1994
1965
  mount: clerk2.mountOrganizationSwitcher,
@@ -2705,7 +2676,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
2705
2676
  }
2706
2677
  var SDK_METADATA = {
2707
2678
  name: "@clerk/clerk-react",
2708
- version: "5.57.1-snapshot.v20251125180024",
2679
+ version: "5.58.0-snapshot.v20251127123052",
2709
2680
  environment: process.env.NODE_ENV
2710
2681
  };
2711
2682
  var _status;
@@ -2877,10 +2848,10 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
2877
2848
  this.premountMethodCalls.set("buildWaitlistUrl", callback);
2878
2849
  }
2879
2850
  };
2880
- this.buildTasksUrl = () => {
2851
+ this.buildTasksUrl = (opts) => {
2881
2852
  const callback = () => {
2882
2853
  var _a5;
2883
- return ((_a5 = this.clerkjs) == null ? void 0 : _a5.buildTasksUrl()) || "";
2854
+ return ((_a5 = this.clerkjs) == null ? void 0 : _a5.buildTasksUrl(opts)) || "";
2884
2855
  };
2885
2856
  if (this.clerkjs && this.loaded) {
2886
2857
  return callback();
@@ -4278,7 +4249,7 @@ var BrowserStorageCache = createBrowserStorageCache();
4278
4249
  var clerk;
4279
4250
  noRhc.Clerk.sdkMetadata = {
4280
4251
  name: "@clerk/chrome-extension",
4281
- version: "2.8.7-snapshot.v20251125180024"
4252
+ version: "2.8.7-snapshot.v20251127123052"
4282
4253
  };
4283
4254
  async function createClerkClient({
4284
4255
  __experimental_syncHostListener = false,