@clerk/react 6.9.0 → 6.9.1-canary.v20260610190754
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/ClerkProvider-9lxHp9j5.cjs +1623 -0
- package/dist/ClerkProvider-9lxHp9j5.cjs.map +1 -0
- package/dist/ClerkProvider-LQpPtmNL.mjs +1533 -0
- package/dist/ClerkProvider-LQpPtmNL.mjs.map +1 -0
- package/dist/errors.cjs +69 -0
- package/dist/errors.d.cts +2 -0
- package/dist/errors.d.mts +2 -1
- package/dist/errors.mjs +2 -29
- package/dist/experimental.cjs +270 -0
- package/dist/experimental.cjs.map +1 -0
- package/dist/{experimental.d.ts → experimental.d.cts} +18 -18
- package/dist/experimental.d.mts +18 -18
- package/dist/experimental.mjs +201 -165
- package/dist/experimental.mjs.map +1 -1
- package/dist/hooks-BiY5Zgpp.mjs +1369 -0
- package/dist/hooks-BiY5Zgpp.mjs.map +1 -0
- package/dist/hooks-CBghYU21.cjs +1606 -0
- package/dist/hooks-CBghYU21.cjs.map +1 -0
- package/dist/index.cjs +447 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +345 -0
- package/dist/index.d.mts +183 -157
- package/dist/index.mjs +285 -380
- package/dist/index.mjs.map +1 -1
- package/dist/internal.cjs +107 -0
- package/dist/internal.cjs.map +1 -0
- package/dist/internal.d.cts +51 -0
- package/dist/internal.d.mts +24 -26
- package/dist/internal.mjs +39 -73
- package/dist/internal.mjs.map +1 -1
- package/dist/legacy.cjs +134 -0
- package/dist/legacy.cjs.map +1 -0
- package/dist/{legacy.d.ts → legacy.d.cts} +6 -3
- package/dist/legacy.d.mts +6 -3
- package/dist/legacy.mjs +126 -42
- package/dist/legacy.mjs.map +1 -1
- package/dist/types-Bwenmt7y.d.cts +10951 -0
- package/dist/types-CiIhevkA.d.mts +10951 -0
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +3 -0
- package/dist/types.d.mts +3 -109
- package/dist/types.mjs +1 -2
- package/dist/useAssertWrappedByClerkProvider-Cm0djUcB.cjs +52 -0
- package/dist/useAssertWrappedByClerkProvider-Cm0djUcB.cjs.map +1 -0
- package/dist/useAssertWrappedByClerkProvider-GaNwZpWo.mjs +29 -0
- package/dist/useAssertWrappedByClerkProvider-GaNwZpWo.mjs.map +1 -0
- package/dist/{useAuth-Dlg_G1_7.d.mts → useAuth-BK5Y4htK.d.mts} +58 -39
- package/dist/{useAuth-Cv6iRjL9.d.ts → useAuth-BMxaWktj.d.cts} +58 -39
- package/package.json +18 -18
- package/dist/chunk-E5QRIS4Z.mjs +0 -20
- package/dist/chunk-E5QRIS4Z.mjs.map +0 -1
- package/dist/chunk-FQVXBXXF.mjs +0 -1487
- package/dist/chunk-FQVXBXXF.mjs.map +0 -1
- package/dist/chunk-GVGS7DUS.mjs +0 -2097
- package/dist/chunk-GVGS7DUS.mjs.map +0 -1
- package/dist/chunk-RQWALB2R.mjs +0 -26
- package/dist/chunk-RQWALB2R.mjs.map +0 -1
- package/dist/errors.d.ts +0 -1
- package/dist/errors.js +0 -51
- package/dist/errors.js.map +0 -1
- package/dist/errors.mjs.map +0 -1
- package/dist/experimental.js +0 -1505
- package/dist/experimental.js.map +0 -1
- package/dist/index.d.ts +0 -319
- package/dist/index.js +0 -3919
- package/dist/index.js.map +0 -1
- package/dist/internal.d.ts +0 -53
- package/dist/internal.js +0 -3339
- package/dist/internal.js.map +0 -1
- package/dist/legacy.js +0 -90
- package/dist/legacy.js.map +0 -1
- package/dist/types.d.ts +0 -109
- package/dist/types.js +0 -19
- package/dist/types.js.map +0 -1
- package/dist/types.mjs.map +0 -1
package/dist/internal.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ClerkProviderProps, WithClerkProp } from './types.js';
|
|
2
|
-
import * as _clerk_shared_types from '@clerk/shared/types';
|
|
3
|
-
import { RoutingOptions, InternalClerkScriptProps } from '@clerk/shared/types';
|
|
4
|
-
export { InternalClerkScriptProps } from '@clerk/shared/types';
|
|
5
|
-
import { useOAuthConsent as useOAuthConsent$1 } from '@clerk/shared/react';
|
|
6
|
-
import { Ui } from '@clerk/ui/internal';
|
|
7
|
-
export { Ui } from '@clerk/ui/internal';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
export { publishableKeyFromHost } from '@clerk/shared/keys';
|
|
10
|
-
import { ErrorThrowerOptions } from '@clerk/shared/error';
|
|
11
|
-
export { M as MultisessionAppSupport, u as useDerivedAuth } from './useAuth-Cv6iRjL9.js';
|
|
12
|
-
export { buildClerkJSScriptAttributes, buildClerkJsScriptAttributes, buildClerkUIScriptAttributes, clerkJSScriptUrl, clerkJsScriptUrl, clerkUIScriptUrl, setClerkJSLoadingErrorPackageName, setClerkJsLoadingErrorPackageName } from '@clerk/shared/loadClerkJsScript';
|
|
13
|
-
import '@clerk/shared/ui';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Overrides options of the internal errorThrower (eg setting packageName prefix).
|
|
17
|
-
*
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
declare function setErrorThrowerOptions(options: ErrorThrowerOptions): void;
|
|
21
|
-
|
|
22
|
-
declare function useRoutingProps<T extends RoutingOptions>(componentName: string, props: T, routingOptions?: RoutingOptions): T;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Whether the host React version is compatible with the shared @clerk/ui variant.
|
|
26
|
-
* This is computed once at module load time for optimal performance.
|
|
27
|
-
*/
|
|
28
|
-
declare const IS_REACT_SHARED_VARIANT_COMPATIBLE: boolean;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Import `useOAuthConsent` from `@clerk/react` instead.
|
|
32
|
-
*/
|
|
33
|
-
declare const useOAuthConsent: typeof useOAuthConsent$1;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated Import `OAuthConsent` from `@clerk/react` instead.
|
|
37
|
-
*/
|
|
38
|
-
declare const OAuthConsent: {
|
|
39
|
-
(props: _clerk_shared_types.Without<WithClerkProp<_clerk_shared_types.OAuthConsentProps & {
|
|
40
|
-
fallback?: React.ReactNode;
|
|
41
|
-
}>, "clerk">): React.JSX.Element | null;
|
|
42
|
-
displayName: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* A wider-typed version of ClerkProvider that accepts internal script props.
|
|
47
|
-
* Framework SDKs should use this instead of the public ClerkProvider.
|
|
48
|
-
*/
|
|
49
|
-
declare const InternalClerkProvider: (<TUi extends Ui = Ui>(props: ClerkProviderProps<TUi> & InternalClerkScriptProps) => React.JSX.Element) & {
|
|
50
|
-
displayName: string;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export { IS_REACT_SHARED_VARIANT_COMPATIBLE, InternalClerkProvider, OAuthConsent, setErrorThrowerOptions, useOAuthConsent, useRoutingProps };
|