UNPKG

@turnkey/react-wallet-kit

Version:

The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.

33 lines (31 loc) 1.04 kB
/**@internal */ var ExportType; (function (ExportType) { ExportType["Wallet"] = "WALLET"; ExportType["PrivateKey"] = "PRIVATE_KEY"; ExportType["WalletAccount"] = "WALLET_ACCOUNT"; })(ExportType || (ExportType = {})); /** * Enum representing the authentication states of the user. * - Unauthenticated: The user is not authenticated. * - Authenticated: The user is authenticated. */ var AuthState; (function (AuthState) { AuthState["Unauthenticated"] = "unauthenticated"; AuthState["Authenticated"] = "authenticated"; })(AuthState || (AuthState = {})); /** * Enum representing the states of the client. * - Loading: The client is currently loading. * - Ready: The client is ready for use. * - Error: An error occurred while initializing the client. */ var ClientState; (function (ClientState) { ClientState["Loading"] = "loading"; ClientState["Ready"] = "ready"; ClientState["Error"] = "error"; })(ClientState || (ClientState = {})); export { AuthState, ClientState, ExportType }; //# sourceMappingURL=base.mjs.map