@module-federation/sdk 0.0.0-next-20240620075423 → 0.0.0-next-20240620115801

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
@@ -566,7 +566,7 @@ function generateSnapshotFromManifest(manifest) {
566
566
  if (ssrRemoteEntry) {
567
567
  var fullSSRRemoteEntry = simpleJoinRemoteEntry(ssrRemoteEntry.path, ssrRemoteEntry.name);
568
568
  remoteSnapshot.ssrRemoteEntry = fullSSRRemoteEntry;
569
- remoteSnapshot.ssrRemoteEntryType = 'cjs:webpack';
569
+ remoteSnapshot.ssrRemoteEntryType = 'commonjs-module';
570
570
  }
571
571
  return remoteSnapshot;
572
572
  }
package/dist/index.esm.js CHANGED
@@ -562,7 +562,7 @@ function generateSnapshotFromManifest(manifest) {
562
562
  if (ssrRemoteEntry) {
563
563
  var fullSSRRemoteEntry = simpleJoinRemoteEntry(ssrRemoteEntry.path, ssrRemoteEntry.name);
564
564
  remoteSnapshot.ssrRemoteEntry = fullSSRRemoteEntry;
565
- remoteSnapshot.ssrRemoteEntryType = 'cjs:webpack';
565
+ remoteSnapshot.ssrRemoteEntryType = 'commonjs-module';
566
566
  }
567
567
  return remoteSnapshot;
568
568
  }
@@ -1,5 +1,5 @@
1
1
  import type { RemoteWithEntry, RemoteWithVersion } from './common';
2
- export type RemoteEntryType = 'var' | 'module' | 'assign' | 'assign-properties' | 'this' | 'window' | 'self' | 'global' | 'commonjs' | 'commonjs2' | 'commonjs-module' | 'commonjs-static' | 'amd' | 'amd-require' | 'umd' | 'umd2' | 'jsonp' | 'system' | 'cjs:webpack' | string;
2
+ export type RemoteEntryType = 'var' | 'module' | 'assign' | 'assign-properties' | 'this' | 'window' | 'self' | 'global' | 'commonjs' | 'commonjs2' | 'commonjs-module' | 'commonjs-static' | 'amd' | 'amd-require' | 'umd' | 'umd2' | 'jsonp' | 'system' | string;
3
3
  export interface ResourceInfo {
4
4
  path: string;
5
5
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.0.0-next-20240620075423",
3
+ "version": "0.0.0-next-20240620115801",
4
4
  "license": "MIT",
5
5
  "description": "A sdk for support module federation",
6
6
  "keywords": [