pmcf 2.39.4 → 2.39.6
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.39.
|
|
3
|
+
"version": "2.39.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"pkg-dir": "^8.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^22.15.
|
|
47
|
+
"@types/node": "^22.15.2",
|
|
48
48
|
"ava": "^6.2.0",
|
|
49
49
|
"c8": "^10.1.3",
|
|
50
50
|
"documentation": "^14.0.3",
|
package/src/service.mjs
CHANGED
|
@@ -255,20 +255,19 @@ export class Service extends Base {
|
|
|
255
255
|
for (const ep of this.endpoints(
|
|
256
256
|
e => e.protocol && e.networkInterface.kind !== "loopback"
|
|
257
257
|
)) {
|
|
258
|
-
if(ep.port === undefined) {
|
|
259
|
-
console.error("
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
)
|
|
271
|
-
);
|
|
258
|
+
if (ep.port === undefined) {
|
|
259
|
+
console.error("Endpoint without port", ep.toString());
|
|
260
|
+
} else {
|
|
261
|
+
records.push(
|
|
262
|
+
DNSRecord(
|
|
263
|
+
dnsFullName(`_${this.type}._${ep.protocol}.${domainName}`),
|
|
264
|
+
"SRV",
|
|
265
|
+
this.priority ?? 10,
|
|
266
|
+
this.weight,
|
|
267
|
+
ep.port,
|
|
268
|
+
dnsFullName(this.domainName)
|
|
269
|
+
)
|
|
270
|
+
);
|
|
272
271
|
}
|
|
273
272
|
}
|
|
274
273
|
}
|
|
@@ -323,6 +323,7 @@ export class LoopbackNetworkInterface extends SkeletonNetworkInterface {
|
|
|
323
323
|
};
|
|
324
324
|
get kind(): string;
|
|
325
325
|
get scope(): string;
|
|
326
|
+
get localDomains(): Set<string>;
|
|
326
327
|
get hostName(): string;
|
|
327
328
|
get ipAddresses(): Map<string, import("pmcf").Subnet>;
|
|
328
329
|
}
|