pmcf 6.28.0 → 6.28.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.28.0",
3
+ "version": "6.28.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,7 +14,7 @@ import {
14
14
  Endpoint,
15
15
  DomainNameEndpoint,
16
16
  HTTPEndpoint,
17
- UnixEndpoint,
17
+ unix_endpoint,
18
18
  addType,
19
19
  FAMILY_UNIX,
20
20
  FAMILY_DNS
@@ -137,7 +137,7 @@ export class CoreService extends Base {
137
137
  for (const e of data) {
138
138
  switch (e.family) {
139
139
  case FAMILY_UNIX:
140
- result.push(new UnixEndpoint(this, e.path, e));
140
+ result.push(new unix_endpoint(this, e.path, e));
141
141
  break;
142
142
 
143
143
  case undefined:
package/src/endpoint.mjs CHANGED
@@ -240,8 +240,7 @@ export class HTTPEndpoint extends BaseEndpoint {
240
240
  }
241
241
  }
242
242
 
243
- export class UnixEndpoint extends BaseEndpoint {
244
- static name = "unix_endpoint";
243
+ export class unix_endpoint extends BaseEndpoint {
245
244
  static attributes = {
246
245
  url: url_attribute
247
246
  };
@@ -369,11 +369,7 @@ class bind_group extends Base {
369
369
  const address = na.address;
370
370
  const host = na.host;
371
371
 
372
- if (host === undefined) {
373
- console.log("NO HOST", na);
374
- }
375
-
376
- if (!addresses.has(address)) {
372
+ if (host && !addresses.has(address)) {
377
373
  addresses.add(address);
378
374
 
379
375
  const locationName = host.owner.name;
@@ -403,7 +399,7 @@ class bind_group extends Base {
403
399
  )
404
400
  );
405
401
 
406
- if (host && !hosts.has(host)) {
402
+ if (!hosts.has(host)) {
407
403
  hosts.add(host);
408
404
 
409
405
  for (let foreignDomain of host.foreignDomainNames) {