pmcf 1.26.0 → 1.27.1
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/package.json +1 -1
- package/src/base.mjs +1 -4
- package/src/model.mjs +1 -2
- package/src/utils.mjs +1 -1
package/package.json
CHANGED
package/src/base.mjs
CHANGED
package/src/model.mjs
CHANGED
|
@@ -109,7 +109,7 @@ export class Owner extends Base {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
addNetwork(network) {
|
|
112
|
-
this.#networks.set(network.
|
|
112
|
+
this.#networks.set(network.fullName, network);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
addBridge(network, destinationNetworks) {
|
|
@@ -159,7 +159,6 @@ export class Owner extends Base {
|
|
|
159
159
|
bridge.delete(network);
|
|
160
160
|
bridge.add(other);
|
|
161
161
|
other.bridge = bridge;
|
|
162
|
-
//this.info("RESOLVE", network, other, bridgeToJSON(bridge));
|
|
163
162
|
} else {
|
|
164
163
|
this.error(`Unresolvabale bridge network`, network);
|
|
165
164
|
}
|
package/src/utils.mjs
CHANGED
|
@@ -25,7 +25,7 @@ export function sectionLines(sectionName, values) {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export function bridgeToJSON(bridge) {
|
|
28
|
-
return [...bridge].map(n => n.
|
|
28
|
+
return [...bridge].map(n => n.fullName || `(${n})`).sort();
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export function asArray(value) {
|