@adyen/adyen-web 5.6.0 → 5.6.1
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/Dropin/types.d.ts +1 -1
- package/dist/types/components/internal/SecuredFields/lib/configuration/constants.d.ts +1 -1
- package/dist/types/core/ProcessResponse/PaymentMethodsResponse/PaymentMethodsResponse.d.ts +1 -0
- package/dist/types/core/core.d.ts +9 -2
- package/dist/types/utils/hasOwnProperty.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export interface DropinElementProps extends UIElementProps {
|
|
|
27
27
|
*
|
|
28
28
|
* @defaultValue []
|
|
29
29
|
*/
|
|
30
|
-
instantPaymentTypes
|
|
30
|
+
instantPaymentTypes?: InstantPaymentTypes[];
|
|
31
31
|
openFirstStoredPaymentMethod?: boolean;
|
|
32
32
|
openFirstPaymentMethod?: boolean;
|
|
33
33
|
onSubmit?: (data: any, component: any) => void;
|
|
@@ -11,7 +11,7 @@ export declare const ENCRYPTED_PIN_FIELD = "encryptedPin";
|
|
|
11
11
|
export declare const GIFT_CARD = "giftcard";
|
|
12
12
|
export declare const ENCRYPTED_BANK_ACCNT_NUMBER_FIELD = "encryptedBankAccountNumber";
|
|
13
13
|
export declare const ENCRYPTED_BANK_LOCATION_FIELD = "encryptedBankLocationId";
|
|
14
|
-
export declare const SF_VERSION = "3.7.
|
|
14
|
+
export declare const SF_VERSION = "3.7.5";
|
|
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 SF_FIELDS_ARRAY: string[];
|
|
@@ -3,6 +3,7 @@ declare class PaymentMethodsResponse {
|
|
|
3
3
|
paymentMethods: PaymentMethod[];
|
|
4
4
|
storedPaymentMethods: PaymentMethod[];
|
|
5
5
|
constructor(response: any, options?: {});
|
|
6
|
+
private mapCreatedComponentType;
|
|
6
7
|
has(paymentMethod: string): boolean;
|
|
7
8
|
find(paymentMethod: string): PaymentMethod;
|
|
8
9
|
}
|
|
@@ -29,8 +29,15 @@ declare class Core {
|
|
|
29
29
|
submitDetails(details: any): void;
|
|
30
30
|
/**
|
|
31
31
|
* Instantiates a new UIElement component ready to be mounted
|
|
32
|
-
*
|
|
33
|
-
* @param
|
|
32
|
+
*
|
|
33
|
+
* @param paymentMethod - either name of the paymentMethod (in theory this can also be a class, but we don't use it this way)
|
|
34
|
+
* or object extracted from the paymentMethods response .paymentMethods or .storedPaymentMethods (scenario: Dropin creating components for its PM list)
|
|
35
|
+
*
|
|
36
|
+
* @param options - an object whose form varies, can be:
|
|
37
|
+
* - the merchant defined config object passed when a component is created via checkout.create
|
|
38
|
+
* - the Dropin created object from Dropin/components/utils.getCommonProps()
|
|
39
|
+
* - an object extracted from the paymentMethods response .storedPaymentMethods (scenario: standalone storedCard comp)
|
|
40
|
+
*
|
|
34
41
|
* @returns new UIElement
|
|
35
42
|
*/
|
|
36
43
|
create<T extends keyof PaymentMethods>(paymentMethod: T | string, options?: PaymentMethodOptions<T>): InstanceType<PaymentMethods[T]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function hasOwnProperty(obj:
|
|
1
|
+
export declare function hasOwnProperty(obj: {}, prop: any): any;
|
package/package.json
CHANGED