pmcf 2.70.0 → 2.70.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": "2.70.0",
3
+ "version": "2.70.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,8 +28,7 @@ const KeaServiceTypeDefinition = {
28
28
  family: "IPv4",
29
29
  port: 53001,
30
30
  protocol: "tcp",
31
- tls: false,
32
- // kind: "loopback"
31
+ tls: false
33
32
  }
34
33
  ]
35
34
  },
@@ -153,7 +152,7 @@ export class KeaService extends Service {
153
152
  (
154
153
  await Array.fromAsync(
155
154
  network.findServices({
156
- type: "dhcp",
155
+ type: "kea",
157
156
  priority: ">=" + (this.priority < 100 ? this.priority : 100)
158
157
  })
159
158
  )
@@ -161,11 +160,7 @@ export class KeaService extends Service {
161
160
  .sort(sortDescendingByPriority)
162
161
  .map((dhcp, i) => {
163
162
  const ctrlAgentEndpoint = dhcp.endpoint(
164
- e =>
165
- e.type ===
166
- (fetureHasHTTPEndpoints
167
- ? `kea-ha-${family}`
168
- : "kea-control-agent")
163
+ fetureHasHTTPEndpoints ? `kea-ha-${family}` : "kea-control-agent"
169
164
  );
170
165
 
171
166
  if (ctrlAgentEndpoint) {
@@ -51,7 +51,7 @@ export class MosquittoService extends Service {
51
51
  }
52
52
  };
53
53
 
54
- const endpoint = this.endpoint(e => e.type === "mosquitto");
54
+ const endpoint = this.endpoint("mqtt");
55
55
 
56
56
  const lines = [
57
57
  `listener ${endpoint.port}`,