@yuno-payments/dashboard-api-mfe 0.39.0 → 0.39.2

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.
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  export declare function Auth0Provider({ children }: {
3
2
  children: any;
4
- }): import("react").JSX.Element;
3
+ }): import("react/jsx-runtime").JSX.Element;
5
4
  export declare function useAuth0(): {
6
5
  loginWithRedirect(): void;
7
6
  getAccessTokenSilently(): Promise<string>;
8
7
  };
9
8
  export declare function ApiProvider({ children }: {
10
9
  children: any;
11
- }): import("react").JSX.Element;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { QueryClient } from '@tanstack/react-query';
3
2
  export declare const createWrapper: (customQueryClient?: QueryClient) => ({ children }: {
4
3
  children: any;
5
- }) => import("react").JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",
@@ -87,24 +87,26 @@
87
87
  "webpack-config-single-spa-react-ts": "^4.0.0",
88
88
  "webpack-config-single-spa-ts": "^4.0.0",
89
89
  "webpack-dev-server": "^4.15.2",
90
- "webpack-merge": "^5.8.0"
90
+ "webpack-merge": "^5.8.0",
91
+ "@types/react": "^18.2.29",
92
+ "@types/react-dom": "^18.2.14"
91
93
  },
92
94
  "dependencies": {
93
95
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
94
96
  "@tanstack/react-query": "^4.29.7",
95
97
  "@tanstack/react-query-devtools": "^4.29.7",
96
- "@types/react": "^18.2.29",
97
- "@types/react-dom": "^18.2.14",
98
98
  "@types/systemjs": "^6.1.1",
99
99
  "@types/webpack-env": "^1.16.2",
100
100
  "axios": "^1.8.2",
101
- "react": "^18.2.0",
102
- "react-dom": "^18.2.0",
103
101
  "react-refresh": "^0.14.0",
104
102
  "react-refresh-typescript": "^2.0.9",
105
103
  "single-spa": "^5.9.3",
106
104
  "single-spa-react": "^5.1.4",
107
105
  "ts-loader": "^9.4.4",
108
106
  "uuid": "^11.1.0"
107
+ },
108
+ "peerDependencies": {
109
+ "react": "^18.2.0",
110
+ "react-dom": "^18.2.0"
109
111
  }
110
112
  }