pmcf 4.29.3 → 4.29.4

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/owner.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.29.3",
3
+ "version": "4.29.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/owner.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  email_attribute
8
8
  } from "pacc";
9
9
  import { addType } from "pacc";
10
- import { asIterator, union } from "./utils.mjs";
10
+ import { asIterator, asArray, union } from "./utils.mjs";
11
11
  import { Base } from "./base.mjs";
12
12
  import { Subnet, SUBNET_GLOBAL_IPV4, SUBNET_GLOBAL_IPV6 } from "./subnet.mjs";
13
13
  import { networks_attribute } from "./network-support.mjs";
@@ -380,7 +380,7 @@ export class Owner extends Base {
380
380
  }
381
381
 
382
382
  get localDomains() {
383
- return this.domain ? new Set([this.domain]) : new Set();
383
+ return new Set(asArray(this.domain));
384
384
  }
385
385
 
386
386
  get domainNames() {