@kronos-integration/service 10.4.26 → 10.4.29
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 -1
- package/package.json +7 -7
- package/src/endpoints-mixin.mjs +1 -4
- package/src/service.mjs +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/@kronos-integration/service)
|
|
2
2
|
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
3
|
-
[](https://bundlejs.com/?q=@kronos-integration/service)
|
|
4
4
|
[](https://npmjs.org/package/@kronos-integration/service)
|
|
5
5
|
[](https://github.com/Kronos-Integration/service/issues)
|
|
6
6
|
[](https://actions-badge.atrox.dev/Kronos-Integration/service/goto)
|
|
@@ -296,6 +296,7 @@ Emits a serviceStateChanged event to the owner.
|
|
|
296
296
|
|
|
297
297
|
#### Parameters
|
|
298
298
|
|
|
299
|
+
* `origin`
|
|
299
300
|
* `oldState` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
300
301
|
* `newState` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
|
301
302
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/service",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.29",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@kronos-integration/endpoint": "^9.4.
|
|
33
|
-
"@kronos-integration/interceptor": "^10.2.
|
|
32
|
+
"@kronos-integration/endpoint": "^9.4.33",
|
|
33
|
+
"@kronos-integration/interceptor": "^10.2.26",
|
|
34
34
|
"loglevel-mixin": "^6.1.4",
|
|
35
35
|
"model-attributes": "^4.1.18",
|
|
36
36
|
"remove-sensible-values": "^1.0.16",
|
|
37
|
-
"statetransition-mixin": "^
|
|
37
|
+
"statetransition-mixin": "^8.0.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"ava": "^4.3.
|
|
41
|
-
"c8": "^7.
|
|
40
|
+
"ava": "^4.3.1",
|
|
41
|
+
"c8": "^7.12.0",
|
|
42
42
|
"documentation": "^13.2.5",
|
|
43
43
|
"semantic-release": "^19.0.3"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=16.
|
|
46
|
+
"node": ">=16.16.0"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|
package/src/endpoints-mixin.mjs
CHANGED
package/src/service.mjs
CHANGED
|
@@ -214,7 +214,7 @@ export class Service extends EndpointsMixin(
|
|
|
214
214
|
* @param {string} oldState
|
|
215
215
|
* @param {string} newState
|
|
216
216
|
*/
|
|
217
|
-
stateChanged(oldState, newState) {
|
|
217
|
+
stateChanged(origin, oldState, newState) {
|
|
218
218
|
this.owner.serviceStateChanged(this, oldState, newState);
|
|
219
219
|
this.trace({
|
|
220
220
|
message: `${this.extendetName}: transitioned from ${oldState} to ${newState}`,
|