@clerk/chrome-extension 2.8.7-snapshot.v20251201171410 → 2.8.7
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 +28 -65
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +3 -42
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-M6OYY3XB.js → chunk-I7OL743L.js} +31 -68
- package/dist/esm/chunk-I7OL743L.js.map +1 -0
- package/dist/esm/{chunk-36FFBWFE.js → chunk-NDXFLDDE.js} +3 -3
- package/dist/esm/{chunk-36FFBWFE.js.map → chunk-NDXFLDDE.js.map} +1 -1
- 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-M6OYY3XB.js.map +0 -1
package/dist/cjs/react/index.js
CHANGED
|
@@ -844,7 +844,7 @@ function dequal2(foo, bar) {
|
|
|
844
844
|
return foo !== foo && bar !== bar;
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
// ../shared/dist/runtime/
|
|
847
|
+
// ../shared/dist/runtime/react/index.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
|
}
|
|
@@ -2148,27 +2148,6 @@ withClerk(
|
|
|
2148
2148
|
},
|
|
2149
2149
|
{ component: "TaskChooseOrganization", renderWhileLoading: true }
|
|
2150
2150
|
);
|
|
2151
|
-
withClerk(
|
|
2152
|
-
({ clerk: clerk2, component, fallback, ...props }) => {
|
|
2153
|
-
const mountingStatus = useWaitForComponentMount(component);
|
|
2154
|
-
const shouldShowFallback = mountingStatus === "rendering" || !clerk2.loaded;
|
|
2155
|
-
const rendererRootProps = {
|
|
2156
|
-
...shouldShowFallback && fallback && { style: { display: "none" } }
|
|
2157
|
-
};
|
|
2158
|
-
return /* @__PURE__ */ React7__default.default.createElement(React7__default.default.Fragment, null, shouldShowFallback && fallback, clerk2.loaded && /* @__PURE__ */ React7__default.default.createElement(
|
|
2159
|
-
ClerkHostRenderer,
|
|
2160
|
-
{
|
|
2161
|
-
component,
|
|
2162
|
-
mount: clerk2.mountTaskResetPassword,
|
|
2163
|
-
unmount: clerk2.unmountTaskResetPassword,
|
|
2164
|
-
updateProps: clerk2.__unstable__updateProps,
|
|
2165
|
-
props,
|
|
2166
|
-
rootProps: rendererRootProps
|
|
2167
|
-
}
|
|
2168
|
-
));
|
|
2169
|
-
},
|
|
2170
|
-
{ component: "TaskResetPassword", renderWhileLoading: true }
|
|
2171
|
-
);
|
|
2172
2151
|
|
|
2173
2152
|
// ../react/dist/chunk-OANWQR3B.mjs
|
|
2174
2153
|
var __typeError = (msg) => {
|
|
@@ -2697,7 +2676,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
2697
2676
|
}
|
|
2698
2677
|
var SDK_METADATA = {
|
|
2699
2678
|
name: "@clerk/clerk-react",
|
|
2700
|
-
version: "5.
|
|
2679
|
+
version: "5.57.1",
|
|
2701
2680
|
environment: process.env.NODE_ENV
|
|
2702
2681
|
};
|
|
2703
2682
|
var _status;
|
|
@@ -2740,7 +2719,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
2740
2719
|
this.premountAPIKeysNodes = /* @__PURE__ */ new Map();
|
|
2741
2720
|
this.premountOAuthConsentNodes = /* @__PURE__ */ new Map();
|
|
2742
2721
|
this.premountTaskChooseOrganizationNodes = /* @__PURE__ */ new Map();
|
|
2743
|
-
this.premountTaskResetPasswordNodes = /* @__PURE__ */ new Map();
|
|
2744
2722
|
this.premountAddListenerCalls = /* @__PURE__ */ new Map();
|
|
2745
2723
|
this.loadedListeners = [];
|
|
2746
2724
|
__privateAdd2(this, _status, "loading");
|
|
@@ -3019,9 +2997,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3019
2997
|
this.premountTaskChooseOrganizationNodes.forEach((props, node) => {
|
|
3020
2998
|
clerkjs.mountTaskChooseOrganization(node, props);
|
|
3021
2999
|
});
|
|
3022
|
-
this.premountTaskResetPasswordNodes.forEach((props, node) => {
|
|
3023
|
-
clerkjs.mountTaskResetPassword(node, props);
|
|
3024
|
-
});
|
|
3025
3000
|
if (typeof this.clerkjs.status === "undefined") {
|
|
3026
3001
|
__privateGet2(this, _eventBus).emit(clerkEvents.Status, "ready");
|
|
3027
3002
|
}
|
|
@@ -3420,20 +3395,6 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
3420
3395
|
this.premountTaskChooseOrganizationNodes.delete(node);
|
|
3421
3396
|
}
|
|
3422
3397
|
};
|
|
3423
|
-
this.__experimental_mountTaskResetPassword = (node, props) => {
|
|
3424
|
-
if (this.clerkjs && this.loaded) {
|
|
3425
|
-
this.clerkjs.mountTaskResetPassword(node, props);
|
|
3426
|
-
} else {
|
|
3427
|
-
this.premountTaskResetPasswordNodes.set(node, props);
|
|
3428
|
-
}
|
|
3429
|
-
};
|
|
3430
|
-
this.unmountTaskResetPassword = (node) => {
|
|
3431
|
-
if (this.clerkjs && this.loaded) {
|
|
3432
|
-
this.clerkjs.unmountTaskResetPassword(node);
|
|
3433
|
-
} else {
|
|
3434
|
-
this.premountTaskResetPasswordNodes.delete(node);
|
|
3435
|
-
}
|
|
3436
|
-
};
|
|
3437
3398
|
this.addListener = (listener) => {
|
|
3438
3399
|
if (this.clerkjs) {
|
|
3439
3400
|
return this.clerkjs.addListener(listener);
|
|
@@ -4288,7 +4249,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
4288
4249
|
var clerk;
|
|
4289
4250
|
noRhc.Clerk.sdkMetadata = {
|
|
4290
4251
|
name: "@clerk/chrome-extension",
|
|
4291
|
-
version: "2.8.7
|
|
4252
|
+
version: "2.8.7"
|
|
4292
4253
|
};
|
|
4293
4254
|
async function createClerkClient({
|
|
4294
4255
|
__experimental_syncHostListener = false,
|