@cedarjs/auth-clerk-web 1.1.1-next.0 → 1.1.1-next.21
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/clerk.d.ts +139 -3
- package/dist/cjs/clerk.d.ts.map +1 -1
- package/dist/clerk.d.ts +139 -3
- package/dist/clerk.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/cjs/clerk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SignOutCallback, Clerk as ClerkClient, GetTokenOptions, SignOutOptions } from '@clerk/types';
|
|
2
2
|
import type { CurrentUser } from '@cedarjs/auth';
|
|
3
3
|
type AuthImplementationOptions = {
|
|
4
4
|
defaultGetTokenOptions?: GetTokenOptions;
|
|
@@ -7,9 +7,145 @@ export declare function createAuth(customProviderHooks?: {
|
|
|
7
7
|
useCurrentUser?: () => Promise<CurrentUser>;
|
|
8
8
|
useHasRole?: (currentUser: CurrentUser | null) => (rolesToCheck: string | string[]) => boolean;
|
|
9
9
|
}, authImplementationOptions?: AuthImplementationOptions): {
|
|
10
|
-
AuthContext: import("react").Context<import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined,
|
|
10
|
+
AuthContext: import("react").Context<import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined, ({
|
|
11
|
+
path: string | undefined;
|
|
12
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
13
|
+
} & {
|
|
14
|
+
forceRedirectUrl?: string | null;
|
|
15
|
+
fallbackRedirectUrl?: string | null;
|
|
16
|
+
signInUrl?: string;
|
|
17
|
+
signUpUrl?: string;
|
|
18
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
19
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
20
|
+
__experimental?: Record<string, any> & {
|
|
21
|
+
newComponents?: boolean;
|
|
22
|
+
};
|
|
23
|
+
waitlistUrl?: string;
|
|
24
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
25
|
+
withSignUp?: boolean;
|
|
26
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
27
|
+
oidcPrompt?: string;
|
|
28
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
29
|
+
path?: never;
|
|
30
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
31
|
+
} & {
|
|
32
|
+
forceRedirectUrl?: string | null;
|
|
33
|
+
fallbackRedirectUrl?: string | null;
|
|
34
|
+
signInUrl?: string;
|
|
35
|
+
signUpUrl?: string;
|
|
36
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
37
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
38
|
+
__experimental?: Record<string, any> & {
|
|
39
|
+
newComponents?: boolean;
|
|
40
|
+
};
|
|
41
|
+
waitlistUrl?: string;
|
|
42
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
43
|
+
withSignUp?: boolean;
|
|
44
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
45
|
+
oidcPrompt?: string;
|
|
46
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, SignOutCallback | SignOutOptions, void | undefined, ({
|
|
47
|
+
path: string | undefined;
|
|
48
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
49
|
+
} & {
|
|
50
|
+
forceRedirectUrl?: string | null;
|
|
51
|
+
fallbackRedirectUrl?: string | null;
|
|
52
|
+
signInUrl?: string;
|
|
53
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
54
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
55
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
56
|
+
__experimental?: Record<string, any> & {
|
|
57
|
+
newComponents?: boolean;
|
|
58
|
+
};
|
|
59
|
+
waitlistUrl?: string;
|
|
60
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
61
|
+
oidcPrompt?: string;
|
|
62
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
63
|
+
path?: never;
|
|
64
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
65
|
+
} & {
|
|
66
|
+
forceRedirectUrl?: string | null;
|
|
67
|
+
fallbackRedirectUrl?: string | null;
|
|
68
|
+
signInUrl?: string;
|
|
69
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
70
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
71
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
72
|
+
__experimental?: Record<string, any> & {
|
|
73
|
+
newComponents?: boolean;
|
|
74
|
+
};
|
|
75
|
+
waitlistUrl?: string;
|
|
76
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
77
|
+
oidcPrompt?: string;
|
|
78
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, unknown, unknown, unknown, unknown, ClerkClient | null> | undefined>;
|
|
11
79
|
AuthProvider: ({ children }: import("@cedarjs/auth").AuthProviderProps) => import("react").JSX.Element;
|
|
12
|
-
useAuth: () => import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined,
|
|
80
|
+
useAuth: () => import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined, ({
|
|
81
|
+
path: string | undefined;
|
|
82
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
83
|
+
} & {
|
|
84
|
+
forceRedirectUrl?: string | null;
|
|
85
|
+
fallbackRedirectUrl?: string | null;
|
|
86
|
+
signInUrl?: string;
|
|
87
|
+
signUpUrl?: string;
|
|
88
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
89
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
90
|
+
__experimental?: Record<string, any> & {
|
|
91
|
+
newComponents?: boolean;
|
|
92
|
+
};
|
|
93
|
+
waitlistUrl?: string;
|
|
94
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
95
|
+
withSignUp?: boolean;
|
|
96
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
97
|
+
oidcPrompt?: string;
|
|
98
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
99
|
+
path?: never;
|
|
100
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
101
|
+
} & {
|
|
102
|
+
forceRedirectUrl?: string | null;
|
|
103
|
+
fallbackRedirectUrl?: string | null;
|
|
104
|
+
signInUrl?: string;
|
|
105
|
+
signUpUrl?: string;
|
|
106
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
107
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
108
|
+
__experimental?: Record<string, any> & {
|
|
109
|
+
newComponents?: boolean;
|
|
110
|
+
};
|
|
111
|
+
waitlistUrl?: string;
|
|
112
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
113
|
+
withSignUp?: boolean;
|
|
114
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
115
|
+
oidcPrompt?: string;
|
|
116
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, SignOutCallback | SignOutOptions, void | undefined, ({
|
|
117
|
+
path: string | undefined;
|
|
118
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
119
|
+
} & {
|
|
120
|
+
forceRedirectUrl?: string | null;
|
|
121
|
+
fallbackRedirectUrl?: string | null;
|
|
122
|
+
signInUrl?: string;
|
|
123
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
124
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
125
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
126
|
+
__experimental?: Record<string, any> & {
|
|
127
|
+
newComponents?: boolean;
|
|
128
|
+
};
|
|
129
|
+
waitlistUrl?: string;
|
|
130
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
131
|
+
oidcPrompt?: string;
|
|
132
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
133
|
+
path?: never;
|
|
134
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
135
|
+
} & {
|
|
136
|
+
forceRedirectUrl?: string | null;
|
|
137
|
+
fallbackRedirectUrl?: string | null;
|
|
138
|
+
signInUrl?: string;
|
|
139
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
140
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
141
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
142
|
+
__experimental?: Record<string, any> & {
|
|
143
|
+
newComponents?: boolean;
|
|
144
|
+
};
|
|
145
|
+
waitlistUrl?: string;
|
|
146
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
147
|
+
oidcPrompt?: string;
|
|
148
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, unknown, unknown, unknown, unknown, ClerkClient | null>;
|
|
13
149
|
};
|
|
14
150
|
export {};
|
|
15
151
|
//# sourceMappingURL=clerk.d.ts.map
|
package/dist/cjs/clerk.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clerk.d.ts","sourceRoot":"","sources":["../../src/clerk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"clerk.d.ts","sourceRoot":"","sources":["../../src/clerk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,eAAe,EACf,KAAK,IAAI,WAAW,EACpB,eAAe,EACf,cAAc,EACf,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,KAAK,yBAAyB,GAAG;IAC/B,sBAAsB,CAAC,EAAE,eAAe,CAAA;CACzC,CAAA;AAED,wBAAgB,UAAU,CACxB,mBAAmB,CAAC,EAAE;IACpB,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAA;IAC3C,UAAU,CAAC,EAAE,CACX,WAAW,EAAE,WAAW,GAAG,IAAI,KAC5B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,OAAO,CAAA;CAClD,EACD,yBAAyB,CAAC,EAAE,yBAAyB;;;;;;;;;;;;yBA4D65uT,CAAC;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAAwtK,CAAC;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAA1tK,CAAC;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAAwtK,CAAC;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;EAvD7q5T"}
|
package/dist/clerk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SignOutCallback, Clerk as ClerkClient, GetTokenOptions, SignOutOptions } from '@clerk/types';
|
|
2
2
|
import type { CurrentUser } from '@cedarjs/auth';
|
|
3
3
|
type AuthImplementationOptions = {
|
|
4
4
|
defaultGetTokenOptions?: GetTokenOptions;
|
|
@@ -7,9 +7,145 @@ export declare function createAuth(customProviderHooks?: {
|
|
|
7
7
|
useCurrentUser?: () => Promise<CurrentUser>;
|
|
8
8
|
useHasRole?: (currentUser: CurrentUser | null) => (rolesToCheck: string | string[]) => boolean;
|
|
9
9
|
}, authImplementationOptions?: AuthImplementationOptions): {
|
|
10
|
-
AuthContext: import("react").Context<import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined,
|
|
10
|
+
AuthContext: import("react").Context<import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined, ({
|
|
11
|
+
path: string | undefined;
|
|
12
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
13
|
+
} & {
|
|
14
|
+
forceRedirectUrl?: string | null;
|
|
15
|
+
fallbackRedirectUrl?: string | null;
|
|
16
|
+
signInUrl?: string;
|
|
17
|
+
signUpUrl?: string;
|
|
18
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
19
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
20
|
+
__experimental?: Record<string, any> & {
|
|
21
|
+
newComponents?: boolean;
|
|
22
|
+
};
|
|
23
|
+
waitlistUrl?: string;
|
|
24
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
25
|
+
withSignUp?: boolean;
|
|
26
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
27
|
+
oidcPrompt?: string;
|
|
28
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
29
|
+
path?: never;
|
|
30
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
31
|
+
} & {
|
|
32
|
+
forceRedirectUrl?: string | null;
|
|
33
|
+
fallbackRedirectUrl?: string | null;
|
|
34
|
+
signInUrl?: string;
|
|
35
|
+
signUpUrl?: string;
|
|
36
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
37
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
38
|
+
__experimental?: Record<string, any> & {
|
|
39
|
+
newComponents?: boolean;
|
|
40
|
+
};
|
|
41
|
+
waitlistUrl?: string;
|
|
42
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
43
|
+
withSignUp?: boolean;
|
|
44
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
45
|
+
oidcPrompt?: string;
|
|
46
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, SignOutCallback | SignOutOptions, void | undefined, ({
|
|
47
|
+
path: string | undefined;
|
|
48
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
49
|
+
} & {
|
|
50
|
+
forceRedirectUrl?: string | null;
|
|
51
|
+
fallbackRedirectUrl?: string | null;
|
|
52
|
+
signInUrl?: string;
|
|
53
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
54
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
55
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
56
|
+
__experimental?: Record<string, any> & {
|
|
57
|
+
newComponents?: boolean;
|
|
58
|
+
};
|
|
59
|
+
waitlistUrl?: string;
|
|
60
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
61
|
+
oidcPrompt?: string;
|
|
62
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
63
|
+
path?: never;
|
|
64
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
65
|
+
} & {
|
|
66
|
+
forceRedirectUrl?: string | null;
|
|
67
|
+
fallbackRedirectUrl?: string | null;
|
|
68
|
+
signInUrl?: string;
|
|
69
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
70
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
71
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
72
|
+
__experimental?: Record<string, any> & {
|
|
73
|
+
newComponents?: boolean;
|
|
74
|
+
};
|
|
75
|
+
waitlistUrl?: string;
|
|
76
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
77
|
+
oidcPrompt?: string;
|
|
78
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, unknown, unknown, unknown, unknown, ClerkClient | null> | undefined>;
|
|
11
79
|
AuthProvider: ({ children }: import("@cedarjs/auth").AuthProviderProps) => import("react").JSX.Element;
|
|
12
|
-
useAuth: () => import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined,
|
|
80
|
+
useAuth: () => import("@cedarjs/auth").AuthContextInterface<import("@clerk/types").UserResource | undefined, ({
|
|
81
|
+
path: string | undefined;
|
|
82
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
83
|
+
} & {
|
|
84
|
+
forceRedirectUrl?: string | null;
|
|
85
|
+
fallbackRedirectUrl?: string | null;
|
|
86
|
+
signInUrl?: string;
|
|
87
|
+
signUpUrl?: string;
|
|
88
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
89
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
90
|
+
__experimental?: Record<string, any> & {
|
|
91
|
+
newComponents?: boolean;
|
|
92
|
+
};
|
|
93
|
+
waitlistUrl?: string;
|
|
94
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
95
|
+
withSignUp?: boolean;
|
|
96
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
97
|
+
oidcPrompt?: string;
|
|
98
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
99
|
+
path?: never;
|
|
100
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
101
|
+
} & {
|
|
102
|
+
forceRedirectUrl?: string | null;
|
|
103
|
+
fallbackRedirectUrl?: string | null;
|
|
104
|
+
signInUrl?: string;
|
|
105
|
+
signUpUrl?: string;
|
|
106
|
+
appearance?: import("@clerk/types").SignInTheme;
|
|
107
|
+
initialValues?: import("@clerk/types").SignInInitialValues & import("@clerk/types").SignUpInitialValues;
|
|
108
|
+
__experimental?: Record<string, any> & {
|
|
109
|
+
newComponents?: boolean;
|
|
110
|
+
};
|
|
111
|
+
waitlistUrl?: string;
|
|
112
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
113
|
+
withSignUp?: boolean;
|
|
114
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
115
|
+
oidcPrompt?: string;
|
|
116
|
+
} & import("@clerk/types").TransferableOption & import("@clerk/types").SignUpForceRedirectUrl & import("@clerk/types").SignUpFallbackRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, SignOutCallback | SignOutOptions, void | undefined, ({
|
|
117
|
+
path: string | undefined;
|
|
118
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "path">;
|
|
119
|
+
} & {
|
|
120
|
+
forceRedirectUrl?: string | null;
|
|
121
|
+
fallbackRedirectUrl?: string | null;
|
|
122
|
+
signInUrl?: string;
|
|
123
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
124
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
125
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
126
|
+
__experimental?: Record<string, any> & {
|
|
127
|
+
newComponents?: boolean;
|
|
128
|
+
};
|
|
129
|
+
waitlistUrl?: string;
|
|
130
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
131
|
+
oidcPrompt?: string;
|
|
132
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl) | ({
|
|
133
|
+
path?: never;
|
|
134
|
+
routing?: Extract<import("@clerk/types").RoutingStrategy, "hash" | "virtual">;
|
|
135
|
+
} & {
|
|
136
|
+
forceRedirectUrl?: string | null;
|
|
137
|
+
fallbackRedirectUrl?: string | null;
|
|
138
|
+
signInUrl?: string;
|
|
139
|
+
appearance?: import("@clerk/types").SignUpTheme;
|
|
140
|
+
unsafeMetadata?: SignUpUnsafeMetadata;
|
|
141
|
+
initialValues?: import("@clerk/types").SignUpInitialValues;
|
|
142
|
+
__experimental?: Record<string, any> & {
|
|
143
|
+
newComponents?: boolean;
|
|
144
|
+
};
|
|
145
|
+
waitlistUrl?: string;
|
|
146
|
+
oauthFlow?: "auto" | "redirect" | "popup";
|
|
147
|
+
oidcPrompt?: string;
|
|
148
|
+
} & import("@clerk/types").SignInFallbackRedirectUrl & import("@clerk/types").SignInForceRedirectUrl & import("@clerk/types").LegacyRedirectProps & import("@clerk/types").AfterSignOutUrl), void, unknown, unknown, unknown, unknown, ClerkClient | null>;
|
|
13
149
|
};
|
|
14
150
|
export {};
|
|
15
151
|
//# sourceMappingURL=clerk.d.ts.map
|
package/dist/clerk.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clerk.d.ts","sourceRoot":"","sources":["../src/clerk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"clerk.d.ts","sourceRoot":"","sources":["../src/clerk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,eAAe,EACf,KAAK,IAAI,WAAW,EACpB,eAAe,EACf,cAAc,EACf,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,KAAK,yBAAyB,GAAG;IAC/B,sBAAsB,CAAC,EAAE,eAAe,CAAA;CACzC,CAAA;AAED,wBAAgB,UAAU,CACxB,mBAAmB,CAAC,EAAE;IACpB,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,CAAA;IAC3C,UAAU,CAAC,EAAE,CACX,WAAW,EAAE,WAAW,GAAG,IAAI,KAC5B,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,OAAO,CAAA;CAClD,EACD,yBAAyB,CAAC,EAAE,yBAAyB;;;;;;;;;;;;yBA4D65uT,CAAC;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAAwtK,CAAC;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAA1tK,CAAC;;;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;;;;;;;;;;;;;yBAAwtK,CAAC;;;;;;;;;;;;;;;;yBAAD,CAAC;;;;;;EAvD7q5T"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/auth-clerk-web",
|
|
3
|
-
"version": "1.1.1-next.
|
|
3
|
+
"version": "1.1.1-next.21+77cfbaa90",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"test:watch": "vitest watch"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@cedarjs/auth": "1.1.1-next.
|
|
52
|
+
"@cedarjs/auth": "1.1.1-next.21+77cfbaa90"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@cedarjs/framework-tools": "1.1.1-next.
|
|
56
|
-
"@clerk/clerk-react": "
|
|
57
|
-
"@clerk/types": "
|
|
55
|
+
"@cedarjs/framework-tools": "1.1.1-next.21",
|
|
56
|
+
"@clerk/clerk-react": "5.43.1",
|
|
57
|
+
"@clerk/types": "4.73.0",
|
|
58
58
|
"@types/react": "^18.2.55",
|
|
59
59
|
"concurrently": "8.2.2",
|
|
60
60
|
"publint": "0.3.12",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"vitest": "3.2.4"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@clerk/clerk-react": "
|
|
67
|
+
"@clerk/clerk-react": "5.43.1"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "77cfbaa90a726923a763fb33b836638d94b2d431"
|
|
73
73
|
}
|