UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

40 lines (39 loc) 1.6 kB
import { ThreeDS2FlowObject } from './types'; export declare const THREEDS2_FINGERPRINT = "threeDS2Fingerprint"; export declare const THREEDS2_FINGERPRINT_ERROR = "3DS2Fingerprint_Error"; export declare const THREEDS2_FINGERPRINT_SUBMIT = "callSubmit3DS2Fingerprint_Response"; export declare const THREEDS2_CHALLENGE = "threeDS2Challenge"; export declare const THREEDS2_CHALLENGE_ERROR = "3DS2Challenge_Error"; export declare const THREEDS2_ERROR = "threeDS2Error"; export declare const THREEDS2_FULL = "threeDS2"; export declare const THREEDS2_NUM = "3DS2"; export declare const MISSING_TOKEN_IN_ACTION_MSG = "Missing \"token\" property from threeDS2 action"; export declare const DEFAULT_CHALLENGE_WINDOW_SIZE = "02"; export declare const THREEDS_METHOD_TIMEOUT = 10000; export declare const CHALLENGE_TIMEOUT = 600000; export declare const CHALLENGE_TIMEOUT_REJECT_OBJECT: ThreeDS2FlowObject; export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT: ThreeDS2FlowObject; export declare const FAILED_METHOD_STATUS_RESOLVE_OBJECT_TIMEOUT: ThreeDS2FlowObject; export declare const ERRORS: { TIME_OUT: string; WRONG_ORIGIN: string; HTML_ELEMENT: string; WRONG_DATA_TYPE: string; MISSING_PROPERTY: string; UNKNOWN: string; }; export declare const ERROR_MESSAGES: { timeout: string; wrongOrigin: string; HTMLElementError: string; wrongDataType: string; missingProperty: string; unknownError: string; }; export declare const CHALLENGE_WINDOW_SIZES: { '01': string[]; '02': string[]; '03': string[]; '04': string[]; '05': string[]; };