@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.
@@ -54,6 +54,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
54
54
  formatData(): {
55
55
  paymentMethod: any;
56
56
  browserInfo: import("../../types").BrowserInfo;
57
+ origin: string;
57
58
  };
58
59
  submit: () => Promise<void>;
59
60
  /**
@@ -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;
@@ -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: string;
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
@@ -25,7 +25,7 @@
25
25
  "./dist/es/adyen.css": "./dist/es/adyen.css",
26
26
  "./package.json": "./package.json"
27
27
  },
28
- "version": "5.64.0",
28
+ "version": "5.65.0",
29
29
  "license": "MIT",
30
30
  "homepage": "https://docs.adyen.com/checkout",
31
31
  "repository": "github:Adyen/adyen-web",
@@ -1,5 +0,0 @@
1
- import IssuerListContainer from '../helpers/IssuerListContainer';
2
- declare class IdealElement extends IssuerListContainer {
3
- static type: string;
4
- }
5
- export default IdealElement;