UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

11 lines (10 loc) 562 B
import { GetAddressOpts, InternalWalletConnector } from '@dynamic-labs/wallet-connector-core'; export type OnlyConnectUserProps = { getAddressOpts?: GetAddressOpts; walletConnector: InternalWalletConnector; shouldShowPendingConnectView?: boolean; }; export declare const useConnectAndSignSplitSteps: () => { onlyConnectUser: ({ walletConnector, getAddressOpts, shouldShowPendingConnectView, }: OnlyConnectUserProps) => Promise<void>; signAlreadyConnectedUser: ({ walletConnector, getAddressOpts, }: OnlyConnectUserProps) => Promise<void>; };