@adyen/adyen-web 5.23.0 → 5.23.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.
@@ -7,8 +7,10 @@ import { BinLookupResponse } from '../../../Card/types';
7
7
  * Initialises & handles the client-side part of SecuredFields
8
8
  */
9
9
  declare class SecuredFieldsProvider extends Component<SFPProps, SFPState> {
10
- private invalidOriginErrorTimeout;
11
- private invalidOriginTimeoutMS;
10
+ private csfLoadFailTimeout;
11
+ private csfLoadFailTimeoutMS;
12
+ private csfConfigFailTimeout;
13
+ private csfConfigFailTimeoutMS;
12
14
  private numCharsInField;
13
15
  private rootNode;
14
16
  private numDateFields;
@@ -1,7 +1,7 @@
1
1
  import { CbObjOnError, CbObjOnFocus, CbObjOnBrand, CbObjOnAllValid, CbObjOnFieldValid, CbObjOnAutoComplete, CbObjOnConfigSuccess, CbObjOnLoad } from '../lib/types';
2
2
  /**
3
- * Emits the onLoad event
4
- * Here we can assume CSF is loaded and ready to be used
3
+ * Emits the onLoad event
4
+ * Here we can assume all securedFields iframes have fired their 'load' event
5
5
  */
6
6
  declare function handleOnLoad(cbObj: CbObjOnLoad): void;
7
7
  /**
@@ -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.1.1";
14
+ export declare const SF_VERSION = "4.2.0";
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[];
@@ -66,10 +66,11 @@ export interface AriaConfigObject {
66
66
  }
67
67
  declare abstract class AbstractSecuredField {
68
68
  config: SFInternalConfig;
69
- protected fieldType: string;
69
+ fieldType: string;
70
70
  protected iframeSrc: string;
71
71
  protected loadingContext: string;
72
72
  protected holderEl: HTMLElement;
73
+ loadToConfigTimeout: number;
73
74
  protected _errorType: string;
74
75
  protected _hasError: boolean;
75
76
  protected _isValid: boolean;
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.23.0",
26
+ "version": "5.23.1",
27
27
  "license": "MIT",
28
28
  "homepage": "https://docs.adyen.com/checkout",
29
29
  "repository": "github:Adyen/adyen-web",