@adyen/adyen-web 5.67.1 → 5.68.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.
@@ -73,6 +73,7 @@ export interface CardInputProps {
73
73
  fundingSource?: 'debit' | 'credit';
74
74
  hasCVC?: boolean;
75
75
  hasHolderName?: boolean;
76
+ holderName?: string;
76
77
  holderNameRequired?: boolean;
77
78
  i18n?: Language;
78
79
  implementationType?: string;
@@ -6,6 +6,10 @@ export declare class DropinComponent extends Component<DropinComponentProps, Dro
6
6
  state: DropinComponentState;
7
7
  componentDidMount(): void;
8
8
  prepareDropinData: () => void;
9
+ get analyticConfigData(): {
10
+ openFirstStoredPaymentMethod: boolean;
11
+ showStoredPaymentMethods: boolean;
12
+ };
9
13
  setStatus: (status: UIElementStatus, props?: DropinStatusProps) => void;
10
14
  private setActivePaymentMethod;
11
15
  componentDidUpdate(prevProps: any, prevState: any): void;
@@ -1,9 +1,12 @@
1
1
  import { h } from 'preact';
2
2
  import './OrderPaymentMethods.scss';
3
- export declare const OrderPaymentMethods: ({ order, orderStatus, onOrderCancel, brandLogoConfiguration }: {
4
- order: any;
5
- orderStatus: any;
6
- onOrderCancel: any;
3
+ import './OrderPaymentMethods.scss';
4
+ import { Order, OrderStatus } from '../../../../types';
5
+ type OrderPaymentMethodsProps = {
6
+ order: Order;
7
+ orderStatus: OrderStatus;
8
+ onOrderCancel: (order: any) => void;
7
9
  brandLogoConfiguration: any;
8
- }) => h.JSX.Element;
10
+ };
11
+ export declare const OrderPaymentMethods: ({ order, orderStatus, onOrderCancel, brandLogoConfiguration }: OrderPaymentMethodsProps) => h.JSX.Element;
9
12
  export default OrderPaymentMethods;
@@ -1,4 +1,5 @@
1
1
  import { ValidatorRules } from '../../../utils/Validator/types';
2
+ export declare const validatePostalCode: (val: string, countryCode: string, validatorRules: ValidatorRules) => any;
2
3
  /**
3
4
  * Validates only postalCode property. As the partial address form does not have the country selector, the country value
4
5
  * must be informed beforehand and can't be picked up from the form context
@@ -199,8 +199,10 @@ export interface OrderStatus {
199
199
  expiresAt: string;
200
200
  paymentMethods: {
201
201
  amount?: PaymentAmount;
202
- lastFour: string;
202
+ lastFour?: string;
203
203
  type: string;
204
+ name?: string;
205
+ label?: string;
204
206
  }[];
205
207
  pspReference: string;
206
208
  reference: string;
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.67.1",
28
+ "version": "5.68.1",
29
29
  "license": "MIT",
30
30
  "homepage": "https://docs.adyen.com/checkout",
31
31
  "repository": "github:Adyen/adyen-web",