Skip to content

Commit

Permalink
expose remaining react hooks types
Browse files Browse the repository at this point in the history
  • Loading branch information
BboyStatix committed Sep 19, 2024
1 parent 286b3ca commit a0b59c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/base/src/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ import { CustomChainConfig } from "../chain/IChainInterface";
import { IPlugin } from "../plugin";

export interface IBaseWeb3AuthHookContext {
isInitialized: boolean;
isInitializing: boolean;
initError: unknown;
isConnected: boolean;
isConnecting: boolean;
connectError: unknown;
provider: IProvider | null;
userInfo: Partial<AuthUserInfo> | null;
isMFAEnabled: boolean;
isInitialized: boolean;
status: ADAPTER_STATUS_TYPE | null;
enableMFA(params?: LoginParams): Promise<void>;
logout(params?: { cleanup: boolean }): Promise<void>;
Expand Down

0 comments on commit a0b59c3

Please sign in to comment.