@module-federation/retry-plugin 2.3.2 → 2.3.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +13 -1
- package/package.json +3 -3
package/dist/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -533,12 +533,24 @@ declare class ModuleFederation {
|
|
|
533
533
|
createScript: SyncHook<[{
|
|
534
534
|
url: string;
|
|
535
535
|
attrs?: Record<string, any>;
|
|
536
|
+
/**
|
|
537
|
+
* The producer(remote) info bound to this resource.
|
|
538
|
+
* Only present when the loader is invoked in a remote-related context
|
|
539
|
+
* (e.g. preloadRemote / loading remoteEntry).
|
|
540
|
+
*/
|
|
541
|
+
remoteInfo?: RemoteInfo;
|
|
536
542
|
}], CreateScriptHookReturn>;
|
|
537
543
|
createLink: SyncHook<[{
|
|
538
544
|
url: string;
|
|
539
545
|
attrs?: Record<string, any>;
|
|
546
|
+
/**
|
|
547
|
+
* The producer(remote) info bound to this resource.
|
|
548
|
+
* Only present when the loader is invoked in a remote-related context
|
|
549
|
+
* (e.g. preloadRemote / loading remoteEntry).
|
|
550
|
+
*/
|
|
551
|
+
remoteInfo?: RemoteInfo;
|
|
540
552
|
}], void | HTMLLinkElement>;
|
|
541
|
-
fetch: AsyncHook<[string, RequestInit], false | void | Promise<Response>>;
|
|
553
|
+
fetch: AsyncHook<[string, RequestInit, (RemoteInfo | undefined)?], false | void | Promise<Response>>;
|
|
542
554
|
loadEntryError: AsyncHook<[{
|
|
543
555
|
getRemoteEntry: typeof getRemoteEntry;
|
|
544
556
|
origin: ModuleFederation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/retry-plugin",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"author": "danpeen <dapeen.feng@gmail.com>",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@module-federation/runtime": "2.3.
|
|
36
|
+
"@module-federation/runtime": "2.3.3"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@module-federation/sdk": "2.3.
|
|
39
|
+
"@module-federation/sdk": "2.3.3"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsdown --config tsdown.config.ts && cp *.md dist",
|