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

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.
@@ -57,7 +57,7 @@ const Layout = (props) => {
57
57
  versionList,
58
58
  setVersionList,
59
59
  getVersion,
60
- handleProxyAdress
60
+ handleProxyAddress
61
61
  } = props;
62
62
  const { producer } = separateType(moduleInfo);
63
63
  const [condition, setCondition] = useState(statusInfo.processing);
@@ -80,8 +80,8 @@ const Layout = (props) => {
80
80
  return memo;
81
81
  }
82
82
  const duplicate = JSON.parse(JSON.stringify(current));
83
- if (handleProxyAdress) {
84
- const value = handleProxyAdress(duplicate.value);
83
+ if (handleProxyAddress) {
84
+ const value = handleProxyAddress(duplicate.value);
85
85
  duplicate.value = value;
86
86
  }
87
87
  return [...memo, duplicate];
@@ -67,7 +67,7 @@ const Layout = (props) => {
67
67
  versionList,
68
68
  setVersionList,
69
69
  getVersion,
70
- handleProxyAdress
70
+ handleProxyAddress
71
71
  } = props;
72
72
  const { producer } = (0, import_utils.separateType)(moduleInfo);
73
73
  const [condition, setCondition] = (0, import_react.useState)(import_constant.statusInfo.processing);
@@ -90,8 +90,8 @@ const Layout = (props) => {
90
90
  return memo;
91
91
  }
92
92
  const duplicate = JSON.parse(JSON.stringify(current));
93
- if (handleProxyAdress) {
94
- const value = handleProxyAdress(duplicate.value);
93
+ if (handleProxyAddress) {
94
+ const value = handleProxyAddress(duplicate.value);
95
95
  duplicate.value = value;
96
96
  }
97
97
  return [...memo, duplicate];
@@ -11,6 +11,6 @@ export interface RootComponentProps {
11
11
  versionList?: Array<Array<string>>;
12
12
  setVersionList?: React.Dispatch<React.SetStateAction<Array<Array<string>>>>;
13
13
  getVersion?: (moduleName: string) => Promise<Array<string>>;
14
- handleProxyAdress?: (adress: string) => string;
14
+ handleProxyAddress?: (address: string) => string;
15
15
  }
16
16
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/devtools",
3
- "version": "0.0.0-next-20240425094203",
3
+ "version": "0.0.0-next-20240425095041",
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-20240425094203"
41
+ "@module-federation/sdk": "0.0.0-next-20240425095041"
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-20240425094203"
64
+ "@module-federation/runtime": "0.0.0-next-20240425095041"
65
65
  },
66
66
  "scripts": {
67
67
  "build:storybook": "storybook build",