@adyen/kyc-components 3.15.0 → 3.15.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);
@@ -34799,7 +34798,7 @@ const ConfigurationApiProvider = ({
34799
34798
  isEmbeddedDropin,
34800
34799
  loadingContext
34801
34800
  } = authContext;
34802
- const sdkVersion = "3.15.0";
34801
+ const sdkVersion = "3.15.1";
34803
34802
  useAnalytics({
34804
34803
  onUserEvent,
34805
34804
  legalEntityId: rootLegalEntityId,
@@ -34958,15 +34957,6 @@ const I18nProvider = ({
34958
34957
  children
34959
34958
  });
34960
34959
  };
34961
- const ReactQueryClient = new QueryClient();
34962
- function ReactQueryProvider({
34963
- children
34964
- }) {
34965
- return jsx(QueryClientProvider, {
34966
- client: ReactQueryClient,
34967
- children
34968
- });
34969
- }
34970
34960
  const settingsDefaults = {
34971
34961
  acceptedCountries: void 0,
34972
34962
  allowBankAccountFormatSelection: false,
@@ -35321,11 +35311,9 @@ class UIElement extends BaseElement {
35321
35311
  children: jsx(AutoResizer, {
35322
35312
  children: jsx(ToastContextProvider, {
35323
35313
  children: jsx(StateProvider, {
35324
- children: jsx(ReactQueryProvider, {
35325
- children: jsx(Component, {
35326
- ...this.props.componentProps,
35327
- eventEmitter: this.eventEmitter
35328
- })
35314
+ children: jsx(Component, {
35315
+ ...this.props.componentProps,
35316
+ eventEmitter: this.eventEmitter
35329
35317
  })
35330
35318
  })
35331
35319
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.15.0",
3
+ "version": "3.15.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"
@@ -1,2 +0,0 @@
1
- import { QueryClient } from '@tanstack/react-query';
2
- export declare const ReactQueryClient: QueryClient;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function ReactQueryProvider({ children }: {
3
- children: JSX.Element;
4
- }): import("preact").JSX.Element;