pmcf 1.26.0 → 1.27.0

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.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
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) {
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) {