@module-federation/sdk 0.0.0-next-20240903075658 → 0.0.0-next-20240904030559
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/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -463,7 +463,7 @@ function createScript(info) {
|
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
const onScriptComplete = (prev, // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
466
|
+
const onScriptComplete = async (prev, // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
467
467
|
event)=>{
|
|
468
468
|
var _info_cb;
|
|
469
469
|
clearTimeout(timeoutId);
|
|
@@ -480,7 +480,7 @@ function createScript(info) {
|
|
|
480
480
|
if (prev) {
|
|
481
481
|
var _info_cb1;
|
|
482
482
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
483
|
-
const res = prev(event);
|
|
483
|
+
const res = await prev(event);
|
|
484
484
|
info == null ? void 0 : (_info_cb1 = info.cb) == null ? void 0 : _info_cb1.call(info);
|
|
485
485
|
return res;
|
|
486
486
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -459,7 +459,7 @@ function createScript(info) {
|
|
|
459
459
|
});
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
const onScriptComplete = (prev, // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
462
|
+
const onScriptComplete = async (prev, // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
463
463
|
event)=>{
|
|
464
464
|
var _info_cb;
|
|
465
465
|
clearTimeout(timeoutId);
|
|
@@ -476,7 +476,7 @@ function createScript(info) {
|
|
|
476
476
|
if (prev) {
|
|
477
477
|
var _info_cb1;
|
|
478
478
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
479
|
-
const res = prev(event);
|
|
479
|
+
const res = await prev(event);
|
|
480
480
|
info == null ? void 0 : (_info_cb1 = info.cb) == null ? void 0 : _info_cb1.call(info);
|
|
481
481
|
return res;
|
|
482
482
|
}
|