@adyen/adyen-web 5.64.0 → 5.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/types/components/GooglePay/GooglePay.d.ts +1 -0
- package/dist/types/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.d.ts +2 -2
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.d.ts +3 -3
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/core/Analytics/constants.d.ts +8 -0
- package/dist/types/core/Analytics/types.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/components/Ideal/index.d.ts +0 -5
|
@@ -4,7 +4,7 @@ import '../../ThreeDS2.scss';
|
|
|
4
4
|
import './challenge.scss';
|
|
5
5
|
import { ActionHandledReturnObject } from '../../../types';
|
|
6
6
|
declare class PrepareChallenge3DS2 extends Component<PrepareChallenge3DS2Props, PrepareChallenge3DS2State> {
|
|
7
|
-
static defaultProps: {
|
|
7
|
+
static readonly defaultProps: {
|
|
8
8
|
onComplete: () => void;
|
|
9
9
|
onError: () => void;
|
|
10
10
|
onActionHandled: () => void;
|
|
@@ -12,7 +12,7 @@ declare class PrepareChallenge3DS2 extends Component<PrepareChallenge3DS2Props,
|
|
|
12
12
|
constructor(props: any);
|
|
13
13
|
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
|
|
14
14
|
onFormSubmit: (msg: string) => void;
|
|
15
|
-
setStatusComplete(resultObj: any): void;
|
|
15
|
+
setStatusComplete(resultObj: any, isTimeout?: boolean): void;
|
|
16
16
|
setStatusError(errorInfoObj: any): void;
|
|
17
17
|
render(_: any, { challengeData }: {
|
|
18
18
|
challengeData: any;
|
package/dist/types/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { PrepareFingerprint3DS2Props, PrepareFingerprint3DS2State } from './type
|
|
|
3
3
|
import { ResultObject } from '../../types';
|
|
4
4
|
import { ActionHandledReturnObject } from '../../../types';
|
|
5
5
|
declare class PrepareFingerprint3DS2 extends Component<PrepareFingerprint3DS2Props, PrepareFingerprint3DS2State> {
|
|
6
|
-
static type
|
|
7
|
-
static defaultProps: {
|
|
6
|
+
static readonly type = "scheme";
|
|
7
|
+
static readonly defaultProps: {
|
|
8
8
|
onComplete: () => void;
|
|
9
9
|
onError: () => void;
|
|
10
10
|
paymentData: string;
|
|
@@ -15,7 +15,7 @@ declare class PrepareFingerprint3DS2 extends Component<PrepareFingerprint3DS2Pro
|
|
|
15
15
|
onActionHandled: (rtnObj: ActionHandledReturnObject) => void;
|
|
16
16
|
onFormSubmit: (msg: string) => void;
|
|
17
17
|
componentDidMount(): void;
|
|
18
|
-
setStatusComplete(resultObj: ResultObject): void;
|
|
18
|
+
setStatusComplete(resultObj: ResultObject, isTimeout?: boolean): void;
|
|
19
19
|
render({ showSpinner }: {
|
|
20
20
|
showSpinner: any;
|
|
21
21
|
}, { status, fingerPrintData }: {
|
|
@@ -13,7 +13,6 @@ import GooglePay from './GooglePay';
|
|
|
13
13
|
import Entercash from './Entercash';
|
|
14
14
|
import Econtext from './Econtext';
|
|
15
15
|
import { FacilyPay3x, FacilyPay4x, FacilyPay6x, FacilyPay10x, FacilyPay12x } from './FacilyPay';
|
|
16
|
-
import Ideal from './Ideal';
|
|
17
16
|
import PayPal from './PayPal';
|
|
18
17
|
import QiwiWallet from './QiwiWallet';
|
|
19
18
|
import Redirect from './Redirect';
|
|
@@ -151,7 +150,6 @@ declare const componentsMap: {
|
|
|
151
150
|
dotpay: typeof Dotpay;
|
|
152
151
|
entercash: typeof Entercash;
|
|
153
152
|
eps: typeof Eps;
|
|
154
|
-
ideal: typeof Ideal;
|
|
155
153
|
molpay_ebanking_fpx_MY: typeof MolPayEBankingMY;
|
|
156
154
|
molpay_ebanking_TH: typeof MolPayEBankingTH;
|
|
157
155
|
molpay_ebanking_VN: typeof MolPayEBankingVN;
|
|
@@ -72,3 +72,11 @@ export declare const errorCodeMapping: {
|
|
|
72
72
|
};
|
|
73
73
|
export declare const ANALYTICS_EXPRESS_PAGES_ARRAY: string[];
|
|
74
74
|
export declare const ALLOWED_ANALYTICS_DATA: string[];
|
|
75
|
+
export declare enum Analytics3DS2Events {
|
|
76
|
+
FINGERPRINT_DATA_SENT = "fingerprintDataSentWeb",
|
|
77
|
+
FINGERPRINT_IFRAME_LOADED = "fingerprintIframeLoaded",
|
|
78
|
+
FINGERPRINT_COMPLETED = "fingerprintCompleted",
|
|
79
|
+
CHALLENGE_DATA_SENT = "challengeDataSentWeb",
|
|
80
|
+
CHALLENGE_IFRAME_LOADED = "challengeIframeLoaded",
|
|
81
|
+
CHALLENGE_COMPLETED = "challengeCompleted"
|
|
82
|
+
}
|
|
@@ -74,6 +74,7 @@ export interface AnalyticsObject {
|
|
|
74
74
|
issuer?: string;
|
|
75
75
|
isExpress?: boolean;
|
|
76
76
|
expressPage?: string;
|
|
77
|
+
result?: string;
|
|
77
78
|
}
|
|
78
79
|
export type ANALYTICS_EVENT = 'log' | 'error' | 'info';
|
|
79
80
|
export type CreateAnalyticsObject = Omit<AnalyticsObject, 'timestamp' | 'id'> & {
|
package/package.json
CHANGED