@clerk/chrome-extension 2.8.3-snapshot.v20251118233019 → 2.8.3-snapshot.v20251119151755
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 +7 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react/index.js +7 -2
- package/dist/cjs/react/index.js.map +1 -1
- package/dist/esm/background/index.js +1 -1
- package/dist/esm/{chunk-Z2AT6LRZ.js → chunk-C5SIP2TE.js} +10 -5
- package/dist/esm/chunk-C5SIP2TE.js.map +1 -0
- package/dist/esm/{chunk-KOPNJHTC.js → chunk-FCYI4SSO.js} +3 -3
- package/dist/esm/{chunk-KOPNJHTC.js.map → chunk-FCYI4SSO.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/react/index.js +2 -2
- package/package.json +4 -4
- package/dist/esm/chunk-Z2AT6LRZ.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __export, buildErrorThrower, createDevOrStagingUrlCache, createClerkClient, isClerkAPIResponseError, ClerkRuntimeError, isPublishableKey } from './chunk-
|
|
1
|
+
import { __export, buildErrorThrower, createDevOrStagingUrlCache, createClerkClient, isClerkAPIResponseError, ClerkRuntimeError, isPublishableKey } from './chunk-FCYI4SSO.js';
|
|
2
2
|
import React7, { createContext, useContext, useState, useRef, useEffect, createElement, useCallback, useMemo, useLayoutEffect, useDebugValue } from 'react';
|
|
3
3
|
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
@@ -3671,7 +3671,7 @@ var __privateAdd2 = (obj, member, value) => member.has(obj) ? __typeError("Canno
|
|
|
3671
3671
|
var __privateSet2 = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
|
3672
3672
|
var __privateMethod2 = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
3673
3673
|
|
|
3674
|
-
// ../shared/dist/runtime/loadClerkJsScript-
|
|
3674
|
+
// ../shared/dist/runtime/loadClerkJsScript-CmxpG71G.mjs
|
|
3675
3675
|
var { isDevOrStagingUrl } = createDevOrStagingUrlCache();
|
|
3676
3676
|
var errorThrower2 = buildErrorThrower({ packageName: "@clerk/shared" });
|
|
3677
3677
|
function setClerkJsLoadingErrorPackageName(packageName) {
|
|
@@ -4191,7 +4191,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
4191
4191
|
}
|
|
4192
4192
|
var SDK_METADATA = {
|
|
4193
4193
|
name: "@clerk/clerk-react",
|
|
4194
|
-
version: "5.57.0-snapshot.
|
|
4194
|
+
version: "5.57.0-snapshot.v20251119151755",
|
|
4195
4195
|
environment: process.env.NODE_ENV
|
|
4196
4196
|
};
|
|
4197
4197
|
var _status;
|
|
@@ -4209,6 +4209,7 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
4209
4209
|
this.clerkjs = null;
|
|
4210
4210
|
this.preopenOneTap = null;
|
|
4211
4211
|
this.preopenUserVerification = null;
|
|
4212
|
+
this.preopenEnableOrganizationsPrompt = null;
|
|
4212
4213
|
this.preopenSignIn = null;
|
|
4213
4214
|
this.preopenCheckout = null;
|
|
4214
4215
|
this.preopenPlanDetails = null;
|
|
@@ -4604,11 +4605,15 @@ var _IsomorphicClerk = class _IsomorphicClerk2 {
|
|
|
4604
4605
|
this.__internal_openEnableOrganizationsPrompt = (props) => {
|
|
4605
4606
|
if (this.clerkjs && this.loaded) {
|
|
4606
4607
|
this.clerkjs.__internal_openEnableOrganizationsPrompt(props);
|
|
4608
|
+
} else {
|
|
4609
|
+
this.preopenEnableOrganizationsPrompt = props;
|
|
4607
4610
|
}
|
|
4608
4611
|
};
|
|
4609
4612
|
this.__internal_closeEnableOrganizationsPrompt = () => {
|
|
4610
4613
|
if (this.clerkjs && this.loaded) {
|
|
4611
4614
|
this.clerkjs.__internal_closeEnableOrganizationsPrompt();
|
|
4615
|
+
} else {
|
|
4616
|
+
this.preopenEnableOrganizationsPrompt = null;
|
|
4612
4617
|
}
|
|
4613
4618
|
};
|
|
4614
4619
|
this.openGoogleOneTap = (props) => {
|
|
@@ -5585,5 +5590,5 @@ function ClerkProvider2(props) {
|
|
|
5585
5590
|
var GoogleOneTap2 = () => null;
|
|
5586
5591
|
|
|
5587
5592
|
export { APIKeys, AuthenticateWithRedirectCallback, ClerkDegraded, ClerkFailed, ClerkLoaded, ClerkLoading, ClerkProvider2 as ClerkProvider, CreateOrganization, GoogleOneTap2 as GoogleOneTap, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, Protect, RedirectToCreateOrganization, RedirectToOrganizationProfile, RedirectToSignIn, RedirectToSignUp, RedirectToUserProfile, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, SignedIn, SignedOut, UserAvatar, UserButton, UserProfile, Waitlist, setErrorThrowerOptions, useAuth, useClerk, useEmailLink, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useSignIn, useSignUp, useUser };
|
|
5588
|
-
//# sourceMappingURL=chunk-
|
|
5589
|
-
//# sourceMappingURL=chunk-
|
|
5593
|
+
//# sourceMappingURL=chunk-C5SIP2TE.js.map
|
|
5594
|
+
//# sourceMappingURL=chunk-C5SIP2TE.js.map
|