UNPKG

trust-mfa-sdk

Version:

TrustJS - Blockchain-powered MFA verification SDK. Trust is the only way.

25 lines 1.02 kB
export default class TrustJS { constructor(config: any); config: any; apiClient: ApiClient; paymentManager: PaymentManager; mfaManager: MfaManager; stripePromise: Promise<import("@stripe/stripe-js").Stripe | null>; listeners: Map<any, any>; getVersion(): string; on(event: any, callback: any): () => void; off(event: any, callback: any): void; emit(event: any, data: any): void; createPayment(options: any): Promise<any>; verifyMfa(orderId: any, code: any): Promise<any>; confirmPayment(clientSecret: any, paymentMethodId: any): Promise<import("@stripe/stripe-js").PaymentIntent>; getAnalytics(options?: {}): Promise<any>; getFraudPatterns(options?: {}): Promise<any>; verifyBlockchain(transactionHash: any): Promise<any>; updateConfig(newConfig: any): void; destroy(): void; } import ApiClient from './ApiClient.js'; import PaymentManager from './PaymentManager.js'; import MfaManager from './MfaManager.js'; //# sourceMappingURL=TrustJS.d.ts.map