pmcf 1.80.2 → 1.81.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 +1 -1
- package/src/owner.mjs +10 -1
- package/types/owner.d.mts +1 -0
package/package.json
CHANGED
package/src/owner.mjs
CHANGED
|
@@ -382,7 +382,6 @@ export class Owner extends Base {
|
|
|
382
382
|
return this.#domain || this.owner?.domain;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
|
|
386
385
|
get domains() {
|
|
387
386
|
let domains = new Set();
|
|
388
387
|
|
|
@@ -408,4 +407,14 @@ export class Owner extends Base {
|
|
|
408
407
|
return domains;
|
|
409
408
|
}
|
|
410
409
|
*/
|
|
410
|
+
|
|
411
|
+
get domainNames() {
|
|
412
|
+
let names = new Set();
|
|
413
|
+
|
|
414
|
+
for (const host of this.hosts()) {
|
|
415
|
+
names = names.union(new Set(host.domainNames));
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
return names;
|
|
419
|
+
}
|
|
411
420
|
}
|