@vaiftech/auth 1.1.3 → 1.5.7
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.
|
@@ -618,4 +618,4 @@ declare class VaifAuthClient {
|
|
|
618
618
|
*/
|
|
619
619
|
declare function createAuthClient(config: AuthClientConfig): VaifAuthClient;
|
|
620
620
|
|
|
621
|
-
export { type AsyncStorageAdapter as A, type
|
|
621
|
+
export { type AsyncStorageAdapter as A, type SignUpOptions as B, type ConfirmEmailChangeOptions as C, type UpdateUserOptions as D, type User as E, type UserInfo as F, type VerifyOTPOptions as G, createAuthClient as H, InvalidCredentialsError as I, isMFAChallenge as J, type MFAChallenge as M, type OAuthIdentity as O, type ResetPasswordOptions as R, type StorageAdapter as S, type TokenRefreshResponse as T, type UpdatePasswordOptions as U, VaifAuthClient as V, type Session as a, type AuthChangeEvent as b, type AuthClientConfig as c, AuthError as d, type AuthErrorCode as e, type AuthEventType as f, type AuthResponse as g, type AuthStateChangeCallback as h, type AuthSubscription as i, type MFAChallengeOptions as j, type MFAChallengeResponse as k, type MFAFactor as l, type MFAMethod as m, type MFASetupResponse as n, type MFAVerifyOptions as o, type OAuthProviderType as p, type OAuthResponse as q, SessionExpiredError as r, type SessionInfo as s, type SetPasswordOptions as t, type SignInAnonymouslyOptions as u, type SignInWithMagicLinkOptions as v, type SignInWithOAuthOptions as w, type SignInWithOTPOptions as x, type SignInWithPasswordOptions as y, type SignInWithSSOOptions as z };
|
|
@@ -618,4 +618,4 @@ declare class VaifAuthClient {
|
|
|
618
618
|
*/
|
|
619
619
|
declare function createAuthClient(config: AuthClientConfig): VaifAuthClient;
|
|
620
620
|
|
|
621
|
-
export { type AsyncStorageAdapter as A, type
|
|
621
|
+
export { type AsyncStorageAdapter as A, type SignUpOptions as B, type ConfirmEmailChangeOptions as C, type UpdateUserOptions as D, type User as E, type UserInfo as F, type VerifyOTPOptions as G, createAuthClient as H, InvalidCredentialsError as I, isMFAChallenge as J, type MFAChallenge as M, type OAuthIdentity as O, type ResetPasswordOptions as R, type StorageAdapter as S, type TokenRefreshResponse as T, type UpdatePasswordOptions as U, VaifAuthClient as V, type Session as a, type AuthChangeEvent as b, type AuthClientConfig as c, AuthError as d, type AuthErrorCode as e, type AuthEventType as f, type AuthResponse as g, type AuthStateChangeCallback as h, type AuthSubscription as i, type MFAChallengeOptions as j, type MFAChallengeResponse as k, type MFAFactor as l, type MFAMethod as m, type MFASetupResponse as n, type MFAVerifyOptions as o, type OAuthProviderType as p, type OAuthResponse as q, SessionExpiredError as r, type SessionInfo as s, type SetPasswordOptions as t, type SignInAnonymouslyOptions as u, type SignInWithMagicLinkOptions as v, type SignInWithOAuthOptions as w, type SignInWithOTPOptions as x, type SignInWithPasswordOptions as y, type SignInWithSSOOptions as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageAdapter, A as AsyncStorageAdapter, a as Session } from './client-
|
|
2
|
-
export {
|
|
1
|
+
import { S as StorageAdapter, A as AsyncStorageAdapter, a as Session } from './client-BOk5Awxz.mjs';
|
|
2
|
+
export { b as AuthChangeEvent, c as AuthClientConfig, d as AuthError, e as AuthErrorCode, f as AuthEventType, g as AuthResponse, h as AuthStateChangeCallback, i as AuthSubscription, C as ConfirmEmailChangeOptions, I as InvalidCredentialsError, M as MFAChallenge, j as MFAChallengeOptions, k as MFAChallengeResponse, l as MFAFactor, m as MFAMethod, n as MFASetupResponse, o as MFAVerifyOptions, O as OAuthIdentity, p as OAuthProviderType, q as OAuthResponse, R as ResetPasswordOptions, r as SessionExpiredError, s as SessionInfo, t as SetPasswordOptions, u as SignInAnonymouslyOptions, v as SignInWithMagicLinkOptions, w as SignInWithOAuthOptions, x as SignInWithOTPOptions, y as SignInWithPasswordOptions, z as SignInWithSSOOptions, B as SignUpOptions, T as TokenRefreshResponse, U as UpdatePasswordOptions, D as UpdateUserOptions, E as User, F as UserInfo, V as VaifAuthClient, G as VerifyOTPOptions, H as createAuthClient, J as isMFAChallenge } from './client-BOk5Awxz.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @vaiftech/auth - Storage utilities
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorageAdapter, A as AsyncStorageAdapter, a as Session } from './client-
|
|
2
|
-
export {
|
|
1
|
+
import { S as StorageAdapter, A as AsyncStorageAdapter, a as Session } from './client-BOk5Awxz.js';
|
|
2
|
+
export { b as AuthChangeEvent, c as AuthClientConfig, d as AuthError, e as AuthErrorCode, f as AuthEventType, g as AuthResponse, h as AuthStateChangeCallback, i as AuthSubscription, C as ConfirmEmailChangeOptions, I as InvalidCredentialsError, M as MFAChallenge, j as MFAChallengeOptions, k as MFAChallengeResponse, l as MFAFactor, m as MFAMethod, n as MFASetupResponse, o as MFAVerifyOptions, O as OAuthIdentity, p as OAuthProviderType, q as OAuthResponse, R as ResetPasswordOptions, r as SessionExpiredError, s as SessionInfo, t as SetPasswordOptions, u as SignInAnonymouslyOptions, v as SignInWithMagicLinkOptions, w as SignInWithOAuthOptions, x as SignInWithOTPOptions, y as SignInWithPasswordOptions, z as SignInWithSSOOptions, B as SignUpOptions, T as TokenRefreshResponse, U as UpdatePasswordOptions, D as UpdateUserOptions, E as User, F as UserInfo, V as VaifAuthClient, G as VerifyOTPOptions, H as createAuthClient, J as isMFAChallenge } from './client-BOk5Awxz.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @vaiftech/auth - Storage utilities
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { c as AuthClientConfig, V as VaifAuthClient, a as Session, E as User, B as SignUpOptions, g as AuthResponse, M as MFAChallenge, y as SignInWithPasswordOptions, w as SignInWithOAuthOptions, v as SignInWithMagicLinkOptions, O as OAuthIdentity, p as OAuthProviderType, q as OAuthResponse, l as MFAFactor, n as MFASetupResponse, s as SessionInfo } from './client-BOk5Awxz.mjs';
|
|
2
|
+
export { b as AuthChangeEvent, f as AuthEventType, i as AuthSubscription, z as SignInWithSSOOptions, H as createAuthClient } from './client-BOk5Awxz.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { c as AuthClientConfig, V as VaifAuthClient, a as Session, E as User, B as SignUpOptions, g as AuthResponse, M as MFAChallenge, y as SignInWithPasswordOptions, w as SignInWithOAuthOptions, v as SignInWithMagicLinkOptions, O as OAuthIdentity, p as OAuthProviderType, q as OAuthResponse, l as MFAFactor, n as MFASetupResponse, s as SessionInfo } from './client-BOk5Awxz.js';
|
|
2
|
+
export { b as AuthChangeEvent, f as AuthEventType, i as AuthSubscription, z as SignInWithSSOOptions, H as createAuthClient } from './client-BOk5Awxz.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaiftech/auth",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.7",
|
|
4
4
|
"description": "Comprehensive authentication SDK for VAIF - Session management, OAuth, MFA, and more",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/react": "^18.2.0",
|
|
26
26
|
"react": "^18.2.0",
|
|
27
27
|
"tsup": "^8.5.1",
|
|
28
|
-
"typescript": "^5.
|
|
28
|
+
"typescript": "^5.8.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=18.0.0"
|