@adyen/adyen-web 5.26.0 → 5.27.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.css +2 -2
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +2 -2
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +2 -2
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es.modern/adyen.css +2 -2
- package/dist/es.modern/adyen.css.map +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/types/components/BaseElement.d.ts +4 -1
- package/dist/types/components/Card/Bancontact.d.ts +1 -1
- package/dist/types/components/Card/Card.d.ts +4 -1
- package/dist/types/components/PayByBank/PayByBank.d.ts +6 -0
- package/dist/types/components/PayByBank/index.d.ts +1 -0
- package/dist/types/components/helpers/IssuerListContainer.d.ts +11 -0
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/types/components/OpenBankingUK/index.d.ts +0 -5
|
@@ -42,7 +42,9 @@ declare class BaseElement<P extends BaseElementProps> {
|
|
|
42
42
|
*/
|
|
43
43
|
update(props: P): this;
|
|
44
44
|
/**
|
|
45
|
-
* Unmounts an element and mounts it again on the same node
|
|
45
|
+
* Unmounts an element and mounts it again on the same node i.e. allows mount w/o having to pass a node.
|
|
46
|
+
* Should be "private" & undocumented (although being a public function is useful for testing).
|
|
47
|
+
* Left in for legacy reasons
|
|
46
48
|
*/
|
|
47
49
|
remount(component?: any): this;
|
|
48
50
|
/**
|
|
@@ -51,6 +53,7 @@ declare class BaseElement<P extends BaseElementProps> {
|
|
|
51
53
|
unmount(): this;
|
|
52
54
|
/**
|
|
53
55
|
* Unmounts an element and removes it from the parent instance
|
|
56
|
+
* For "destroy" type cleanup - when you don't intend to use the component again
|
|
54
57
|
*/
|
|
55
58
|
remove(): void;
|
|
56
59
|
}
|
|
@@ -48,6 +48,7 @@ declare class BancontactElement extends CardElement {
|
|
|
48
48
|
showPanel: any;
|
|
49
49
|
};
|
|
50
50
|
installmentOptions: any;
|
|
51
|
+
enableStoreDetails: boolean;
|
|
51
52
|
clickToPayConfiguration: {
|
|
52
53
|
shopperIdentityValue: any;
|
|
53
54
|
locale: string;
|
|
@@ -59,7 +60,6 @@ declare class BancontactElement extends CardElement {
|
|
|
59
60
|
brands?: string[];
|
|
60
61
|
showBrandsUnderCardNumber?: boolean;
|
|
61
62
|
showBrandIcon?: boolean;
|
|
62
|
-
enableStoreDetails?: boolean;
|
|
63
63
|
hideCVC?: boolean;
|
|
64
64
|
hasHolderName?: boolean;
|
|
65
65
|
onLoad?: (event: import("../internal/SecuredFields/lib/types").CbObjOnLoad) => void;
|
|
@@ -28,6 +28,9 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
28
28
|
countryCode: any;
|
|
29
29
|
configuration: {
|
|
30
30
|
socialSecurityNumberMode: import("./types").SocialSecurityMode;
|
|
31
|
+
/**
|
|
32
|
+
* Formats the component data output
|
|
33
|
+
*/
|
|
31
34
|
visaSrciDpaId?: string;
|
|
32
35
|
visaSrcInitiatorId?: string;
|
|
33
36
|
mcSrcClientId?: string;
|
|
@@ -52,6 +55,7 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
52
55
|
showPanel: any;
|
|
53
56
|
};
|
|
54
57
|
installmentOptions: any;
|
|
58
|
+
enableStoreDetails: boolean;
|
|
55
59
|
/**
|
|
56
60
|
* Click to Pay configuration
|
|
57
61
|
* - If email is set explicitly in the configuration, then it can override the one used in the session creation
|
|
@@ -67,7 +71,6 @@ export declare class CardElement extends UIElement<CardElementProps> {
|
|
|
67
71
|
brands?: string[];
|
|
68
72
|
showBrandsUnderCardNumber?: boolean;
|
|
69
73
|
showBrandIcon?: boolean;
|
|
70
|
-
enableStoreDetails?: boolean;
|
|
71
74
|
hideCVC?: boolean;
|
|
72
75
|
hasHolderName?: boolean;
|
|
73
76
|
onLoad?: (event: import("../internal/SecuredFields/lib/types").CbObjOnLoad) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PayByBank';
|
|
@@ -10,6 +10,7 @@ interface IssuerListContainerProps extends UIElementProps {
|
|
|
10
10
|
highlightedIssuers: string[];
|
|
11
11
|
i18n: Language;
|
|
12
12
|
loadingContext: string;
|
|
13
|
+
showPaymentMethodItemImages?: boolean;
|
|
13
14
|
}
|
|
14
15
|
interface IssuerListData {
|
|
15
16
|
paymentMethod: {
|
|
@@ -25,6 +26,7 @@ declare class IssuerListContainer extends UIElement<IssuerListContainerProps> {
|
|
|
25
26
|
issuers: any[];
|
|
26
27
|
highlightedIssuers: any[];
|
|
27
28
|
loadingContext: string;
|
|
29
|
+
showPaymentMethodItemImages: boolean;
|
|
28
30
|
};
|
|
29
31
|
formatProps(props: any): any;
|
|
30
32
|
/**
|
|
@@ -35,6 +37,15 @@ declare class IssuerListContainer extends UIElement<IssuerListContainerProps> {
|
|
|
35
37
|
* Returns whether the component state is valid or not
|
|
36
38
|
*/
|
|
37
39
|
get isValid(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Returns brands array (similar to card) depending on showPaymentMethodItemImages
|
|
42
|
+
* This is used to show the brands in the PaymentMethodItem
|
|
43
|
+
* Requires brands icons to be loaded in the payment method
|
|
44
|
+
*/
|
|
45
|
+
get brands(): {
|
|
46
|
+
icon: any;
|
|
47
|
+
name: string;
|
|
48
|
+
}[];
|
|
38
49
|
render(): h.JSX.Element;
|
|
39
50
|
}
|
|
40
51
|
export default IssuerListContainer;
|
|
@@ -21,7 +21,6 @@ import { ThreeDS2DeviceFingerprint, ThreeDS2Challenge } from './ThreeDS2';
|
|
|
21
21
|
import WeChat from './WeChat';
|
|
22
22
|
import BcmcMobile from './BcmcMobile';
|
|
23
23
|
import { MolPayEBankingMY, MolPayEBankingTH, MolPayEBankingVN } from './MolPayEBanking';
|
|
24
|
-
import OpenBankingUK from './OpenBankingUK';
|
|
25
24
|
import Dragonpay from './Dragonpay';
|
|
26
25
|
import Doku from './Doku';
|
|
27
26
|
import Boleto from './Boleto';
|
|
@@ -54,6 +53,7 @@ import UPI from './UPI';
|
|
|
54
53
|
import WalletINElement from './WalletIN';
|
|
55
54
|
import OnlineBankingCZElement from './OnlineBankingCZ';
|
|
56
55
|
import OnlineBankingSKElement from './OnlineBankingSK';
|
|
56
|
+
import PayByBank from "./PayByBank";
|
|
57
57
|
/**
|
|
58
58
|
* Maps each component with a Component element.
|
|
59
59
|
*/
|
|
@@ -133,7 +133,7 @@ declare const componentsMap: {
|
|
|
133
133
|
molpay_ebanking_VN: typeof MolPayEBankingVN;
|
|
134
134
|
onlinebanking_IN: typeof OnlineBankingINElement;
|
|
135
135
|
onlineBanking_PL: typeof OnlinebankingPL;
|
|
136
|
-
|
|
136
|
+
paybybank: typeof PayByBank;
|
|
137
137
|
paypal: typeof PayPal;
|
|
138
138
|
payu_IN_cashcard: typeof PayuCashcard;
|
|
139
139
|
payu_IN_nb: typeof PayuNetBanking;
|
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.
|
|
26
|
+
"version": "5.27.0",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"homepage": "https://docs.adyen.com/checkout",
|
|
29
29
|
"repository": "github:Adyen/adyen-web",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
80
80
|
"eslint-plugin-react": "^7.31.8",
|
|
81
81
|
"eslint-plugin-tsdoc": "^0.2.16",
|
|
82
|
-
"filesize": "^
|
|
82
|
+
"filesize": "^9.0.11",
|
|
83
83
|
"gzip-size": "^6.0.0",
|
|
84
84
|
"jest": "^26.6.3",
|
|
85
85
|
"node-sass": "^6.0.1",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@types/applepayjs": "^3.0.4",
|
|
105
105
|
"@types/googlepay": "^0.6.2",
|
|
106
106
|
"classnames": "^2.3.1",
|
|
107
|
-
"core-js-pure": "^3.
|
|
107
|
+
"core-js-pure": "^3.25.3",
|
|
108
108
|
"preact": "^10.5.13"
|
|
109
109
|
},
|
|
110
110
|
"files": [
|