@adyen/adyen-web 5.54.0 → 5.55.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/internal/SecuredFields/lib/configuration/constants.d.ts +1 -1
- package/dist/types/utils/detectInIframeInSameOrigin.d.ts +7 -0
- package/package.json +4 -4
- package/dist/types/utils/detectInIframe.d.ts +0 -2
|
@@ -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.
|
|
14
|
+
export declare const SF_VERSION = "4.8.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[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if the page is being run in an iframe with the same origin as the parent.
|
|
3
|
+
* In this scenario, if the merchant has set redirectFromTopWhenInIframe: true, then we can perform the redirect on the top level, parent, window;
|
|
4
|
+
* rather than on the iframe's window
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: () => boolean;
|
|
7
|
+
export default _default;
|
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.
|
|
28
|
+
"version": "5.55.0",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"homepage": "https://docs.adyen.com/checkout",
|
|
31
31
|
"repository": "github:Adyen/adyen-web",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"dotenv": "^16.0.3",
|
|
90
90
|
"enzyme": "3.11.0",
|
|
91
91
|
"enzyme-adapter-preact-pure": "4.1.0",
|
|
92
|
-
"eslint": "8.
|
|
92
|
+
"eslint": "8.53.0",
|
|
93
93
|
"eslint-plugin-import": "^2.26.0",
|
|
94
94
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
95
95
|
"eslint-plugin-react": "^7.31.8",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"jest": "29.7.0",
|
|
103
103
|
"jest-environment-jsdom": "29.7.0",
|
|
104
104
|
"jest-mock-extended": "^3.0.1",
|
|
105
|
-
"lint-staged": "^
|
|
105
|
+
"lint-staged": "^15.0.0",
|
|
106
106
|
"postcss": "8.4.31",
|
|
107
107
|
"react": "^18.2.0",
|
|
108
108
|
"react-dom": "^18.2.0",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"stylelint-config-standard-scss": "7.0.1",
|
|
118
118
|
"tslib": "2.6.2",
|
|
119
119
|
"typescript": "4.9.5",
|
|
120
|
-
"vite": "4.5.
|
|
120
|
+
"vite": "4.5.1",
|
|
121
121
|
"vite-plugin-stylelint": "^4.3.0",
|
|
122
122
|
"whatwg-fetch": "^3.6.2"
|
|
123
123
|
},
|