@thetechfossil/auth2 1.2.3 → 1.2.4
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/index.components.d.ts +14 -1
- package/dist/index.components.js +1284 -638
- package/dist/index.components.js.map +1 -1
- package/dist/index.components.mjs +1186 -543
- package/dist/index.components.mjs.map +1 -1
- package/dist/index.d.ts +46 -4
- package/dist/index.js +1364 -669
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1237 -544
- package/dist/index.mjs.map +1 -1
- package/dist/index.next.d.ts +39 -5
- package/dist/index.next.js +1382 -687
- package/dist/index.next.js.map +1 -1
- package/dist/index.next.mjs +1234 -544
- package/dist/index.next.mjs.map +1 -1
- package/dist/index.next.server.d.ts +14 -4
- package/dist/index.next.server.js +15 -9
- package/dist/index.next.server.js.map +1 -1
- package/dist/index.next.server.mjs +15 -9
- package/dist/index.next.server.mjs.map +1 -1
- package/dist/index.node.d.ts +14 -4
- package/dist/index.node.js +15 -9
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +15 -9
- package/dist/index.node.mjs.map +1 -1
- package/package.json +3 -2
- package/README.NEW.md +0 -365
|
@@ -33,6 +33,7 @@ interface RegisterFormProps {
|
|
|
33
33
|
authConfig?: AuthConfig;
|
|
34
34
|
oauthProviders?: Array<'google' | 'github'>;
|
|
35
35
|
showOAuthButtons?: boolean;
|
|
36
|
+
invitationToken?: string | null;
|
|
36
37
|
}
|
|
37
38
|
declare const RegisterForm: React.FC<RegisterFormProps>;
|
|
38
39
|
|
|
@@ -40,6 +41,7 @@ interface OtpFormProps {
|
|
|
40
41
|
email: string;
|
|
41
42
|
onVerifySuccess?: () => void;
|
|
42
43
|
onBackToLogin?: () => void;
|
|
44
|
+
baseUrl?: string;
|
|
43
45
|
}
|
|
44
46
|
declare const OtpForm: React.FC<OtpFormProps>;
|
|
45
47
|
|
|
@@ -169,4 +171,15 @@ interface UserProfileProps {
|
|
|
169
171
|
}
|
|
170
172
|
declare const UserProfile: React.FC<UserProfileProps>;
|
|
171
173
|
|
|
172
|
-
|
|
174
|
+
interface PhoneInputProps {
|
|
175
|
+
value: string;
|
|
176
|
+
onChange: (value: string) => void;
|
|
177
|
+
disabled?: boolean;
|
|
178
|
+
required?: boolean;
|
|
179
|
+
placeholder?: string;
|
|
180
|
+
id?: string;
|
|
181
|
+
style?: React.CSSProperties;
|
|
182
|
+
}
|
|
183
|
+
declare const PhoneInput: React.FC<PhoneInputProps>;
|
|
184
|
+
|
|
185
|
+
export { AuthFlow, ChangePassword, EmailVerificationPage, ForgotPassword, LoginForm, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, RegisterForm, RegisterFormProps, ResetPassword, SignIn, SignOut, SignUp, UserButton, UserProfile, VerifyEmail };
|