diff --git a/packages/base/src/hooks/index.ts b/packages/base/src/hooks/index.ts index dcd407313..09ab3f90d 100644 --- a/packages/base/src/hooks/index.ts +++ b/packages/base/src/hooks/index.ts @@ -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 | null; isMFAEnabled: boolean; - isInitialized: boolean; status: ADAPTER_STATUS_TYPE | null; enableMFA(params?: LoginParams): Promise; logout(params?: { cleanup: boolean }): Promise;