pmcf 6.59.0 → 6.59.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.59.0",
3
+ "version": "6.59.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -2,7 +2,8 @@ import { join } from "node:path";
2
2
  import { FAMILY_IPV4 } from "ip-utilties";
3
3
  import { duration_attribute_writable } from "pacc";
4
4
  import { host } from "./host.mjs";
5
- import { addType, serviceEndpoints } from "pmcf";
5
+ import { serviceEndpoints } from "./core-service.mjs";
6
+ import { addType } from "./type.mjs";
6
7
  import {
7
8
  networkInterfaces_attribute,
8
9
  cluster_attribute
@@ -160,7 +160,7 @@ export const networkAttributes = {
160
160
  ssid: ssid_attribute,
161
161
  psk: psk_attribute,
162
162
  secretName: { ...string_attribute_writable, name: "secretName" },
163
- metric: { ...integer_attribute_writable, name: "metric" /*default: 1004*/ },
163
+ metric: { ...integer_attribute_writable, name: "metric" },
164
164
  mtu: { ...integer_attribute_writable, name: "mtu", default: 1500 },
165
165
  gateway: { ...default_attribute_writable, name: "gateway", type: "host" },
166
166
  multicastDNS: {
package/src/owner.mjs CHANGED
@@ -26,8 +26,8 @@ export class owner extends ServiceOwner {
26
26
  static owners = [owner, "site", "root"];
27
27
  static attributes = {
28
28
  networks: networks_attribute,
29
- hosts: hosts_attribute,
30
29
  clusters: clusters_attribute,
30
+ hosts: hosts_attribute,
31
31
  subnets: subnets_attribute,
32
32
  networkInterfaces: networkInterfaces_attribute,
33
33
  owners: owners_attribute,