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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.26.0",
3
+ "version": "1.27.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -122,10 +122,7 @@ export class Base {
122
122
  }
123
123
 
124
124
  execFinalize() {
125
- this.traverse(object => {
126
- //console.log(object.toString());
127
- object._finalize();
128
- });
125
+ this.traverse(object => object._finalize());
129
126
  }
130
127
 
131
128
  _finalize() {
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.name, 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.name || `(${n})`).sort();
28
+ return [...bridge].map(n => n.fullName || `(${n})`).sort();
29
29
  }
30
30
 
31
31
  export function asArray(value) {