UNPKG

frm-widget

Version:

An embeddable Fraud Risk Management - Login & Transaction

21 lines (20 loc) 1 kB
import { DeviceInfo } from '../types'; export declare const getOS: () => string; export declare const deviceModel: any; export declare const getTimestamp: () => string; export declare const timeZone: string; export declare const getDeviceId: () => string; export declare const getDeviceType: () => "Mobile" | "Tablet" | "Desktop"; export declare const getIpAndIsp: () => Promise<{ ip_address: any; isp_name: any; }>; export declare const getFingerprint: () => Promise<string>; export declare const getNetworkType: () => string; export declare const getTheNetworProvider: () => void; export declare function isVpn(): Promise<boolean>; export declare const getIpInfo: () => Promise<any>; export declare const buildDevicePayload: (ipInfoToken?: string) => Promise<DeviceInfo | null>; export declare function formatCurrency(value: any, currency?: string, locale?: string): string; export declare function stringToASCIIAccountNo(str: any): any; export default function getGeo(): Promise<unknown>;