@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
8 lines (7 loc) • 415 B
TypeScript
import type { Address } from 'viem';
/**
* Handles the starting and stopping of checkout history listeners based on the calling component's mount/unmount status
* Each hook will store and track its own intervalId
*/
export declare function useCheckoutHistoryListener(activate?: boolean, singleDepositAddr?: Address | undefined): void;
export declare function useSIWFarcasterListener(channelToken: string): void;