@clerk/chrome-extension 3.0.0-canary-core3.v20251124105058 → 3.0.0-canary-core3.v20251124161754
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 +4 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +4 -6
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-EGTA4WD5.js → chunk-7QLGJWQ6.js} +3 -3
- package/dist/esm/{chunk-EGTA4WD5.js.map → chunk-7QLGJWQ6.js.map} +1 -1
- package/dist/esm/{chunk-SX4VEJIH.js → chunk-WRLFKED6.js} +6 -8
- package/dist/esm/chunk-WRLFKED6.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 +5 -5
- package/dist/esm/chunk-SX4VEJIH.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: "3.0.0-canary-core3.
|
|
432
|
+
version: "3.0.0-canary-core3.v20251124161754"
|
|
433
433
|
};
|
|
434
434
|
function createClerkClient({
|
|
435
435
|
__experimental_syncHostListener = false,
|
package/dist/cjs/index.js
CHANGED
|
@@ -2938,11 +2938,9 @@ var Protect = ({ children, fallback, treatPendingAsSignedOut, ...restAuthorizedP
|
|
|
2938
2938
|
return authorized;
|
|
2939
2939
|
};
|
|
2940
2940
|
var RedirectToSignIn = withClerk(({ clerk: clerk2, ...props }) => {
|
|
2941
|
+
var _a5, _b;
|
|
2941
2942
|
const { client, session } = clerk2;
|
|
2942
|
-
const hasSignedInSessions = client.signedInSessions ?
|
|
2943
|
-
// Compat for clerk-js<5.54.0 (which was released with the `signedInSessions` property)
|
|
2944
|
-
client.activeSessions && client.activeSessions.length > 0
|
|
2945
|
-
);
|
|
2943
|
+
const hasSignedInSessions = ((_b = (_a5 = client.signedInSessions) == null ? void 0 : _a5.length) != null ? _b : 0) > 0;
|
|
2946
2944
|
React7__default.default.useEffect(() => {
|
|
2947
2945
|
if (session === null && hasSignedInSessions) {
|
|
2948
2946
|
void clerk2.redirectToAfterSignOut();
|
|
@@ -4745,7 +4743,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
4745
4743
|
}
|
|
4746
4744
|
var SDK_METADATA = {
|
|
4747
4745
|
name: "@clerk/react",
|
|
4748
|
-
version: "6.0.0-canary-core3.
|
|
4746
|
+
version: "6.0.0-canary-core3.v20251124161754",
|
|
4749
4747
|
environment: process.env.NODE_ENV
|
|
4750
4748
|
};
|
|
4751
4749
|
var _status;
|
|
@@ -6299,7 +6297,7 @@ var BrowserStorageCache = createBrowserStorageCache();
|
|
|
6299
6297
|
var clerk;
|
|
6300
6298
|
noRhc.Clerk.sdkMetadata = {
|
|
6301
6299
|
name: "@clerk/chrome-extension",
|
|
6302
|
-
version: "3.0.0-canary-core3.
|
|
6300
|
+
version: "3.0.0-canary-core3.v20251124161754"
|
|
6303
6301
|
};
|
|
6304
6302
|
function createClerkClient({
|
|
6305
6303
|
__experimental_syncHostListener = false,
|