@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20240119073703 to 0.0.0-next-20240119085716
@@ -493,7 +493,6 @@ 'use strict'; | ||
}; | ||
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchEntry) { | ||
var _manifest_metaData_prefetchEntry = manifest.metaData.prefetchEntry, path = _manifest_metaData_prefetchEntry.path, name = _manifest_metaData_prefetchEntry.name, type = _manifest_metaData_prefetchEntry.type; | ||
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) { | ||
var prefetchInterface = manifest.metaData.prefetchInterface; | ||
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), { | ||
prefetchEntry: simpleJoinRemoteEntry(path, name), | ||
prefetchEntryType: type | ||
prefetchInterface: prefetchInterface | ||
}); | ||
@@ -500,0 +499,0 @@ } |
@@ -489,7 +489,6 @@ function _define_property$2(obj, key, value) { | ||
}; | ||
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchEntry) { | ||
var _manifest_metaData_prefetchEntry = manifest.metaData.prefetchEntry, path = _manifest_metaData_prefetchEntry.path, name = _manifest_metaData_prefetchEntry.name, type = _manifest_metaData_prefetchEntry.type; | ||
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) { | ||
var prefetchInterface = manifest.metaData.prefetchInterface; | ||
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), { | ||
prefetchEntry: simpleJoinRemoteEntry(path, name), | ||
prefetchEntryType: type | ||
prefetchInterface: prefetchInterface | ||
}); | ||
@@ -496,0 +495,0 @@ } |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
@@ -30,4 +30,3 @@ import { RemoteEntryType, StatsAssets } from './stats'; | ||
}>; | ||
prefetchEntry?: string; | ||
prefetchEntryType?: RemoteEntryType; | ||
prefetchInterface?: boolean; | ||
} | ||
@@ -34,0 +33,0 @@ interface BasicProviderModuleInfoWithPublicPath extends BasicProviderModuleInfo { |
@@ -17,3 +17,3 @@ import type { RemoteWithEntry, RemoteWithVersion } from './common'; | ||
remoteEntry: ResourceInfo; | ||
prefetchEntry: ResourceInfo; | ||
prefetchInterface: boolean; | ||
types: Omit<ResourceInfo, 'type'>; | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.0-next-20240119073703", | ||
"version": "0.0.0-next-20240119085716", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102183
2533