pmcf 4.30.0 → 4.30.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/host.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.30.0",
3
+ "version": "4.30.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -370,8 +370,8 @@ export class Host extends ServiceOwner {
370
370
  set networkInterfaces(networkInterface) {
371
371
  this._networkInterfaces.set(networkInterface.name, networkInterface);
372
372
 
373
- if (!this.isTemplate) {
374
- networkInterface.network?.addObject(this);
373
+ if (!this.isTemplate && networkInterface.network) {
374
+ networkInterface.network.hosts = this;
375
375
  }
376
376
  }
377
377