@softarc/native-federation-runtime
Advanced tools
Comparing version 1.1.1 to 1.1.2
export * from './lib/init-federation'; | ||
export * from './lib/load-remote-module'; | ||
export * from './lib/model/federation-info'; |
import { ImportMap } from './model/import-map'; | ||
export declare function initFederation(remotesOrManifestUrl?: Record<string, string> | string): Promise<ImportMap>; | ||
export declare function processRemoteInfo(federationInfoUrl: string, remoteName?: string): Promise<ImportMap>; |
@@ -1,2 +0,2 @@ | ||
export declare type LoadRemoteModuleOptions = { | ||
export type LoadRemoteModuleOptions = { | ||
remoteEntry?: string; | ||
@@ -3,0 +3,0 @@ remoteName?: string; |
import { SharedInfo } from './federation-info'; | ||
export declare function getExternalUrl(shared: SharedInfo): string | undefined; | ||
export declare function setExternalUrl(shared: SharedInfo, url: string): void; |
@@ -1,2 +0,2 @@ | ||
export declare type SharedInfo = { | ||
export type SharedInfo = { | ||
singleton: boolean; | ||
@@ -3,0 +3,0 @@ strictVersion: boolean; |
@@ -1,4 +0,4 @@ | ||
export declare type Imports = Record<string, string>; | ||
export declare type Scopes = Record<string, Imports>; | ||
export declare type ImportMap = { | ||
export type Imports = Record<string, string>; | ||
export type Scopes = Record<string, Imports>; | ||
export type ImportMap = { | ||
imports: Imports; | ||
@@ -5,0 +5,0 @@ scopes: Scopes; |
import { FederationInfo } from './federation-info'; | ||
export declare type Remote = FederationInfo & { | ||
export type Remote = FederationInfo & { | ||
baseUrl: string; | ||
@@ -4,0 +4,0 @@ }; |
import { ImportMap } from '../model/import-map'; | ||
export declare function appendImportMap(importMap: ImportMap): void; |
export declare function getDirectory(url: string): string; | ||
export declare function joinPaths(path1: string, path2: string): string; |
{ | ||
"name": "@softarc/native-federation-runtime", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"peerDependencies": {}, | ||
@@ -8,7 +8,3 @@ "dependencies": { | ||
}, | ||
"module": "fesm2015/softarc-native-federation-runtime.mjs", | ||
"es2020": "fesm2020/softarc-native-federation-runtime.mjs", | ||
"esm2020": "esm2020/softarc-native-federation-runtime.mjs", | ||
"fesm2020": "fesm2020/softarc-native-federation-runtime.mjs", | ||
"fesm2015": "fesm2015/softarc-native-federation-runtime.mjs", | ||
"module": "fesm2022/softarc-native-federation-runtime.mjs", | ||
"typings": "index.d.ts", | ||
@@ -21,7 +17,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/softarc-native-federation-runtime.mjs", | ||
"es2020": "./fesm2020/softarc-native-federation-runtime.mjs", | ||
"es2015": "./fesm2015/softarc-native-federation-runtime.mjs", | ||
"node": "./fesm2015/softarc-native-federation-runtime.mjs", | ||
"default": "./fesm2020/softarc-native-federation-runtime.mjs" | ||
"esm2022": "./esm2022/softarc-native-federation-runtime.mjs", | ||
"esm": "./esm2022/softarc-native-federation-runtime.mjs", | ||
"default": "./fesm2022/softarc-native-federation-runtime.mjs" | ||
} | ||
@@ -28,0 +22,0 @@ }, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
60915
23
461