@kronos-integration/endpoint 11.1.7 → 11.1.9
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 +3 -3
- package/src/endpoint.mjs +18 -2
- package/types/endpoint.d.mts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/endpoint",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@kronos-integration/interceptor": "^13.3.
|
|
43
|
+
"@kronos-integration/interceptor": "^13.3.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"ava": "^8.0.1",
|
|
47
47
|
"c8": "^12.0.0",
|
|
48
48
|
"documentation": "^14.0.3",
|
|
49
|
-
"semantic-release": "^25.0.
|
|
49
|
+
"semantic-release": "^25.0.9",
|
|
50
50
|
"typescript": "^7.0.2"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
package/src/endpoint.mjs
CHANGED
|
@@ -161,8 +161,8 @@ export class Endpoint {
|
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
165
|
-
* @param {Object} [options]
|
|
164
|
+
*
|
|
165
|
+
* @param {Object} [options]
|
|
166
166
|
* @returns {Object}
|
|
167
167
|
*/
|
|
168
168
|
toJSONWithOptions(options) {
|
|
@@ -363,6 +363,22 @@ export class Endpoint {
|
|
|
363
363
|
get receivingInterceptors() {
|
|
364
364
|
return [];
|
|
365
365
|
}
|
|
366
|
+
|
|
367
|
+
info(...args) {
|
|
368
|
+
this.owner.info(...args);
|
|
369
|
+
}
|
|
370
|
+
warn(...args) {
|
|
371
|
+
this.owner.warn(...args);
|
|
372
|
+
}
|
|
373
|
+
error(...args) {
|
|
374
|
+
this.owner.error(...args);
|
|
375
|
+
}
|
|
376
|
+
trace(...args) {
|
|
377
|
+
this.owner.trace(...args);
|
|
378
|
+
}
|
|
379
|
+
debug(...args) {
|
|
380
|
+
this.owner.debug(...args);
|
|
381
|
+
}
|
|
366
382
|
}
|
|
367
383
|
|
|
368
384
|
/**
|
package/types/endpoint.d.mts
CHANGED
|
@@ -153,6 +153,11 @@ export declare class Endpoint {
|
|
|
153
153
|
*/
|
|
154
154
|
didConnect(endpoint: Endpoint, other: Endpoint): void;
|
|
155
155
|
get receivingInterceptors(): never[];
|
|
156
|
+
info(...args: any[]): void;
|
|
157
|
+
warn(...args: any[]): void;
|
|
158
|
+
error(...args: any[]): void;
|
|
159
|
+
trace(...args: any[]): void;
|
|
160
|
+
debug(...args: any[]): void;
|
|
156
161
|
}
|
|
157
162
|
/**
|
|
158
163
|
* Check for Endpoint.
|