@adyen/adyen-web 5.28.0 → 5.28.2

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.
@@ -1,6 +1,6 @@
1
1
  import Language from '../../../../language/Language';
2
2
  import { StylesObject } from '../../../internal/SecuredFields/lib/types';
3
- import UIElement from "../../../UIElement";
3
+ import UIElement from '../../../UIElement';
4
4
  export interface ACHInputStateValid {
5
5
  holderName?: boolean;
6
6
  billingAddress?: boolean;
@@ -52,5 +52,6 @@ export interface ACHInputProps {
52
52
  showWarnings?: boolean;
53
53
  styles?: StylesObject;
54
54
  type?: string;
55
+ forceCompat?: boolean;
55
56
  }
56
57
  export {};
@@ -53,40 +53,69 @@ import UPI from './UPI';
53
53
  import WalletINElement from './WalletIN';
54
54
  import OnlineBankingCZElement from './OnlineBankingCZ';
55
55
  import OnlineBankingSKElement from './OnlineBankingSK';
56
- import PayByBank from "./PayByBank";
56
+ import PayByBank from './PayByBank';
57
57
  /**
58
58
  * Maps each component with a Component element.
59
59
  */
60
60
  declare const componentsMap: {
61
+ /** internal */
62
+ address: typeof Address;
63
+ bankTransfer_IBAN: typeof BankTransfer;
64
+ donation: typeof Donation;
61
65
  dropin: typeof Dropin;
66
+ personal_details: typeof PersonalDetails;
67
+ /** internal */
68
+ /** Card */
69
+ amex: typeof Card;
70
+ bcmc: typeof Bancontact;
71
+ card: typeof Card;
72
+ diners: typeof Card;
73
+ discover: typeof Card;
74
+ jcb: typeof Card;
75
+ kcp: typeof Card;
76
+ maestro: typeof Card;
77
+ mc: typeof Card;
78
+ scheme: typeof Card;
79
+ storedCard: typeof Card;
80
+ securedfields: typeof SecuredFields;
81
+ threeDS2Challenge: typeof ThreeDS2Challenge;
82
+ threeDS2DeviceFingerprint: typeof ThreeDS2DeviceFingerprint;
83
+ visa: typeof Card;
84
+ /** Card */
85
+ /** Direct debit */
62
86
  ach: typeof Ach;
63
- address: typeof Address;
87
+ directdebit_GB: typeof BacsDD;
88
+ sepadirectdebit: typeof Sepa;
89
+ /** Direct debit */
90
+ /** Open Invoice */
91
+ affirm: typeof Affirm;
64
92
  afterpay: typeof AfterPay;
65
93
  afterpay_default: typeof AfterPay;
66
94
  afterpay_b2b: typeof AfterPayB2B;
95
+ atome: typeof Atome;
96
+ facilypay_3x: typeof FacilyPay3x;
97
+ facilypay_4x: typeof FacilyPay4x;
98
+ facilypay_6x: typeof FacilyPay6x;
99
+ facilypay_10x: typeof FacilyPay10x;
100
+ facilypay_12x: typeof FacilyPay12x;
101
+ ratepay: typeof RatePay;
102
+ ratepay_directdebit: typeof RatePayDirectDebit;
103
+ /** Open Invoice */
104
+ /** Wallets */
67
105
  amazonpay: typeof AmazonPay;
68
- amex: typeof Card;
69
106
  applepay: typeof ApplePay;
70
- atome: typeof Atome;
71
- bankTransfer_IBAN: typeof BankTransfer;
72
- bcmc: typeof Bancontact;
73
- bcmc_mobile: typeof BcmcMobile;
74
- bcmc_mobile_QR: typeof BcmcMobile;
75
- blik: typeof Blik;
76
- billdesk_online: typeof BillDeskOnline;
77
- billdesk_wallet: typeof BillDeskWallet;
107
+ googlepay: typeof GooglePay;
108
+ paypal: typeof PayPal;
109
+ paywithgoogle: typeof GooglePay;
110
+ qiwiwallet: typeof QiwiWallet;
111
+ /** Wallets */
112
+ /** Voucher */
78
113
  boletobancario: typeof Boleto;
79
114
  boletobancario_bancodobrasil: typeof Boleto;
80
115
  boletobancario_bradesco: typeof Boleto;
81
116
  boletobancario_hsbc: typeof Boleto;
82
117
  boletobancario_itau: typeof Boleto;
83
118
  boletobancario_santander: typeof Boleto;
84
- primeiropay_boleto: typeof Boleto;
85
- card: typeof Card;
86
- storedCard: typeof Card;
87
- diners: typeof Card;
88
- directdebit_GB: typeof BacsDD;
89
- discover: typeof Card;
90
119
  doku: typeof Doku;
91
120
  doku_alfamart: typeof Doku;
92
121
  doku_permata_lite_atm: typeof Doku;
@@ -100,75 +129,74 @@ declare const componentsMap: {
100
129
  doku_bni_va: typeof Doku;
101
130
  doku_bca_va: typeof Doku;
102
131
  doku_wallet: typeof Doku;
103
- donation: typeof Donation;
132
+ oxxo: typeof Oxxo;
133
+ primeiropay_boleto: typeof Boleto;
134
+ /** Voucher */
135
+ /** issuerList */
136
+ billdesk_online: typeof BillDeskOnline;
137
+ billdesk_wallet: typeof BillDeskWallet;
104
138
  dotpay: typeof Dotpay;
105
- onlineBanking: typeof Dotpay;
106
- dragonpay_ebanking: typeof Dragonpay;
107
- dragonpay_otc_banking: typeof Dragonpay;
108
- dragonpay_otc_non_banking: typeof Dragonpay;
109
- dragonpay_otc_philippines: typeof Dragonpay;
110
- econtext_seven_eleven: typeof Econtext;
111
- econtext_atm: typeof Econtext;
112
- econtext_stores: typeof Econtext;
113
- econtext_online: typeof Econtext;
114
139
  entercash: typeof Entercash;
115
140
  eps: typeof Eps;
116
- facilypay_3x: typeof FacilyPay3x;
117
- facilypay_4x: typeof FacilyPay4x;
118
- facilypay_6x: typeof FacilyPay6x;
119
- facilypay_10x: typeof FacilyPay10x;
120
- facilypay_12x: typeof FacilyPay12x;
121
- giropay: typeof Giropay;
122
141
  ideal: typeof Ideal;
123
- jcb: typeof Card;
124
- kcp: typeof Card;
125
- klarna: typeof Klarna;
126
- klarna_paynow: typeof Klarna;
127
- klarna_account: typeof Klarna;
128
- maestro: typeof Card;
129
- mbway: typeof MBWay;
130
- mc: typeof Card;
131
142
  molpay_ebanking_fpx_MY: typeof MolPayEBankingMY;
132
143
  molpay_ebanking_TH: typeof MolPayEBankingTH;
133
144
  molpay_ebanking_VN: typeof MolPayEBankingVN;
145
+ onlineBanking: typeof Dotpay;
146
+ onlineBanking_CZ: typeof OnlineBankingCZElement;
134
147
  onlinebanking_IN: typeof OnlineBankingINElement;
135
148
  onlineBanking_PL: typeof OnlinebankingPL;
149
+ onlineBanking_SK: typeof OnlineBankingSKElement;
136
150
  paybybank: typeof PayByBank;
137
- paypal: typeof PayPal;
138
151
  payu_IN_cashcard: typeof PayuCashcard;
139
152
  payu_IN_nb: typeof PayuNetBanking;
140
- paywithgoogle: typeof GooglePay;
141
- personal_details: typeof PersonalDetails;
142
- googlepay: typeof GooglePay;
143
- pix: typeof Pix;
144
- qiwiwallet: typeof QiwiWallet;
145
- ratepay: typeof RatePay;
146
- ratepay_directdebit: typeof RatePayDirectDebit;
153
+ wallet_IN: typeof WalletINElement;
154
+ /** issuerList */
155
+ /** Dragonpay */
156
+ dragonpay_ebanking: typeof Dragonpay;
157
+ dragonpay_otc_banking: typeof Dragonpay;
158
+ dragonpay_otc_non_banking: typeof Dragonpay;
159
+ dragonpay_otc_philippines: typeof Dragonpay;
160
+ /** Dragonpay */
161
+ /** Econtext */
162
+ econtext_atm: typeof Econtext;
163
+ econtext_online: typeof Econtext;
164
+ econtext_seven_eleven: typeof Econtext;
165
+ econtext_stores: typeof Econtext;
166
+ /** Econtext */
167
+ /** Redirect */
168
+ giropay: typeof Giropay;
169
+ multibanco: typeof Multibanco;
147
170
  redirect: typeof Redirect;
148
- securedfields: typeof SecuredFields;
149
- sepadirectdebit: typeof Sepa;
150
- scheme: typeof Card;
151
- threeDS2Challenge: typeof ThreeDS2Challenge;
152
- threeDS2DeviceFingerprint: typeof ThreeDS2DeviceFingerprint;
171
+ twint: typeof Twint;
172
+ vipps: typeof Vipps;
173
+ /** Redirect */
174
+ /** Klarna */
175
+ klarna: typeof Klarna;
176
+ klarna_account: typeof Klarna;
177
+ klarna_paynow: typeof Klarna;
178
+ /** Klarna */
179
+ /** QRLoader */
180
+ bcmc_mobile: typeof BcmcMobile;
181
+ bcmc_mobile_QR: typeof BcmcMobile;
182
+ pix: typeof Pix;
183
+ swish: typeof Swish;
184
+ wechatpay: typeof WeChat;
185
+ wechatpayQR: typeof WeChat;
186
+ /** QRLoader */
187
+ /** Await */
188
+ blik: typeof Blik;
189
+ mbway: typeof MBWay;
153
190
  upi: typeof UPI;
154
191
  upi_qr: typeof UPI;
155
192
  upi_collect: typeof UPI;
156
- visa: typeof Card;
157
- wallet_IN: typeof WalletINElement;
158
- wechatpay: typeof WeChat;
159
- wechatpayQR: typeof WeChat;
160
- oxxo: typeof Oxxo;
161
- multibanco: typeof Multibanco;
193
+ /** Await */
194
+ /** Giftcard */
162
195
  giftcard: typeof Giftcard;
163
- vipps: typeof Vipps;
164
- swish: typeof Swish;
165
- affirm: typeof Affirm;
166
- twint: typeof Twint;
167
196
  mealVoucher_FR_natixis: typeof MealVoucherFR;
168
197
  mealVoucher_FR_sodexo: typeof MealVoucherFR;
169
198
  mealVoucher_FR_groupeup: typeof MealVoucherFR;
170
- onlineBanking_CZ: typeof OnlineBankingCZElement;
171
- onlineBanking_SK: typeof OnlineBankingSKElement;
199
+ /** Giftcard */
172
200
  default: any;
173
201
  };
174
202
  /**
@@ -11,7 +11,7 @@ export declare const ENCRYPTED_BANK_LOCATION_FIELD = "encryptedBankLocationId";
11
11
  export declare const ENCRYPTED_SECURITY_CODE_3_DIGITS = "encryptedSecurityCode3digits";
12
12
  export declare const ENCRYPTED_SECURITY_CODE_4_DIGITS = "encryptedSecurityCode4digits";
13
13
  export declare const GIFT_CARD = "giftcard";
14
- export declare const SF_VERSION = "4.3.1";
14
+ export declare const SF_VERSION = "4.3.2";
15
15
  export declare const DEFAULT_CARD_GROUP_TYPES: string[];
16
16
  export declare const NON_CREDIT_CARD_TYPE_SECURED_FIELDS: string[];
17
17
  export declare const CREDIT_CARD_SF_FIELDS: string[];
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "./dist/adyen.css": "./dist/adyen.css",
24
24
  "./package.json": "./package.json"
25
25
  },
26
- "version": "5.28.0",
26
+ "version": "5.28.2",
27
27
  "license": "MIT",
28
28
  "homepage": "https://docs.adyen.com/checkout",
29
29
  "repository": "github:Adyen/adyen-web",
@@ -52,7 +52,7 @@
52
52
  "@babel/core": "^7.16.0",
53
53
  "@babel/plugin-transform-runtime": "^7.19.1",
54
54
  "@babel/preset-env": "^7.16.11",
55
- "@babel/preset-react": "^7.14.5",
55
+ "@babel/preset-react": "^7.18.6",
56
56
  "@babel/preset-typescript": "^7.15.0",
57
57
  "@babel/runtime-corejs3": "^7.19.1",
58
58
  "@rollup/plugin-babel": "^5.3.0",
@@ -65,7 +65,7 @@
65
65
  "@testing-library/preact-hooks": "^1.1.0",
66
66
  "@types/jest": "^27.4.1",
67
67
  "@typescript-eslint/eslint-plugin": "^5.37.0",
68
- "@typescript-eslint/parser": "^5.38.0",
68
+ "@typescript-eslint/parser": "^5.39.0",
69
69
  "autoprefixer": "^10.4.9",
70
70
  "babel-jest": "^27.3.1",
71
71
  "cross-env": "^7.0.3",
@@ -105,7 +105,7 @@
105
105
  "@types/googlepay": "^0.6.2",
106
106
  "classnames": "^2.3.1",
107
107
  "core-js-pure": "^3.25.3",
108
- "preact": "^10.5.13"
108
+ "preact": "10.7.3"
109
109
  },
110
110
  "files": [
111
111
  "dist",