UNPKG

@paypayhub/sqala-3ds-js

Version:

A vanilla library for implementing 3D Secure authentication flows in payment applications

15 lines 636 B
import { Authentication, Logger, ThreeDSecureParameters } from '../types'; export type UseApiOptions = { baseUrl?: string; publicKey: string; }; export declare class ApiServicePolling { private readonly logger; private readonly publicKey; private readonly baseUrl; private pollingIntervalMs; constructor(logger: Logger, publicKey: string, baseUrl?: string); executeAuthentication(parameters: ThreeDSecureParameters, abortSignal: AbortSignal): AsyncIterableIterator<Authentication>; setBrowserData(parameters: ThreeDSecureParameters): Promise<void>; } //# sourceMappingURL=api-service-polling.d.ts.map