@kronos-integration/service 10.4.48 → 10.4.50

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,10 +1,9 @@
1
1
  {
2
2
  "name": "@kronos-integration/service",
3
- "version": "10.4.48",
3
+ "version": "10.4.50",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "sideEffects": false,
8
7
  "exports": {
9
8
  ".": "./src/module.mjs"
10
9
  },
@@ -31,19 +30,19 @@
31
30
  "dependencies": {
32
31
  "@kronos-integration/endpoint": "^9.4.42",
33
32
  "@kronos-integration/interceptor": "^10.2.35",
34
- "loglevel-mixin": "^7.0.1",
33
+ "loglevel-mixin": "^7.0.2",
35
34
  "model-attributes": "^4.2.2",
36
35
  "remove-sensible-values": "^1.2.3",
37
36
  "statetransition-mixin": "^8.0.5"
38
37
  },
39
38
  "devDependencies": {
40
39
  "ava": "^5.3.1",
41
- "c8": "^8.0.0",
40
+ "c8": "^8.0.1",
42
41
  "documentation": "^14.0.2",
43
- "semantic-release": "^21.0.7"
42
+ "semantic-release": "^21.1.1"
44
43
  },
45
44
  "engines": {
46
- "node": ">=20.3.1"
45
+ "node": ">=20.5.1"
47
46
  },
48
47
  "repository": {
49
48
  "type": "git",
@@ -226,8 +226,8 @@ export const InitializationContext = LogLevelMixin(
226
226
 
227
227
  /**
228
228
  * - if there is already a service for the given name configure it and we are done
229
- * - if there is already an outstanding declaration ongoing wait until it is done configure it done
230
- * - otherewise declare this action as a new outstanding service declaration
229
+ * - if there is already an outstanding declaration ongoing wait until it is done configure it then
230
+ * - otherwise declare this action as a new outstanding service declaration
231
231
  * @param {Object} config
232
232
  * @param {string} name service name
233
233
  * @return {Service}
package/src/service.mjs CHANGED
@@ -148,9 +148,7 @@ export class Service extends EndpointsMixin(
148
148
 
149
149
  const owner = ic.ownerOfService(this);
150
150
  if (owner !== undefined) {
151
- Object.defineProperty(this, "owner", {
152
- value: owner
153
- });
151
+ this.owner = owner;
154
152
  }
155
153
 
156
154
  if (config === undefined) {