pmcf 4.22.2 → 4.22.4
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/README.md +11 -11
- package/package.json +3 -3
- package/src/service.mjs +1 -1
package/README.md
CHANGED
|
@@ -71,11 +71,11 @@ generates config packages for:
|
|
|
71
71
|
* [Parameters](#parameters-11)
|
|
72
72
|
* [port](#port-1)
|
|
73
73
|
* [id](#id)
|
|
74
|
+
* [InitializationContext](#initializationcontext)
|
|
75
|
+
* [Parameters](#parameters-12)
|
|
74
76
|
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
75
77
|
* [networkAddresses](#networkaddresses)
|
|
76
|
-
* [Parameters](#parameters-
|
|
77
|
-
* [InitializationContext](#initializationcontext)
|
|
78
|
-
* [Parameters](#parameters-13)
|
|
78
|
+
* [Parameters](#parameters-13)
|
|
79
79
|
* [SystemdJournalRemoteService](#systemdjournalremoteservice)
|
|
80
80
|
* [Properties](#properties)
|
|
81
81
|
* [systemdConfigs](#systemdconfigs)
|
|
@@ -250,6 +250,14 @@ Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
250
250
|
|
|
251
251
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
252
252
|
|
|
253
|
+
## InitializationContext
|
|
254
|
+
|
|
255
|
+
Keeps track of all in flight object creations and loose ends during config initialization.
|
|
256
|
+
|
|
257
|
+
### Parameters
|
|
258
|
+
|
|
259
|
+
* `directory` (optional, default `"/"`)
|
|
260
|
+
|
|
253
261
|
## SkeletonNetworkInterface
|
|
254
262
|
|
|
255
263
|
**Extends ServiceOwner**
|
|
@@ -262,14 +270,6 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
262
270
|
|
|
263
271
|
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
264
272
|
|
|
265
|
-
## InitializationContext
|
|
266
|
-
|
|
267
|
-
Keeps track of all in flight object creations and loose ends during config initialization.
|
|
268
|
-
|
|
269
|
-
### Parameters
|
|
270
|
-
|
|
271
|
-
* `directory` (optional, default `"/"`)
|
|
272
|
-
|
|
273
273
|
## SystemdJournalRemoteService
|
|
274
274
|
|
|
275
275
|
**Extends Service**
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"packageManager": "npm@11.
|
|
7
|
+
"packageManager": "npm@11.16.0",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"default": "./src/module.mjs"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"content-entry-transform": "^1.6.9",
|
|
55
55
|
"ip-utilties": "^3.0.4",
|
|
56
56
|
"npm-pkgbuild": "^20.6.4",
|
|
57
|
-
"pacc": "^9.2.
|
|
57
|
+
"pacc": "^9.2.13",
|
|
58
58
|
"package-directory": "^8.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
package/src/service.mjs
CHANGED
|
@@ -221,7 +221,7 @@ export class Service extends Base {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
get port() {
|
|
224
|
-
return this._port ?? serviceTypeEndpoints(ServiceTypes[this.type])[0]?.port;
|
|
224
|
+
return this.extendedAttribute("_port") ?? serviceTypeEndpoints(ServiceTypes[this.type])[0]?.port;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
set weight(value) {
|