@adyen/adyen-web 5.31.3 → 5.33.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.css +24 -25
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +24 -25
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +24 -25
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es.modern/adyen.css +24 -25
- package/dist/es.modern/adyen.css.map +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/types/components/Ach/Ach.d.ts +1 -0
- package/dist/types/components/Ach/components/AchInput/types.d.ts +1 -0
- package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +1 -0
- package/dist/types/components/Card/Bancontact.d.ts +1 -2
- package/dist/types/components/Card/Card.d.ts +6 -7
- package/dist/types/components/Card/components/CardInput/components/CardFieldsWrapper.d.ts +2 -2
- package/dist/types/components/Card/components/CardInput/types.d.ts +2 -3
- package/dist/types/components/Card/components/ClickToPay/{utils.d.ts → services/create-clicktopay-service.d.ts} +2 -2
- package/dist/types/components/Card/components/ClickToPay/services/sdks/types.d.ts +4 -2
- package/dist/types/components/Card/components/ClickToPay/services/utils.d.ts +1 -1
- package/dist/types/components/Card/types.d.ts +0 -5
- package/dist/types/components/Dragonpay/Dragonpay.d.ts +1 -0
- package/dist/types/components/Dropin/Dropin.d.ts +1 -0
- package/dist/types/components/DuitNow/DuitNow.d.ts +1 -0
- package/dist/types/components/Econtext/components/EcontextInput/EcontextInput.d.ts +1 -1
- package/dist/types/components/OnlinebankingPL/index.d.ts +0 -1
- package/dist/types/components/PayNow/PayNow.d.ts +1 -0
- package/dist/types/components/PayPal/config.d.ts +1 -1
- package/dist/types/components/Pix/Pix.d.ts +1 -0
- package/dist/types/components/PromptPay/PromptPay.d.ts +1 -0
- package/dist/types/components/Swish/Swish.d.ts +1 -0
- package/dist/types/components/ThreeDS2/ThreeDS2Challenge.d.ts +2 -0
- package/dist/types/components/ThreeDS2/ThreeDS2DeviceFingerprint.d.ts +2 -0
- package/dist/types/components/ThreeDS2/components/Challenge/PrepareChallenge3DS2.d.ts +4 -1
- package/dist/types/components/ThreeDS2/components/Challenge/types.d.ts +2 -0
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/DoFingerprint3DS2.d.ts +2 -1
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/PrepareFingerprint3DS2.d.ts +5 -1
- package/dist/types/components/ThreeDS2/components/DeviceFingerprint/types.d.ts +2 -0
- package/dist/types/components/UIElement.d.ts +1 -0
- package/dist/types/components/WeChat/WeChat.d.ts +1 -0
- package/dist/types/components/helpers/QRLoaderContainer.d.ts +1 -0
- package/dist/types/components/internal/Address/types.d.ts +3 -0
- package/dist/types/components/internal/Await/Await.d.ts +1 -0
- package/dist/types/components/internal/Await/types.d.ts +2 -0
- package/dist/types/components/internal/CompanyDetails/types.d.ts +1 -0
- package/dist/types/components/internal/IbanInput/validate.d.ts +1 -2
- package/dist/types/components/internal/OpenInvoice/types.d.ts +3 -2
- package/dist/types/components/internal/PersonalDetails/types.d.ts +3 -0
- package/dist/types/components/internal/QRLoader/QRLoader.d.ts +1 -1
- package/dist/types/components/internal/QRLoader/types.d.ts +2 -0
- package/dist/types/components/types.d.ts +10 -0
- package/dist/types/core/Errors/types.d.ts +5 -0
- package/package.json +23 -22
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.
|
|
26
|
+
"version": "5.33.0",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"homepage": "https://docs.adyen.com/checkout",
|
|
29
29
|
"repository": "github:Adyen/adyen-web",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"type-check": "tsc --noEmit",
|
|
45
45
|
"type-check-generate": "tsc --emitDeclarationOnly",
|
|
46
46
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
|
|
47
|
+
"lint-styles": "stylelint '**/*.scss'",
|
|
47
48
|
"lint:fix": "npm run lint -- --fix",
|
|
48
49
|
"prepublishOnly": "npm run build",
|
|
49
50
|
"prepare": "cd ../.. && husky install packages/lib/.husky"
|
|
@@ -62,21 +63,21 @@
|
|
|
62
63
|
"@rollup/plugin-json": "^6.0.0",
|
|
63
64
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
64
65
|
"@rollup/plugin-replace": "^5.0.1",
|
|
65
|
-
"@testing-library/jest-dom": "
|
|
66
|
-
"@testing-library/preact": "
|
|
67
|
-
"@testing-library/preact-hooks": "
|
|
68
|
-
"@testing-library/user-event": "
|
|
69
|
-
"@types/jest": "
|
|
66
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
67
|
+
"@testing-library/preact": "3.2.3",
|
|
68
|
+
"@testing-library/preact-hooks": "1.1.0",
|
|
69
|
+
"@testing-library/user-event": "14.4.3",
|
|
70
|
+
"@types/jest": "29.2.6",
|
|
70
71
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
71
72
|
"@typescript-eslint/parser": "^5.39.0",
|
|
72
|
-
"autoprefixer": "
|
|
73
|
-
"babel-jest": "
|
|
73
|
+
"autoprefixer": "10.4.13",
|
|
74
|
+
"babel-jest": "29.3.1",
|
|
74
75
|
"cross-env": "^7.0.3",
|
|
75
|
-
"cssnano": "
|
|
76
|
+
"cssnano": "5.1.14",
|
|
76
77
|
"dotenv": "^16.0.3",
|
|
77
|
-
"enzyme": "
|
|
78
|
-
"enzyme-adapter-preact-pure": "
|
|
79
|
-
"eslint": "8.
|
|
78
|
+
"enzyme": "3.11.0",
|
|
79
|
+
"enzyme-adapter-preact-pure": "4.1.0",
|
|
80
|
+
"eslint": "8.31.0",
|
|
80
81
|
"eslint-plugin-import": "^2.26.0",
|
|
81
82
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
82
83
|
"eslint-plugin-react": "^7.31.8",
|
|
@@ -85,21 +86,21 @@
|
|
|
85
86
|
"filesize": "^10.0.0",
|
|
86
87
|
"gzip-size": "^6.0.0",
|
|
87
88
|
"husky": "^8.0.1",
|
|
88
|
-
"jest": "
|
|
89
|
+
"jest": "29.3.1",
|
|
90
|
+
"jest-environment-jsdom": "29.3.1",
|
|
89
91
|
"jest-mock-extended": "^3.0.1",
|
|
90
92
|
"lint-staged": "^13.0.3",
|
|
91
|
-
"
|
|
92
|
-
"postcss": "^8.4.7",
|
|
93
|
-
"postcss-reporter": "^7.0.5",
|
|
93
|
+
"postcss": "8.4.21",
|
|
94
94
|
"rollup": "^2.79.1",
|
|
95
|
-
"rollup-plugin-postcss": "
|
|
95
|
+
"rollup-plugin-postcss": "4.0.2",
|
|
96
|
+
"rollup-plugin-stylelint": "1.0.0",
|
|
96
97
|
"rollup-plugin-terser": "^7.0.2",
|
|
97
98
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
98
|
-
"
|
|
99
|
-
"stylelint
|
|
100
|
-
"
|
|
99
|
+
"sass": "1.57.1",
|
|
100
|
+
"stylelint": "14.16.1",
|
|
101
|
+
"stylelint-config-standard-scss": "6.1.0",
|
|
101
102
|
"tslib": "^2.4.1",
|
|
102
|
-
"typescript": "
|
|
103
|
+
"typescript": "4.5.3",
|
|
103
104
|
"whatwg-fetch": "^3.6.2"
|
|
104
105
|
},
|
|
105
106
|
"dependencies": {
|
|
@@ -119,6 +120,6 @@
|
|
|
119
120
|
"lint-staged": {
|
|
120
121
|
"*.{js,jsx,ts,tsx}": "eslint",
|
|
121
122
|
"*.{scss,css}": "stylelint",
|
|
122
|
-
"*.{js,jsx,ts,tsx,
|
|
123
|
+
"*.{js,jsx,ts,tsx,html}": "prettier --write"
|
|
123
124
|
}
|
|
124
125
|
}
|