@clerk/react 6.3.0-snapshot.v20260413174426 → 6.3.0
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/{chunk-GGY2FIEK.mjs → chunk-A7DRZKIX.mjs} +1 -23
- package/dist/chunk-A7DRZKIX.mjs.map +1 -0
- package/dist/{chunk-4CFDPNXP.mjs → chunk-YD67K53M.mjs} +3 -3
- package/dist/experimental.js +0 -21
- package/dist/experimental.js.map +1 -1
- package/dist/experimental.mjs +1 -1
- package/dist/index.d.mts +157 -5
- package/dist/index.d.ts +157 -5
- package/dist/index.js +1 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -24
- package/dist/internal.js.map +1 -1
- package/dist/internal.mjs +2 -4
- package/dist/internal.mjs.map +1 -1
- package/dist/useAuth-BYiDKD-3.d.mts +195 -0
- package/dist/useAuth-DcwU7ADV.d.ts +195 -0
- package/package.json +4 -4
- package/dist/chunk-GGY2FIEK.mjs.map +0 -1
- package/dist/useAuth-BcueoHKe.d.ts +0 -351
- package/dist/useAuth-DzI3xk4K.d.mts +0 -351
- /package/dist/{chunk-4CFDPNXP.mjs.map → chunk-YD67K53M.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
RedirectToTasks,
|
|
13
13
|
RedirectToUserProfile,
|
|
14
14
|
Show
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YD67K53M.mjs";
|
|
16
16
|
import {
|
|
17
17
|
APIKeys,
|
|
18
18
|
CreateOrganization,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
useUser,
|
|
54
54
|
useWaitlist,
|
|
55
55
|
withClerk
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-A7DRZKIX.mjs";
|
|
57
57
|
import {
|
|
58
58
|
setErrorThrowerOptions
|
|
59
59
|
} from "./chunk-RQWALB2R.mjs";
|
package/dist/internal.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ export { Ui } from '@clerk/ui/internal';
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { ClerkProviderProps } from './types.mjs';
|
|
7
7
|
import { ErrorThrowerOptions } from '@clerk/shared/error';
|
|
8
|
-
export { M as MultisessionAppSupport,
|
|
8
|
+
export { M as MultisessionAppSupport, u as useDerivedAuth } from './useAuth-BYiDKD-3.mjs';
|
|
9
9
|
export { useOAuthConsent } from '@clerk/shared/react';
|
|
10
10
|
export { buildClerkJSScriptAttributes, buildClerkJsScriptAttributes, buildClerkUIScriptAttributes, clerkJSScriptUrl, clerkJsScriptUrl, clerkUIScriptUrl, setClerkJSLoadingErrorPackageName, setClerkJsLoadingErrorPackageName } from '@clerk/shared/loadClerkJsScript';
|
|
11
11
|
import '@clerk/shared/ui';
|
package/dist/internal.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { Ui } from '@clerk/ui/internal';
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { ClerkProviderProps } from './types.js';
|
|
7
7
|
import { ErrorThrowerOptions } from '@clerk/shared/error';
|
|
8
|
-
export { M as MultisessionAppSupport,
|
|
8
|
+
export { M as MultisessionAppSupport, u as useDerivedAuth } from './useAuth-DcwU7ADV.js';
|
|
9
9
|
export { useOAuthConsent } from '@clerk/shared/react';
|
|
10
10
|
export { buildClerkJSScriptAttributes, buildClerkJsScriptAttributes, buildClerkUIScriptAttributes, clerkJSScriptUrl, clerkJsScriptUrl, clerkUIScriptUrl, setClerkJSLoadingErrorPackageName, setClerkJsLoadingErrorPackageName } from '@clerk/shared/loadClerkJsScript';
|
|
11
11
|
import '@clerk/shared/ui';
|
package/dist/internal.js
CHANGED
|
@@ -41,7 +41,6 @@ __export(internal_exports, {
|
|
|
41
41
|
IS_REACT_SHARED_VARIANT_COMPATIBLE: () => IS_REACT_SHARED_VARIANT_COMPATIBLE,
|
|
42
42
|
InternalClerkProvider: () => InternalClerkProvider,
|
|
43
43
|
MultisessionAppSupport: () => MultisessionAppSupport,
|
|
44
|
-
OAuthConsent: () => OAuthConsent,
|
|
45
44
|
buildClerkJSScriptAttributes: () => import_loadClerkJsScript2.buildClerkJSScriptAttributes,
|
|
46
45
|
buildClerkJsScriptAttributes: () => import_loadClerkJsScript2.buildClerkJsScriptAttributes,
|
|
47
46
|
buildClerkUIScriptAttributes: () => import_loadClerkJsScript2.buildClerkUIScriptAttributes,
|
|
@@ -1223,27 +1222,6 @@ var APIKeys = withClerk(
|
|
|
1223
1222
|
},
|
|
1224
1223
|
{ component: "ApiKeys", renderWhileLoading: true }
|
|
1225
1224
|
);
|
|
1226
|
-
var OAuthConsent = withClerk(
|
|
1227
|
-
({ clerk, component, fallback, ...props }) => {
|
|
1228
|
-
const mountingStatus = useWaitForComponentMount(component);
|
|
1229
|
-
const shouldShowFallback = mountingStatus === "rendering" || !clerk.loaded;
|
|
1230
|
-
const rendererRootProps = {
|
|
1231
|
-
...shouldShowFallback && fallback && { style: { display: "none" } }
|
|
1232
|
-
};
|
|
1233
|
-
return /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, shouldShowFallback && fallback, clerk.loaded && /* @__PURE__ */ import_react11.default.createElement(
|
|
1234
|
-
ClerkHostRenderer,
|
|
1235
|
-
{
|
|
1236
|
-
component,
|
|
1237
|
-
mount: clerk.__internal_mountOAuthConsent,
|
|
1238
|
-
unmount: clerk.__internal_unmountOAuthConsent,
|
|
1239
|
-
updateProps: clerk.__internal_updateProps,
|
|
1240
|
-
props,
|
|
1241
|
-
rootProps: rendererRootProps
|
|
1242
|
-
}
|
|
1243
|
-
));
|
|
1244
|
-
},
|
|
1245
|
-
{ component: "OAuthConsent", renderWhileLoading: true }
|
|
1246
|
-
);
|
|
1247
1225
|
var UserAvatar = withClerk(
|
|
1248
1226
|
({ clerk, component, fallback, ...props }) => {
|
|
1249
1227
|
const mountingStatus = useWaitForComponentMount(component);
|
|
@@ -1636,7 +1614,7 @@ if (typeof globalThis.__BUILD_DISABLE_RHC__ === "undefined") {
|
|
|
1636
1614
|
}
|
|
1637
1615
|
var SDK_METADATA = {
|
|
1638
1616
|
name: "@clerk/react",
|
|
1639
|
-
version: "6.3.0
|
|
1617
|
+
version: "6.3.0",
|
|
1640
1618
|
environment: process.env.NODE_ENV
|
|
1641
1619
|
};
|
|
1642
1620
|
var _status, _domain, _proxyUrl, _publishableKey, _eventBus, _stateProxy, _instance, _IsomorphicClerk_instances, waitForClerkJS_fn;
|
|
@@ -3230,7 +3208,6 @@ var InternalClerkProvider = ClerkProvider;
|
|
|
3230
3208
|
IS_REACT_SHARED_VARIANT_COMPATIBLE,
|
|
3231
3209
|
InternalClerkProvider,
|
|
3232
3210
|
MultisessionAppSupport,
|
|
3233
|
-
OAuthConsent,
|
|
3234
3211
|
buildClerkJSScriptAttributes,
|
|
3235
3212
|
buildClerkJsScriptAttributes,
|
|
3236
3213
|
buildClerkUIScriptAttributes,
|