@module-federation/runtime-core 0.0.0-next-20250305085339 → 0.0.0-next-20250305092648

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 CHANGED
@@ -196,7 +196,7 @@ function getGlobalFederationConstructor() {
196
196
  function setGlobalFederationConstructor(FederationConstructor, isDebug = sdk.isDebugMode()) {
197
197
  if (isDebug) {
198
198
  CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
199
- CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.9.1";
199
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.10.0";
200
200
  }
201
201
  }
202
202
  // eslint-disable-next-line @typescript-eslint/ban-types
@@ -2092,7 +2092,7 @@ class SnapshotHandler {
2092
2092
  } catch (err) {
2093
2093
  manifestJson = await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
2094
2094
  id: manifestUrl,
2095
- error,
2095
+ error: err,
2096
2096
  from: 'runtime',
2097
2097
  lifecycle: 'afterResolve',
2098
2098
  origin: this.HostInstance
@@ -2961,7 +2961,7 @@ class FederationHost {
2961
2961
  // maybe will change, temporarily for internal use only
2962
2962
  initContainer: new AsyncWaterfallHook('initContainer')
2963
2963
  });
2964
- this.version = "0.9.1";
2964
+ this.version = "0.10.0";
2965
2965
  this.moduleCache = new Map();
2966
2966
  this.loaderHook = new PluginSystem({
2967
2967
  // FIXME: may not be suitable , not open to the public yet
@@ -195,7 +195,7 @@ function getGlobalFederationConstructor() {
195
195
  function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
196
196
  if (isDebug) {
197
197
  CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
198
- CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.9.1";
198
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.10.0";
199
199
  }
200
200
  }
201
201
  // eslint-disable-next-line @typescript-eslint/ban-types
@@ -2091,7 +2091,7 @@ class SnapshotHandler {
2091
2091
  } catch (err) {
2092
2092
  manifestJson = await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
2093
2093
  id: manifestUrl,
2094
- error,
2094
+ error: err,
2095
2095
  from: 'runtime',
2096
2096
  lifecycle: 'afterResolve',
2097
2097
  origin: this.HostInstance
@@ -2960,7 +2960,7 @@ class FederationHost {
2960
2960
  // maybe will change, temporarily for internal use only
2961
2961
  initContainer: new AsyncWaterfallHook('initContainer')
2962
2962
  });
2963
- this.version = "0.9.1";
2963
+ this.version = "0.10.0";
2964
2964
  this.moduleCache = new Map();
2965
2965
  this.loaderHook = new PluginSystem({
2966
2966
  // FIXME: may not be suitable , not open to the public yet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime-core",
3
- "version": "0.0.0-next-20250305085339",
3
+ "version": "0.0.0-next-20250305092648",
4
4
  "author": "zhouxiao <codingzx@gmail.com>",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.mjs",
@@ -36,7 +36,7 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@module-federation/sdk": "0.0.0-next-20250305085339",
40
- "@module-federation/error-codes": "0.0.0-next-20250305085339"
39
+ "@module-federation/sdk": "0.0.0-next-20250305092648",
40
+ "@module-federation/error-codes": "0.0.0-next-20250305092648"
41
41
  }
42
42
  }