@clerk/chrome-extension 2.8.7-snapshot.v20251127123052 → 2.8.7-snapshot.v20251201171410
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.
- package/dist/cjs/background/index.js +1 -1
- package/dist/cjs/index.js +44 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +44 -5
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-R45RD2LA.js → chunk-36FFBWFE.js} +3 -3
- package/dist/esm/{chunk-R45RD2LA.js.map → chunk-36FFBWFE.js.map} +1 -1
- package/dist/esm/{chunk-7USREJBT.js → chunk-M6OYY3XB.js} +47 -8
- package/dist/esm/chunk-M6OYY3XB.js.map +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/react/index.js +2 -2
- package/dist/types/internal/utils/errors.d.ts +1 -1
- package/package.json +4 -4
- package/dist/esm/chunk-7USREJBT.js.map +0 -1
|
@@ -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.7-snapshot.
|
|
432
|
+
version: "2.8.7-snapshot.v20251201171410"
|
|
433
433
|
};
|
|
434
434
|
async function createClerkClient({
|
|
435
435
|
__experimental_syncHostListener = false,
|
package/dist/cjs/index.js
CHANGED
|
@@ -1764,7 +1764,7 @@ function dequal2(foo, bar) {
|
|
|
1764
1764
|
return foo !== foo && bar !== bar;
|
|
1765
1765
|
}
|
|
1766
1766
|
|
|
1767
|
-
// ../shared/dist/runtime/organization-
|
|
1767
|
+
// ../shared/dist/runtime/organization-OxCeLHnh.mjs
|
|
1768
1768
|
function assertContextExists(contextVal, msgOrCtx) {
|
|
1769
1769
|
if (!contextVal) throw typeof msgOrCtx === "string" ? new Error(msgOrCtx) : /* @__PURE__ */ new Error(`${msgOrCtx.displayName} not found`);
|
|
1770
1770
|
}
|
|
@@ -3902,6 +3902,27 @@ withClerk(
|
|
|
3902
3902
|
},
|
|
3903
3903
|
{ component: "TaskChooseOrganization", renderWhileLoading: true }
|
|
3904
3904
|
);
|
|
3905
|
+
withClerk(
|
|
3906
|
+
({ clerk: clerk2, component, fallback, ...props }) => {
|
|
3907
|
+
const mountingStatus = useWaitForComponentMount(component);
|
|
3908
|
+
const shouldShowFallback = mountingStatus === "rendering" || !clerk2.loaded;
|
|
3909
|
+
const rendererRootProps = {
|
|
3910
|
+
...shouldShowFallback && fallback && { style: { display: "none" } }
|
|
3911
|
+
};
|
|
3912
|
+
return /* @__PURE__ */ React7__default.default.createElement(React7__default.default.Fragment, null, shouldShowFallback && fallback, clerk2.loaded && /* @__PURE__ */ React7__default.default.createElement(
|
|
3913
|
+
ClerkHostRenderer,
|
|
3914
|
+
{
|
|
3915
|
+
component,
|
|
3916
|
+
mount: clerk2.mountTaskResetPassword,
|
|
3917
|
+
unmount: clerk2.unmountTaskResetPassword,
|
|
3918
|
+
updateProps: clerk2.__unstable__updateProps,
|
|
3919
|
+
props,
|
|
3920
|
+
rootProps: rendererRootProps
|
|
3921
|
+
}
|
|
3922
|
+
));
|
|
3923
|
+
},
|
|
3924
|
+
{ component: "TaskResetPassword", renderWhileLoading: true }
|
|
3925
|
+
);
|
|
3905
3926
|
|
|
3906
3927
|
// ../react/dist/chunk-OANWQR3B.mjs
|
|
3907
3928
|
var __typeError = (msg) => {
|
|
@@ -4430,7 +4451,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
4430
4451
|
}
|
|
4431
4452
|
var SDK_METADATA = {
|
|
4432
4453
|
name: "@clerk/clerk-react",
|
|
4433
|
-
version: "5.58.0-snapshot.
|
|
4454
|
+
version: "5.58.0-snapshot.v20251201171410",
|
|
4434
4455
|
environment: process.env.NODE_ENV
|
|
4435
4456
|
};
|
|
4436
4457
|
var _status;
|
|
@@ -4473,6 +4494,7 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
4473
4494
|
this.premountAPIKeysNodes = /* @__PURE__ */ new Map();
|
|
4474
4495
|
this.premountOAuthConsentNodes = /* @__PURE__ */ new Map();
|
|
4475
4496
|
this.premountTaskChooseOrganizationNodes = /* @__PURE__ */ new Map();
|
|
4497
|
+
this.premountTaskResetPasswordNodes = /* @__PURE__ */ new Map();
|
|
4476
4498
|
this.premountAddListenerCalls = /* @__PURE__ */ new Map();
|
|
4477
4499
|
this.loadedListeners = [];
|
|
4478
4500
|
__privateAdd2(this, _status, "loading");
|
|
@@ -4602,10 +4624,10 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
4602
4624
|
this.premountMethodCalls.set("buildWaitlistUrl", callback);
|
|
4603
4625
|
}
|
|
4604
4626
|
};
|
|
4605
|
-
this.buildTasksUrl = (
|
|
4627
|
+
this.buildTasksUrl = () => {
|
|
4606
4628
|
const callback = () => {
|
|
4607
4629
|
var _a5;
|
|
4608
|
-
return ((_a5 = this.clerkjs) == null ? void 0 : _a5.buildTasksUrl(
|
|
4630
|
+
return ((_a5 = this.clerkjs) == null ? void 0 : _a5.buildTasksUrl()) || "";
|
|
4609
4631
|
};
|
|
4610
4632
|
if (this.clerkjs && this.loaded) {
|
|
4611
4633
|
return callback();
|
|
@@ -4751,6 +4773,9 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
4751
4773
|
this.premountTaskChooseOrganizationNodes.forEach((props, node) => {
|
|
4752
4774
|
clerkjs.mountTaskChooseOrganization(node, props);
|
|
4753
4775
|
});
|
|
4776
|
+
this.premountTaskResetPasswordNodes.forEach((props, node) => {
|
|
4777
|
+
clerkjs.mountTaskResetPassword(node, props);
|
|
4778
|
+
});
|
|
4754
4779
|
if (typeof this.clerkjs.status === "undefined") {
|
|
4755
4780
|
__privateGet2(this, _eventBus).emit(clerkEvents.Status, "ready");
|
|
4756
4781
|
}
|
|
@@ -5149,6 +5174,20 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
5149
5174
|
this.premountTaskChooseOrganizationNodes.delete(node);
|
|
5150
5175
|
}
|
|
5151
5176
|
};
|
|
5177
|
+
this.__experimental_mountTaskResetPassword = (node, props) => {
|
|
5178
|
+
if (this.clerkjs && this.loaded) {
|
|
5179
|
+
this.clerkjs.mountTaskResetPassword(node, props);
|
|
5180
|
+
} else {
|
|
5181
|
+
this.premountTaskResetPasswordNodes.set(node, props);
|
|
5182
|
+
}
|
|
5183
|
+
};
|
|
5184
|
+
this.unmountTaskResetPassword = (node) => {
|
|
5185
|
+
if (this.clerkjs && this.loaded) {
|
|
5186
|
+
this.clerkjs.unmountTaskResetPassword(node);
|
|
5187
|
+
} else {
|
|
5188
|
+
this.premountTaskResetPasswordNodes.delete(node);
|
|
5189
|
+
}
|
|
5190
|
+
};
|
|
5152
5191
|
this.addListener = (listener) => {
|
|
5153
5192
|
if (this.clerkjs) {
|
|
5154
5193
|
return this.clerkjs.addListener(listener);
|
|
@@ -6003,7 +6042,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
6003
6042
|
var clerk;
|
|
6004
6043
|
noRhc.Clerk.sdkMetadata = {
|
|
6005
6044
|
name: "@clerk/chrome-extension",
|
|
6006
|
-
version: "2.8.7-snapshot.
|
|
6045
|
+
version: "2.8.7-snapshot.v20251201171410"
|
|
6007
6046
|
};
|
|
6008
6047
|
async function createClerkClient({
|
|
6009
6048
|
__experimental_syncHostListener = false,
|