@adyen/kyc-components 2.41.0 → 2.41.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.
|
@@ -10,7 +10,6 @@ import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
|
10
10
|
import { jsxs as jsxs$1, jsx as jsx$1 } from "preact/compat/jsx-runtime";
|
|
11
11
|
import "@adyen/adyen-document-viewer/dist/adyen-document-viewer.min.css";
|
|
12
12
|
import AdyenDocumentViewer from "@adyen/adyen-document-viewer";
|
|
13
|
-
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
14
13
|
const ConfigurationApiContext = createContext(void 0);
|
|
15
14
|
const useConfigurationApi = () => {
|
|
16
15
|
const configurationApi = useContext(ConfigurationApiContext);
|
|
@@ -33878,7 +33877,7 @@ const ConfigurationApiProvider = ({
|
|
|
33878
33877
|
isEmbeddedDropin,
|
|
33879
33878
|
loadingContext
|
|
33880
33879
|
} = authContext;
|
|
33881
|
-
const sdkVersion = "2.41.
|
|
33880
|
+
const sdkVersion = "2.41.1";
|
|
33882
33881
|
useAnalytics({
|
|
33883
33882
|
onUserEvent,
|
|
33884
33883
|
legalEntityId: rootLegalEntityId,
|
|
@@ -34037,15 +34036,6 @@ const I18nProvider = ({
|
|
|
34037
34036
|
children
|
|
34038
34037
|
});
|
|
34039
34038
|
};
|
|
34040
|
-
const ReactQueryClient = new QueryClient();
|
|
34041
|
-
function ReactQueryProvider({
|
|
34042
|
-
children
|
|
34043
|
-
}) {
|
|
34044
|
-
return jsx(QueryClientProvider, {
|
|
34045
|
-
client: ReactQueryClient,
|
|
34046
|
-
children
|
|
34047
|
-
});
|
|
34048
|
-
}
|
|
34049
34039
|
const settingsDefaults = {
|
|
34050
34040
|
acceptedCountries: void 0,
|
|
34051
34041
|
allowBankAccountFormatSelection: false,
|
|
@@ -34400,11 +34390,9 @@ class UIElement extends BaseElement {
|
|
|
34400
34390
|
children: jsx(AutoResizer, {
|
|
34401
34391
|
children: jsx(ToastContextProvider, {
|
|
34402
34392
|
children: jsx(StateProvider, {
|
|
34403
|
-
children: jsx(
|
|
34404
|
-
|
|
34405
|
-
|
|
34406
|
-
eventEmitter: this.eventEmitter
|
|
34407
|
-
})
|
|
34393
|
+
children: jsx(Component, {
|
|
34394
|
+
...this.props.componentProps,
|
|
34395
|
+
eventEmitter: this.eventEmitter
|
|
34408
34396
|
})
|
|
34409
34397
|
})
|
|
34410
34398
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "2.41.
|
|
3
|
+
"version": "2.41.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@adyen/adyen-document-viewer": "^1.1.0",
|
|
72
72
|
"@adyen/openbankingsdk": "^0.1.2",
|
|
73
|
-
"@tanstack/react-query": "^5.31.0",
|
|
74
73
|
"classnames": "^2.3.2",
|
|
75
74
|
"isomorphic-dompurify": "^0.13.0",
|
|
76
75
|
"lodash": "^4.17.21",
|
|
@@ -89,7 +88,6 @@
|
|
|
89
88
|
"@storybook/core-server": "^8.0.4",
|
|
90
89
|
"@storybook/preact": "^8.0.4",
|
|
91
90
|
"@storybook/preact-vite": "^8.0.4",
|
|
92
|
-
"@tanstack/eslint-plugin-query": "^4.38.0",
|
|
93
91
|
"@testing-library/jest-dom": "^5.17.0",
|
|
94
92
|
"@testing-library/preact": "^3.2.3",
|
|
95
93
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -143,9 +141,7 @@
|
|
|
143
141
|
},
|
|
144
142
|
"@storybook/preact-vite": {
|
|
145
143
|
"vite": "^4 || ^5"
|
|
146
|
-
}
|
|
147
|
-
"react": "npm:@preact/compat",
|
|
148
|
-
"react-dom": "npm:@preact/compat"
|
|
144
|
+
}
|
|
149
145
|
},
|
|
150
146
|
"engines": {
|
|
151
147
|
"node": ">=20"
|