@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
10 lines (9 loc) • 692 B
TypeScript
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
import type { FunkitProviderProps } from '../providers/FunkitProvider';
export declare function getInitialChainIdFromFunkitProviderProps(props: FunkitProviderProps): number | undefined;
export declare function generateSyntheticUserId(apiKey: string, externalUserId: string): string;
/**
* Validates the passed in props of FunkitProvider. If there are any misconfigurations, an error will be thrown.
*/
export declare function validateFunkitProviderProps(props: FunkitProviderProps): void;
export declare function getModalTitle(checkoutConfig: FunkitCheckoutConfig | undefined, fallbackTitle?: string): string;