@module-federation/data-prefetch 0.15.0 → 0.17.0
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/src/plugin.d.ts +2 -2
- package/dist/src/prefetch.d.ts +2 -2
- package/package.json +3 -3
package/dist/src/plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const prefetchPlugin: () =>
|
|
1
|
+
import type { ModuleFederationRuntimePlugin } from '@module-federation/runtime/types';
|
|
2
|
+
export declare const prefetchPlugin: () => ModuleFederationRuntimePlugin;
|
|
3
3
|
export default prefetchPlugin;
|
package/dist/src/prefetch.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ModuleFederation } from '@module-federation/runtime';
|
|
2
2
|
import { ModuleInfo } from '@module-federation/sdk';
|
|
3
3
|
import { Remote } from '@module-federation/runtime/types';
|
|
4
4
|
import type { Federation } from '@module-federation/runtime';
|
|
@@ -13,7 +13,7 @@ type PrefetchExports = Record<string, any>;
|
|
|
13
13
|
export interface DataPrefetchOptions {
|
|
14
14
|
name: string;
|
|
15
15
|
remote?: Remote;
|
|
16
|
-
origin?:
|
|
16
|
+
origin?: ModuleFederation;
|
|
17
17
|
remoteSnapshot?: ModuleInfo;
|
|
18
18
|
}
|
|
19
19
|
export interface prefetchOptions {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/data-prefetch",
|
|
3
3
|
"description": "Module Federation Data Prefetch",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "nieyan <nyqykk@foxmail.com>",
|
|
7
7
|
"homepage": "https://github.com/module-federation/core",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"fs-extra": "9.1.0",
|
|
92
|
-
"@module-federation/runtime": "0.
|
|
93
|
-
"@module-federation/sdk": "0.
|
|
92
|
+
"@module-federation/runtime": "0.17.0",
|
|
93
|
+
"@module-federation/sdk": "0.17.0"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"test": "jest"
|