@thetechfossil/auth2 1.2.21 → 1.2.22
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/README.md +7 -0
- package/dist/index.components.d.mts +14 -1
- package/dist/index.components.d.ts +14 -1
- package/dist/index.components.js +458 -59
- package/dist/index.components.js.map +1 -1
- package/dist/index.components.mjs +458 -60
- package/dist/index.components.mjs.map +1 -1
- package/dist/index.d.mts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +459 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +459 -60
- package/dist/index.mjs.map +1 -1
- package/dist/index.next.d.mts +16 -1
- package/dist/index.next.d.ts +16 -1
- package/dist/index.next.js +458 -59
- package/dist/index.next.js.map +1 -1
- package/dist/index.next.mjs +458 -60
- package/dist/index.next.mjs.map +1 -1
- package/dist/index.next.server.d.mts +2 -0
- package/dist/index.next.server.d.ts +2 -0
- package/dist/index.next.server.js +14 -0
- package/dist/index.next.server.js.map +1 -1
- package/dist/index.next.server.mjs +14 -0
- package/dist/index.next.server.mjs.map +1 -1
- package/dist/index.node.d.mts +2 -0
- package/dist/index.node.d.ts +2 -0
- package/dist/index.node.js +14 -0
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +14 -0
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.next.d.mts
CHANGED
|
@@ -162,6 +162,8 @@ declare class AuthService {
|
|
|
162
162
|
constructor(config: AuthConfig);
|
|
163
163
|
private loadTokenFromStorage;
|
|
164
164
|
private saveTokenToStorage;
|
|
165
|
+
private setTokenCookie;
|
|
166
|
+
private removeTokenCookie;
|
|
165
167
|
private removeTokenFromStorage;
|
|
166
168
|
private connectSocket;
|
|
167
169
|
private disconnectSocket;
|
|
@@ -505,6 +507,19 @@ interface UserProfileProps {
|
|
|
505
507
|
}
|
|
506
508
|
declare const UserProfile: React.FC<UserProfileProps>;
|
|
507
509
|
|
|
510
|
+
interface SuperAdminSignInProps {
|
|
511
|
+
redirectUrl?: string;
|
|
512
|
+
appearance?: {
|
|
513
|
+
elements?: {
|
|
514
|
+
formButtonPrimary?: React.CSSProperties;
|
|
515
|
+
card?: React.CSSProperties;
|
|
516
|
+
headerTitle?: React.CSSProperties;
|
|
517
|
+
formFieldInput?: React.CSSProperties;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
declare const SuperAdminSignIn: React.FC<SuperAdminSignInProps>;
|
|
522
|
+
|
|
508
523
|
interface PhoneInputProps {
|
|
509
524
|
value: string;
|
|
510
525
|
onChange: (value: string) => void;
|
|
@@ -588,4 +603,4 @@ interface UseNextAuthReturn {
|
|
|
588
603
|
}
|
|
589
604
|
declare const useNextAuth: (config: AuthConfig) => UseNextAuthReturn;
|
|
590
605
|
|
|
591
|
-
export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
|
|
606
|
+
export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, SuperAdminSignIn, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
|
package/dist/index.next.d.ts
CHANGED
|
@@ -162,6 +162,8 @@ declare class AuthService {
|
|
|
162
162
|
constructor(config: AuthConfig);
|
|
163
163
|
private loadTokenFromStorage;
|
|
164
164
|
private saveTokenToStorage;
|
|
165
|
+
private setTokenCookie;
|
|
166
|
+
private removeTokenCookie;
|
|
165
167
|
private removeTokenFromStorage;
|
|
166
168
|
private connectSocket;
|
|
167
169
|
private disconnectSocket;
|
|
@@ -505,6 +507,19 @@ interface UserProfileProps {
|
|
|
505
507
|
}
|
|
506
508
|
declare const UserProfile: React.FC<UserProfileProps>;
|
|
507
509
|
|
|
510
|
+
interface SuperAdminSignInProps {
|
|
511
|
+
redirectUrl?: string;
|
|
512
|
+
appearance?: {
|
|
513
|
+
elements?: {
|
|
514
|
+
formButtonPrimary?: React.CSSProperties;
|
|
515
|
+
card?: React.CSSProperties;
|
|
516
|
+
headerTitle?: React.CSSProperties;
|
|
517
|
+
formFieldInput?: React.CSSProperties;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
declare const SuperAdminSignIn: React.FC<SuperAdminSignInProps>;
|
|
522
|
+
|
|
508
523
|
interface PhoneInputProps {
|
|
509
524
|
value: string;
|
|
510
525
|
onChange: (value: string) => void;
|
|
@@ -588,4 +603,4 @@ interface UseNextAuthReturn {
|
|
|
588
603
|
}
|
|
589
604
|
declare const useNextAuth: (config: AuthConfig) => UseNextAuthReturn;
|
|
590
605
|
|
|
591
|
-
export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
|
|
606
|
+
export { type AuditLog, type AuthConfig, AuthFlow, AuthProvider, type AuthResponse, AuthService, AuthThemeProvider, AvatarManager, type AvatarManagerProps, AvatarUploader, type AvatarUploaderProps, ChangePassword, type CsrfTokenResponse, EmailVerificationPage, ForgotPassword, HttpClient, type LinkedAccount, type LoginData, LoginForm, type MFASetup, type OAuthConfig, type OAuthProvider, OtpForm, PhoneInput, ProtectedRoute, PublicRoute, type RegisterData, RegisterForm, type RegisterFormProps, ResetPassword, type Session, SignIn, SignOut, SignUp, SuperAdminSignIn, type UpdateUserData, type UpfilesConfig, type UseAuthReturn, type User, UserButton, UserProfile, type VerifyData, VerifyEmail, useAuth, useAuth$1 as useAuthLegacy, useAuthTheme, useNextAuth };
|