UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

10 lines (9 loc) 514 B
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, WalletWithdrawalConfig } from '~/providers/FunkitCheckoutContext'; /** * Type guard to check if withdrawal config uses wallet-based flow */ export declare function isWalletWithdrawalConfig(config: FunkitWithdrawalConfig): config is WalletWithdrawalConfig; /** * Type guard to check if withdrawal config uses custom callback flow */ export declare function isCustomWithdrawalConfig(config: FunkitWithdrawalConfig): config is CustomWithdrawalConfig;