@pushchain/ui-kit
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
14 lines (13 loc) • 442 B
TypeScript
type WaapLoginResult = {
address: string;
loginType: 'human' | 'walletconnect' | 'injected' | null;
};
export declare const useWaapAuth: () => {
address: string | null;
loginType: "human" | "walletconnect" | "injected" | null;
error: Error | null;
loginWithWaapSocial: () => Promise<WaapLoginResult | null>;
logoutWaap: () => Promise<void>;
tryAutoConnect: () => Promise<WaapLoginResult | null>;
};
export {};