pmcf 1.61.2 → 1.61.3

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": "1.61.2",
3
+ "version": "1.61.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cluster.mjs CHANGED
@@ -81,7 +81,7 @@ export class Cluster extends Host {
81
81
  cfg.push(` ${cluster.rawAddress}`);
82
82
  cfg.push(" }");
83
83
  cfg.push(` virtual_router_id ${this.routerId}`);
84
- cfg.push(" priority 255");
84
+ cfg.push(` priority ${this.priority}`);
85
85
  cfg.push(" advert_int 5");
86
86
  cfg.push(" authentication {");
87
87
  cfg.push(" auth_type PASS");
package/src/host.mjs CHANGED
@@ -53,8 +53,8 @@ const HostTypeDefinition = {
53
53
  };
54
54
 
55
55
  export class Host extends Base {
56
- postinstall = [];
57
56
  serial;
57
+ priority = 1;
58
58
  #services = [];
59
59
  #extends = [];
60
60
  #networkInterfaces = new Map();
package/types/host.d.mts CHANGED
@@ -143,8 +143,8 @@ export class Host extends Base {
143
143
  };
144
144
  };
145
145
  };
146
- postinstall: any[];
147
146
  serial: any;
147
+ priority: number;
148
148
  set depends(value: Set<any>);
149
149
  get depends(): Set<any>;
150
150
  set provides(value: Set<any>);