@adyen/adyen-web 5.49.5 → 5.50.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/Card/Bancontact.d.ts +3 -1
- package/dist/types/components/Card/components/CardInput/components/types.d.ts +0 -1
- package/dist/types/core/Environment/Environment.d.ts +2 -2
- package/dist/types/core/types.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CardElement } from './Card';
|
|
2
|
-
import { CardElementProps } from './types';
|
|
2
|
+
import { CardElementData, CardElementProps } from './types';
|
|
3
3
|
declare class BancontactElement extends CardElement {
|
|
4
|
+
static type: string;
|
|
4
5
|
constructor(props: CardElementProps);
|
|
5
6
|
protected static defaultProps: {
|
|
6
7
|
brands: string[];
|
|
@@ -9,6 +10,7 @@ declare class BancontactElement extends CardElement {
|
|
|
9
10
|
showFormInstruction: boolean;
|
|
10
11
|
_disableClickToPay: boolean;
|
|
11
12
|
};
|
|
13
|
+
formatData(): CardElementData;
|
|
12
14
|
/**
|
|
13
15
|
* Now that the Bancontact (BCMC) Card component can accept a number dual branded with Visa (which requires a CVC) it has to be handled differently
|
|
14
16
|
* at creation time (no automatic removing of the CVC securedField).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const FALLBACK_CONTEXT = "https://checkoutshopper-live.adyen.com/checkoutshopper/";
|
|
2
|
-
export declare const resolveEnvironment: (env?: string) => string;
|
|
2
|
+
export declare const resolveEnvironment: (env?: string, environmentUrl?: string) => string;
|
|
3
3
|
export declare const FALLBACK_CDN_CONTEXT = "https://checkoutshopper-live.adyen.com/checkoutshopper/";
|
|
4
|
-
export declare const resolveCDNEnvironment: (env?: string) => any;
|
|
4
|
+
export declare const resolveCDNEnvironment: (env?: string, environmentUrl?: string) => any;
|
|
@@ -16,6 +16,15 @@ export interface CoreOptions {
|
|
|
16
16
|
* Use test. When you're ready to accept live payments, change the value to one of our {@link https://docs.adyen.com/checkout/drop-in-web#testing-your-integration | live environments}.
|
|
17
17
|
*/
|
|
18
18
|
environment?: 'test' | 'live' | 'live-us' | 'live-au' | 'live-apse' | 'live-in' | string;
|
|
19
|
+
/**
|
|
20
|
+
* Used internally by Pay By Link in order to set its own URL's instead of using the ones mapped in our codebase.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
environmentUrls?: {
|
|
25
|
+
api?: string;
|
|
26
|
+
analytics?: string;
|
|
27
|
+
};
|
|
19
28
|
/**
|
|
20
29
|
* Show or hides a Pay Button for each payment method
|
|
21
30
|
*/
|
package/package.json
CHANGED