pmcf 2.32.1 → 2.32.2

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/bin/pmcf-info CHANGED
@@ -5,7 +5,7 @@ const { root, args, options } = await prepare({
5
5
  type: "string"
6
6
  },
7
7
  address: {
8
- type: "string"
8
+ type: "boolean"
9
9
  }
10
10
  });
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.32.1",
3
+ "version": "2.32.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -208,6 +208,7 @@ export class Host extends Base {
208
208
  return this.extends.find(h => h.isModel);
209
209
  }
210
210
 
211
+
211
212
  set aliases(value) {
212
213
  if (value instanceof Set) {
213
214
  this._aliases = this._aliases.union(value);
@@ -354,6 +355,10 @@ export class Host extends Base {
354
355
  return this;
355
356
  }
356
357
 
358
+ *hosts() {
359
+ yield this;
360
+ }
361
+
357
362
  get services() {
358
363
  return this._services;
359
364
  }
package/types/host.d.mts CHANGED
@@ -228,6 +228,7 @@ export class Host extends Base {
228
228
  domainNamesIn(domain: any): Generator<any, void, unknown>;
229
229
  get clusters(): Set<any>;
230
230
  get host(): this;
231
+ hosts(): Generator<this, void, unknown>;
231
232
  named(name: any): any;
232
233
  get networks(): Set<any>;
233
234
  findNetworkInterfaces(filter: any): Generator<any, void, any>;