@kronos-integration/service 15.1.2 → 15.1.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/README.md +2 -0
- package/package.json +3 -3
- package/src/service.mjs +3 -1
package/README.md
CHANGED
|
@@ -138,6 +138,8 @@ Deliver configuration for a given service.
|
|
|
138
138
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** service name
|
|
139
139
|
* `config` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
140
140
|
|
|
141
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)>** 
|
|
142
|
+
|
|
141
143
|
### clearPreserved
|
|
142
144
|
|
|
143
145
|
Forget about preserved config of a service.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/service",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@kronos-integration/endpoint": "^11.0.5",
|
|
41
|
-
"@kronos-integration/interceptor": "^13.0
|
|
41
|
+
"@kronos-integration/interceptor": "^13.1.0",
|
|
42
42
|
"loglevel-mixin": "^7.2.6",
|
|
43
|
-
"pacc": "^
|
|
43
|
+
"pacc": "^6.1.0",
|
|
44
44
|
"statetransition-mixin": "^8.1.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
package/src/service.mjs
CHANGED
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
setAttributes,
|
|
8
8
|
description_attribute,
|
|
9
9
|
default_attribute,
|
|
10
|
-
timeout_attribute
|
|
10
|
+
timeout_attribute,
|
|
11
|
+
object_attribute
|
|
11
12
|
} from "pacc";
|
|
12
13
|
import { EndpointsMixin } from "./endpoints-mixin.mjs";
|
|
13
14
|
import { InitializationContext } from "./initialization-context.mjs";
|
|
@@ -88,6 +89,7 @@ export class Service extends EndpointsMixin(
|
|
|
88
89
|
get: () => this.logLevel.name
|
|
89
90
|
},
|
|
90
91
|
timeout: {
|
|
92
|
+
...object_attribute,
|
|
91
93
|
attributes: {
|
|
92
94
|
start: {
|
|
93
95
|
...timeout_attribute,
|