@clerk/chrome-extension 2.8.3-canary.v20251118164036 → 2.8.3-canary.v20251118165152

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.
@@ -429,7 +429,7 @@ var BrowserStorageCache = createBrowserStorageCache();
429
429
  var clerk;
430
430
  noRhc.Clerk.sdkMetadata = {
431
431
  name: "@clerk/chrome-extension",
432
- version: "2.8.3-canary.v20251118164036"
432
+ version: "2.8.3-canary.v20251118165152"
433
433
  };
434
434
  async function createClerkClient({
435
435
  __experimental_syncHostListener = false,
package/dist/cjs/index.js CHANGED
@@ -1823,6 +1823,21 @@ Possible fixes:
1823
1823
  Learn more: https://clerk.com/docs/components/clerk-provider`.trim());
1824
1824
  }
1825
1825
  }
1826
+ var USER_MEMBERSHIPS_KEY = "userMemberships";
1827
+ var USER_INVITATIONS_KEY = "userInvitations";
1828
+ var USER_SUGGESTIONS_KEY = "userSuggestions";
1829
+ var DOMAINS_KEY = "domains";
1830
+ var MEMBERSHIP_REQUESTS_KEY = "membershipRequests";
1831
+ var MEMBERSHIPS_KEY = "memberships";
1832
+ var INVITATIONS_KEY = "invitations";
1833
+ var STABLE_KEYS = {
1834
+ USER_MEMBERSHIPS_KEY,
1835
+ USER_INVITATIONS_KEY,
1836
+ USER_SUGGESTIONS_KEY,
1837
+ DOMAINS_KEY,
1838
+ MEMBERSHIP_REQUESTS_KEY,
1839
+ MEMBERSHIPS_KEY,
1840
+ INVITATIONS_KEY};
1826
1841
  function createCacheKeys(params) {
1827
1842
  return {
1828
1843
  queryKey: [
@@ -2070,7 +2085,7 @@ function useOrganization(params) {
2070
2085
  pageSize: domainSafeValues.pageSize
2071
2086
  },
2072
2087
  keys: createCacheKeys({
2073
- stablePrefix: "domains",
2088
+ stablePrefix: STABLE_KEYS.DOMAINS_KEY,
2074
2089
  authenticated: Boolean(organization),
2075
2090
  tracked: { organizationId: organization == null ? void 0 : organization.id },
2076
2091
  untracked: { args: domainParams }
@@ -2087,7 +2102,7 @@ function useOrganization(params) {
2087
2102
  pageSize: membershipRequestSafeValues.pageSize
2088
2103
  },
2089
2104
  keys: createCacheKeys({
2090
- stablePrefix: "membershipRequests",
2105
+ stablePrefix: STABLE_KEYS.MEMBERSHIP_REQUESTS_KEY,
2091
2106
  authenticated: Boolean(organization),
2092
2107
  tracked: { organizationId: organization == null ? void 0 : organization.id },
2093
2108
  untracked: { args: membershipRequestParams }
@@ -2104,7 +2119,7 @@ function useOrganization(params) {
2104
2119
  pageSize: membersSafeValues.pageSize
2105
2120
  },
2106
2121
  keys: createCacheKeys({
2107
- stablePrefix: "members",
2122
+ stablePrefix: STABLE_KEYS.MEMBERSHIPS_KEY,
2108
2123
  authenticated: Boolean(organization),
2109
2124
  tracked: { organizationId: organization == null ? void 0 : organization.id },
2110
2125
  untracked: { args: membersParams }
@@ -2121,7 +2136,7 @@ function useOrganization(params) {
2121
2136
  pageSize: invitationsSafeValues.pageSize
2122
2137
  },
2123
2138
  keys: createCacheKeys({
2124
- stablePrefix: "invitations",
2139
+ stablePrefix: STABLE_KEYS.INVITATIONS_KEY,
2125
2140
  authenticated: Boolean(organization),
2126
2141
  tracked: { organizationId: organization == null ? void 0 : organization.id },
2127
2142
  untracked: { args: invitationsParams }
@@ -2234,7 +2249,7 @@ function useOrganizationList(params) {
2234
2249
  pageSize: userMembershipsSafeValues.pageSize
2235
2250
  },
2236
2251
  keys: createCacheKeys({
2237
- stablePrefix: "userMemberships",
2252
+ stablePrefix: STABLE_KEYS.USER_MEMBERSHIPS_KEY,
2238
2253
  authenticated: Boolean(user),
2239
2254
  tracked: { userId: user == null ? void 0 : user.id },
2240
2255
  untracked: { args: userMembershipsParams }
@@ -2251,7 +2266,7 @@ function useOrganizationList(params) {
2251
2266
  pageSize: userInvitationsSafeValues.pageSize
2252
2267
  },
2253
2268
  keys: createCacheKeys({
2254
- stablePrefix: "userInvitations",
2269
+ stablePrefix: STABLE_KEYS.USER_INVITATIONS_KEY,
2255
2270
  authenticated: Boolean(user),
2256
2271
  tracked: { userId: user == null ? void 0 : user.id },
2257
2272
  untracked: { args: userInvitationsParams }
@@ -2268,7 +2283,7 @@ function useOrganizationList(params) {
2268
2283
  pageSize: userSuggestionsSafeValues.pageSize
2269
2284
  },
2270
2285
  keys: createCacheKeys({
2271
- stablePrefix: "userSuggestions",
2286
+ stablePrefix: STABLE_KEYS.USER_SUGGESTIONS_KEY,
2272
2287
  authenticated: Boolean(user),
2273
2288
  tracked: { userId: user == null ? void 0 : user.id },
2274
2289
  untracked: { args: userSuggestionsParams }
@@ -4399,7 +4414,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
4399
4414
  }
4400
4415
  var SDK_METADATA = {
4401
4416
  name: "@clerk/clerk-react",
4402
- version: "5.56.1-canary.v20251118164036",
4417
+ version: "5.56.1-canary.v20251118165152",
4403
4418
  environment: process.env.NODE_ENV
4404
4419
  };
4405
4420
  var _status;
@@ -5943,7 +5958,7 @@ var BrowserStorageCache = createBrowserStorageCache();
5943
5958
  var clerk;
5944
5959
  noRhc.Clerk.sdkMetadata = {
5945
5960
  name: "@clerk/chrome-extension",
5946
- version: "2.8.3-canary.v20251118164036"
5961
+ version: "2.8.3-canary.v20251118165152"
5947
5962
  };
5948
5963
  async function createClerkClient({
5949
5964
  __experimental_syncHostListener = false,