@kronos-integration/endpoint 9.5.4 → 9.5.5

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
@@ -101,8 +101,10 @@ Named communication (end)-points inside of kronos
101
101
  * [SendEndpoint](#sendendpoint)
102
102
  * [Parameters](#parameters-23)
103
103
  * [isOut](#isout-2)
104
- * [removeConnection](#removeconnection-3)
104
+ * [addConnection](#addconnection-1)
105
105
  * [Parameters](#parameters-24)
106
+ * [removeConnection](#removeconnection-3)
107
+ * [Parameters](#parameters-25)
106
108
  * [SendReceiveEndpoint](#sendreceiveendpoint)
107
109
  * [isIn](#isin-4)
108
110
 
@@ -259,6 +261,7 @@ Returns **Iterable<[Endpoint](#endpoint)>**&#x20;
259
261
  #### Parameters
260
262
 
261
263
  * `connection` **[Endpoint](#endpoint)**&#x20;
264
+ * `backpointer` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** true if this is the call form back call from the other side
262
265
 
263
266
  ### removeConnection
264
267
 
@@ -355,7 +358,7 @@ Actually stop the communication.
355
358
  #### Parameters
356
359
 
357
360
  * `other` **[Endpoint](#endpoint)**&#x20;
358
- * `backpointer` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** true if this is the call form back call from the other side
361
+ * `backpointer` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)??** true if this is the call form back call from the other side
359
362
 
360
363
  ### isConnected
361
364
 
@@ -514,6 +517,15 @@ We are always *out*
514
517
 
515
518
  Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** always true
516
519
 
520
+ ### addConnection
521
+
522
+ Add a connection.
523
+
524
+ #### Parameters
525
+
526
+ * `other` **[Endpoint](#endpoint)**&#x20;
527
+ * `backpointer` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** true if this is the call form back call from the other side
528
+
517
529
  ### removeConnection
518
530
 
519
531
  Actually stop the communication.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/endpoint",
3
- "version": "9.5.4",
3
+ "version": "9.5.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -42,14 +42,14 @@
42
42
  "@kronos-integration/interceptor": "^10.3.0"
43
43
  },
44
44
  "devDependencies": {
45
- "ava": "^6.1.2",
46
- "c8": "^9.1.0",
45
+ "ava": "^6.1.3",
46
+ "c8": "^10.1.2",
47
47
  "documentation": "^14.0.3",
48
- "semantic-release": "^23.0.8",
49
- "typescript": "^5.4.5"
48
+ "semantic-release": "^24.1.0",
49
+ "typescript": "^5.5.4"
50
50
  },
51
51
  "engines": {
52
- "node": ">=20.12.2"
52
+ "node": ">=22.7.0"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
package/src/endpoint.mjs CHANGED
@@ -7,7 +7,6 @@ import { Interceptor } from "@kronos-integration/interceptor";
7
7
  /**
8
8
  * Connection endpoint.
9
9
  */
10
-
11
10
  export class Endpoint {
12
11
  /**
13
12
  * @param {string} name endpoint name