UNPKG

@perawallet/connect

Version:

JavaScript SDK for integrating Pera Wallet to web applications.

17 lines (16 loc) 551 B
import { PeraWalletFlowType } from "../peraWalletTypes"; declare function isAndroid(): boolean; declare function isIOS(): boolean; declare function isMobile(): boolean; /** * Detects the browser name * @returns {BrowserName} Browser name */ declare function detectBrowser(): string | null; /** * Returns the flow type based on the browser * * @returns {PeraWalletFlowType} EMBEDDED | NEW_TAB */ declare function peraWalletFlowType(): PeraWalletFlowType; export { isAndroid, isIOS, isMobile, detectBrowser, peraWalletFlowType };