@module-federation/runtime 0.0.0-next-20240516090436 → 0.0.0-next-20240516123215

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
@@ -956,7 +956,7 @@ class SnapshotHandler {
956
956
  // global snapshot includes manifest or module info includes manifest
957
957
  if (globalRemoteSnapshot) {
958
958
  if (sdk.isManifestProvider(globalRemoteSnapshot)) {
959
- const remoteEntry = share.isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || '';
959
+ const remoteEntry = share.isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || globalRemoteSnapshot.remoteEntry || '';
960
960
  const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});
961
961
  // eslint-disable-next-line @typescript-eslint/no-shadow
962
962
  const globalSnapshotRes = share.setGlobalSnapshotInfoByModuleInfo(_extends$3({}, moduleInfo, {
package/dist/index.esm.js CHANGED
@@ -954,7 +954,7 @@ class SnapshotHandler {
954
954
  // global snapshot includes manifest or module info includes manifest
955
955
  if (globalRemoteSnapshot) {
956
956
  if (isManifestProvider(globalRemoteSnapshot)) {
957
- const remoteEntry = isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || '';
957
+ const remoteEntry = isBrowserEnv() ? globalRemoteSnapshot.remoteEntry : globalRemoteSnapshot.ssrRemoteEntry || globalRemoteSnapshot.remoteEntry || '';
958
958
  const moduleSnapshot = await this.getManifestJson(remoteEntry, moduleInfo, {});
959
959
  // eslint-disable-next-line @typescript-eslint/no-shadow
960
960
  const globalSnapshotRes = setGlobalSnapshotInfoByModuleInfo(_extends$3({}, moduleInfo, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/runtime",
3
- "version": "0.0.0-next-20240516090436",
3
+ "version": "0.0.0-next-20240516123215",
4
4
  "author": "zhouxiao <codingzx@gmail.com>",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -45,6 +45,6 @@
45
45
  }
46
46
  },
47
47
  "dependencies": {
48
- "@module-federation/sdk": "0.0.0-next-20240516090436"
48
+ "@module-federation/sdk": "0.0.0-next-20240516123215"
49
49
  }
50
50
  }