@module-federation/devtools 0.0.0-next-20240425095041 → 0.0.0-next-20240425095630

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/es/App.js CHANGED
@@ -9,7 +9,13 @@ import styles from "./App.module";
9
9
  const { Content } = Layout;
10
10
  const App = (props) => {
11
11
  var _a;
12
- const { versionList, setVersionList, getVersion, handleSnapshot } = props;
12
+ const {
13
+ versionList,
14
+ setVersionList,
15
+ getVersion,
16
+ handleSnapshot,
17
+ handleProxyAddress
18
+ } = props;
13
19
  const [module, setModule] = useState(((_a = window.__FEDERATION__) == null ? void 0 : _a.moduleInfo) || {});
14
20
  useEffect(() => {
15
21
  getGlobalModuleInfo(setModule);
@@ -21,7 +27,8 @@ const App = (props) => {
21
27
  versionList,
22
28
  setVersionList,
23
29
  getVersion,
24
- handleSnapshot
30
+ handleSnapshot,
31
+ handleProxyAddress
25
32
  }
26
33
  ) : /* @__PURE__ */ jsx(Empty, { description: "No ModuleInfo Detected" }) }) }) });
27
34
  };
package/dist/lib/App.js CHANGED
@@ -42,7 +42,13 @@ var import_App = __toESM(require("./App.module"));
42
42
  const { Content } = import_web_react.Layout;
43
43
  const App = (props) => {
44
44
  var _a;
45
- const { versionList, setVersionList, getVersion, handleSnapshot } = props;
45
+ const {
46
+ versionList,
47
+ setVersionList,
48
+ getVersion,
49
+ handleSnapshot,
50
+ handleProxyAddress
51
+ } = props;
46
52
  const [module2, setModule] = (0, import_react.useState)(((_a = window.__FEDERATION__) == null ? void 0 : _a.moduleInfo) || {});
47
53
  (0, import_react.useEffect)(() => {
48
54
  (0, import_utils.getGlobalModuleInfo)(setModule);
@@ -54,7 +60,8 @@ const App = (props) => {
54
60
  versionList,
55
61
  setVersionList,
56
62
  getVersion,
57
- handleSnapshot
63
+ handleSnapshot,
64
+ handleProxyAddress
58
65
  }
59
66
  ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Empty, { description: "No ModuleInfo Detected" }) }) }) });
60
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/devtools",
3
- "version": "0.0.0-next-20240425095041",
3
+ "version": "0.0.0-next-20240425095630",
4
4
  "files": [
5
5
  "dist/",
6
6
  "install-deps.bash",
@@ -38,7 +38,7 @@
38
38
  "react": "~18.2.0",
39
39
  "react-dom": "~18.2.0",
40
40
  "reactflow": "11.10.4",
41
- "@module-federation/sdk": "0.0.0-next-20240425095041"
41
+ "@module-federation/sdk": "0.0.0-next-20240425095630"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/dagre": "^0.7.52",
@@ -61,7 +61,7 @@
61
61
  "vitest": "1.2.2",
62
62
  "@modern-js/storybook": "2.46.1",
63
63
  "@storybook/addon-essentials": "^7",
64
- "@module-federation/runtime": "0.0.0-next-20240425095041"
64
+ "@module-federation/runtime": "0.0.0-next-20240425095630"
65
65
  },
66
66
  "scripts": {
67
67
  "build:storybook": "storybook build",