@module-federation/modern-js 0.0.0-next-20250704061325 → 0.0.0-next-20250707074728

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.
@@ -3,4 +3,4 @@ import type { PluginOptions } from '../types';
3
3
  export declare const moduleFederationPlugin: (userConfig?: PluginOptions) => CliPluginFuture<AppTools>;
4
4
  export default moduleFederationPlugin;
5
5
  export { createModuleFederationConfig } from '@module-federation/enhanced';
6
- export type { FederationRuntimePlugin } from '@module-federation/enhanced/runtime';
6
+ export type { ModuleFederationRuntimePlugin } from '@module-federation/enhanced/runtime';
@@ -1,3 +1,3 @@
1
- import type { FederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
- declare const autoFetchData: () => FederationRuntimePlugin;
1
+ import type { ModuleFederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
+ declare const autoFetchData: () => ModuleFederationRuntimePlugin;
3
3
  export default autoFetchData;
@@ -1,3 +1,3 @@
1
- import type { FederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
- declare const injectNodeFetchPlugin: () => FederationRuntimePlugin;
1
+ import type { ModuleFederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
+ declare const injectNodeFetchPlugin: () => ModuleFederationRuntimePlugin;
3
3
  export default injectNodeFetchPlugin;
@@ -1,3 +1,3 @@
1
- import type { FederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
- declare const resolveEntryIpv4Plugin: () => FederationRuntimePlugin;
1
+ import type { ModuleFederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
+ declare const resolveEntryIpv4Plugin: () => ModuleFederationRuntimePlugin;
3
3
  export default resolveEntryIpv4Plugin;
@@ -1,3 +1,3 @@
1
- import type { FederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
- declare const sharedStrategy: () => FederationRuntimePlugin;
1
+ import type { ModuleFederationRuntimePlugin } from '@module-federation/enhanced/runtime';
2
+ declare const sharedStrategy: () => ModuleFederationRuntimePlugin;
3
3
  export default sharedStrategy;
@@ -1,6 +1,6 @@
1
1
  import type { GlobalModuleInfo } from '@module-federation/sdk';
2
2
  import type { DataFetchParams, MF_DATA_FETCH_MAP, NoSSRRemoteInfo } from '../interfaces/global';
3
- import type { FederationHost } from '@module-federation/enhanced/runtime';
3
+ import type { ModuleFederation } from '@module-federation/enhanced/runtime';
4
4
  export declare const getDataFetchInfo: ({ name, alias, id, remoteSnapshot, }: {
5
5
  id: string;
6
6
  name: string;
@@ -22,5 +22,5 @@ export declare function getDataFetchMapKey(dataFetchInfo?: ReturnType<typeof get
22
22
  name: string;
23
23
  version?: string;
24
24
  }): string | undefined;
25
- export declare function loadDataFetchModule(instance: FederationHost, id: string): Promise<(params: DataFetchParams) => Promise<unknown>>;
25
+ export declare function loadDataFetchModule(instance: ModuleFederation, id: string): Promise<(params: DataFetchParams) => Promise<unknown>>;
26
26
  export declare function isDataLoaderExpose(exposeKey: string): boolean;
@@ -1,5 +1,5 @@
1
- import type { FederationHost } from '@module-federation/enhanced/runtime';
2
- export declare function getLoadedRemoteInfos(id: string, instance: FederationHost | null): {
1
+ import type { ModuleFederation } from '@module-federation/enhanced/runtime';
2
+ export declare function getLoadedRemoteInfos(id: string, instance: ModuleFederation | null): {
3
3
  snapshot: import("@module-federation/sdk/.").ModuleInfo | import("@module-federation/sdk/.").ManifestProvider | import("@module-federation/sdk/.").PureEntryProvider | undefined;
4
4
  expose: string;
5
5
  alias?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/modern-js",
3
- "version": "0.0.0-next-20250704061325",
3
+ "version": "0.0.0-next-20250707074728",
4
4
  "files": [
5
5
  "dist/",
6
6
  "types.d.ts",
@@ -120,12 +120,12 @@
120
120
  "@swc/helpers": "^0.5.17",
121
121
  "node-fetch": "~3.3.0",
122
122
  "react-error-boundary": "4.1.2",
123
- "@module-federation/rsbuild-plugin": "0.0.0-next-20250704061325",
124
- "@module-federation/enhanced": "0.0.0-next-20250704061325",
125
- "@module-federation/runtime": "0.0.0-next-20250704061325",
126
- "@module-federation/node": "0.0.0-next-20250704061325",
127
- "@module-federation/sdk": "0.0.0-next-20250704061325",
128
- "@module-federation/cli": "0.0.0-next-20250704061325"
123
+ "@module-federation/rsbuild-plugin": "0.0.0-next-20250707074728",
124
+ "@module-federation/enhanced": "0.0.0-next-20250707074728",
125
+ "@module-federation/runtime": "0.0.0-next-20250707074728",
126
+ "@module-federation/node": "0.0.0-next-20250707074728",
127
+ "@module-federation/sdk": "0.0.0-next-20250707074728",
128
+ "@module-federation/cli": "0.0.0-next-20250707074728"
129
129
  },
130
130
  "devDependencies": {
131
131
  "@modern-js/core": "2.67.5",
@@ -135,7 +135,7 @@
135
135
  "@modern-js/module-tools": "2.67.6",
136
136
  "@modern-js/runtime": "2.67.6",
137
137
  "@modern-js/tsconfig": "2.67.6",
138
- "@module-federation/manifest": "0.0.0-next-20250704061325"
138
+ "@module-federation/manifest": "0.0.0-next-20250707074728"
139
139
  },
140
140
  "peerDependencies": {
141
141
  "react": ">=17",