@kronos-integration/service 10.4.57 → 11.0.0

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,13 +1,15 @@
1
1
  {
2
2
  "name": "@kronos-integration/service",
3
- "version": "10.4.57",
3
+ "version": "11.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
7
7
  },
8
+ "types": "./types/module.d.mts",
8
9
  "exports": {
9
10
  ".": {
10
- "default": "./src/module.mjs"
11
+ "default": "./src/module.mjs",
12
+ "types": "./types/module.d.mts"
11
13
  }
12
14
  },
13
15
  "description": "Base service implementation",
@@ -42,14 +44,14 @@
42
44
  "statetransition-mixin": "^8.1.0"
43
45
  },
44
46
  "devDependencies": {
45
- "ava": "^6.1.2",
47
+ "ava": "^6.1.3",
46
48
  "c8": "^9.1.0",
47
49
  "documentation": "^14.0.3",
48
- "semantic-release": "^23.0.8",
50
+ "semantic-release": "^23.1.1",
49
51
  "typescript": "^5.4.5"
50
52
  },
51
53
  "engines": {
52
- "node": ">=20.12.2"
54
+ "node": ">=22.2.0"
53
55
  },
54
56
  "repository": {
55
57
  "type": "git",
@@ -108,7 +108,7 @@ export function EndpointsMixin(superclass) {
108
108
  * Also creates interceptors if they are present in the definition.
109
109
  * @param {string} name of the new endpoint
110
110
  * @param {Object|string} definition endpoint attributes or alias expression
111
- * @param {string} definition.target expression pointing to the connected endpoint
111
+ * @param {string} [definition.target] expression pointing to the connected endpoint
112
112
  * @param {InitializationContext} ic
113
113
  * @return {Endpoint} newly created endpoint
114
114
  */
@@ -210,7 +210,7 @@ export const InitializationContext = LogLevelMixin(
210
210
  };
211
211
 
212
212
  outstandingFactory.timeout = setTimeout(() => {
213
- const message = `timeout waiting for ${type}`;
213
+ const message = `timeout waiting for service ${type}`;
214
214
  this.warn(message);
215
215
  reject(new Error(message));
216
216
  }, 1000 * 10);