@kronos-integration/service 10.4.26 → 10.4.27

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  [![npm](https://img.shields.io/npm/v/@kronos-integration/service.svg)](https://www.npmjs.com/package/@kronos-integration/service)
2
2
  [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
3
- [![minified size](https://badgen.net/bundlephobia/min/@kronos-integration/service)](https://bundlephobia.com/result?p=@kronos-integration/service)
3
+ [![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/?q=@kronos-integration/service)
4
4
  [![downloads](http://img.shields.io/npm/dm/@kronos-integration/service.svg?style=flat-square)](https://npmjs.org/package/@kronos-integration/service)
5
5
  [![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/service.svg?style=flat-square)](https://github.com/Kronos-Integration/service/issues)
6
6
  [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FKronos-Integration%2Fservice%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/Kronos-Integration/service/goto)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service",
3
- "version": "10.4.26",
3
+ "version": "10.4.27",
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.31",
33
- "@kronos-integration/interceptor": "^10.2.24",
32
+ "@kronos-integration/endpoint": "^9.4.32",
33
+ "@kronos-integration/interceptor": "^10.2.25",
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": "^7.0.6"
37
+ "statetransition-mixin": "^8.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "ava": "^4.3.0",
41
- "c8": "^7.11.3",
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.15.1"
46
+ "node": ">=16.16.0"
47
47
  },
48
48
  "repository": {
49
49
  "type": "git",
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}`,