@clerk/chrome-extension 2.7.2-canary.v20250930214222 → 2.7.2-canary.v20251001113445

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.
@@ -111,7 +111,7 @@ var CLIENT_UAT_KEY = "__clerk_uat";
111
111
  var DEFAULT_LOCAL_HOST_PERMISSION = "http://localhost";
112
112
  var STORAGE_KEY_CLIENT_JWT = "__clerk_client_jwt";
113
113
 
114
- // ../shared/dist/chunk-3POI5HNC.mjs
114
+ // ../shared/dist/chunk-GSZMPWPY.mjs
115
115
  var DefaultMessages = Object.freeze({
116
116
  InvalidProxyUrlErrorMessage: `The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})`,
117
117
  InvalidPublishableKeyErrorMessage: `The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})`,
@@ -350,7 +350,7 @@ var BrowserStorageCache = createBrowserStorageCache();
350
350
  var clerk;
351
351
  noRhc.Clerk.sdkMetadata = {
352
352
  name: "@clerk/chrome-extension",
353
- version: "2.7.2-canary.v20250930214222"
353
+ version: "2.7.2-canary.v20251001113445"
354
354
  };
355
355
  async function createClerkClient({
356
356
  __experimental_syncHostListener = false,
package/dist/cjs/index.js CHANGED
@@ -13,12 +13,14 @@ var React72__default = /*#__PURE__*/_interopDefault(React72);
13
13
  var browser__default = /*#__PURE__*/_interopDefault(browser);
14
14
 
15
15
  var __defProp = Object.defineProperty;
16
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16
17
  var __export = (target, all) => {
17
18
  for (var name in all)
18
19
  __defProp(target, name, { get: all[name], enumerable: true });
19
20
  };
21
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
20
22
 
21
- // ../shared/dist/chunk-3POI5HNC.mjs
23
+ // ../shared/dist/chunk-GSZMPWPY.mjs
22
24
  var DefaultMessages = Object.freeze({
23
25
  InvalidProxyUrlErrorMessage: `The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})`,
24
26
  InvalidPublishableKeyErrorMessage: `The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})`,
@@ -85,10 +87,28 @@ var ClerkRuntimeError = class _ClerkRuntimeError extends Error {
85
87
  (code="${code}")
86
88
  `;
87
89
  super(_message);
88
- this.toString = () => {
90
+ __publicField(this, "clerkRuntimeError");
91
+ /**
92
+ * The error message in english, it contains a detailed description of the error.
93
+ */
94
+ __publicField(this, "message");
95
+ /**
96
+ * A unique code identifying the error, can be used for localization.
97
+ */
98
+ __publicField(this, "code");
99
+ /**
100
+ * The original error that was caught to throw an instance of ClerkRuntimeError.
101
+ */
102
+ __publicField(this, "cause");
103
+ /**
104
+ * Returns a string representation of the error.
105
+ *
106
+ * @returns A formatted string with the error name and message.
107
+ */
108
+ __publicField(this, "toString", () => {
89
109
  return `[${this.name}]
90
110
  Message:${this.message}`;
91
- };
111
+ });
92
112
  Object.setPrototypeOf(this, _ClerkRuntimeError.prototype);
93
113
  this.cause = cause;
94
114
  this.code = code;
@@ -101,7 +121,7 @@ function isClerkAPIResponseError(err) {
101
121
  return err && "clerkError" in err;
102
122
  }
103
123
 
104
- // ../shared/dist/chunk-7ELT755Q.mjs
124
+ // ../shared/dist/chunk-IEP6GGEX.mjs
105
125
  var __defProp2 = Object.defineProperty;
106
126
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
107
127
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -423,6 +443,8 @@ function isPublishableKey(key = "") {
423
443
  return false;
424
444
  }
425
445
  }
446
+
447
+ // ../shared/dist/chunk-H74IUW27.mjs
426
448
  var EVENT_METHOD_CALLED = "METHOD_CALLED";
427
449
  var EVENT_SAMPLING_RATE2 = 0.1;
428
450
  function eventMethodCalled(method, payload) {
@@ -1011,8 +1033,8 @@ var BUILT_IN_MIDDLEWARE = use.concat(middleware);
1011
1033
  var withArgs = (hook) => {
1012
1034
  return function useSWRArgs(...args) {
1013
1035
  const fallbackConfig = useSWRConfig();
1014
- const [key, fn, _config2] = normalize(args);
1015
- const config = mergeConfigs(fallbackConfig, _config2);
1036
+ const [key, fn, _config] = normalize(args);
1037
+ const config = mergeConfigs(fallbackConfig, _config);
1016
1038
  let next = hook;
1017
1039
  const { use: use3 } = config;
1018
1040
  const middleware2 = (use3 || []).concat(BUILT_IN_MIDDLEWARE);
@@ -4057,14 +4079,14 @@ withClerk(
4057
4079
  );
4058
4080
 
4059
4081
  // ../react/dist/chunk-OANWQR3B.mjs
4060
- var __typeError2 = (msg) => {
4082
+ var __typeError = (msg) => {
4061
4083
  throw TypeError(msg);
4062
4084
  };
4063
- var __accessCheck2 = (obj, member, msg) => member.has(obj) || __typeError2("Cannot " + msg);
4064
- var __privateGet2 = (obj, member, getter) => (__accessCheck2(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
4065
- var __privateAdd2 = (obj, member, value) => member.has(obj) ? __typeError2("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
4066
- var __privateSet2 = (obj, member, value, setter) => (__accessCheck2(obj, member, "write to private field"), member.set(obj, value), value);
4067
- var __privateMethod2 = (obj, member, method) => (__accessCheck2(obj, member, "access private method"), method);
4085
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
4086
+ var __privateGet2 = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
4087
+ var __privateAdd2 = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
4088
+ var __privateSet2 = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
4089
+ var __privateMethod2 = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
4068
4090
  var errorThrower2 = buildErrorThrower({ packageName: "@clerk/shared" });
4069
4091
  function setClerkJsLoadingErrorPackageName(packageName) {
4070
4092
  errorThrower2.setPackageName({ packageName });
@@ -4514,7 +4536,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
4514
4536
  }
4515
4537
  var SDK_METADATA = {
4516
4538
  name: "@clerk/clerk-react",
4517
- version: "5.50.0-canary.v20250930214222",
4539
+ version: "5.50.0-canary.v20251001113445",
4518
4540
  environment: process.env.NODE_ENV
4519
4541
  };
4520
4542
  var _status;
@@ -6051,7 +6073,7 @@ var BrowserStorageCache = createBrowserStorageCache();
6051
6073
  var clerk;
6052
6074
  noRhc.Clerk.sdkMetadata = {
6053
6075
  name: "@clerk/chrome-extension",
6054
- version: "2.7.2-canary.v20250930214222"
6076
+ version: "2.7.2-canary.v20251001113445"
6055
6077
  };
6056
6078
  async function createClerkClient({
6057
6079
  __experimental_syncHostListener = false,