@kronos-integration/endpoint 9.4.45 → 9.4.46
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 +41 -13
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ Named communication (end)-points inside of kronos
|
|
|
26
26
|
* [isIn](#isin)
|
|
27
27
|
* [isOpen](#isopen)
|
|
28
28
|
* [isDummy](#isdummy)
|
|
29
|
+
* [ConnectionState](#connectionstate)
|
|
29
30
|
* [Endpoint](#endpoint)
|
|
30
31
|
* [Parameters](#parameters)
|
|
31
32
|
* [displayName](#displayname)
|
|
@@ -50,38 +51,42 @@ Named communication (end)-points inside of kronos
|
|
|
50
51
|
* [Parameters](#parameters-5)
|
|
51
52
|
* [openConnections](#openconnections)
|
|
52
53
|
* [closeConnections](#closeconnections)
|
|
54
|
+
* [getConnectionState](#getconnectionstate)
|
|
55
|
+
* [Parameters](#parameters-6)
|
|
56
|
+
* [setConnectionState](#setconnectionstate)
|
|
57
|
+
* [Parameters](#parameters-7)
|
|
53
58
|
* [isEndpoint](#isendpoint)
|
|
54
|
-
* [Parameters](#parameters-
|
|
59
|
+
* [Parameters](#parameters-8)
|
|
55
60
|
* [instanciateInterceptors](#instanciateinterceptors)
|
|
56
|
-
* [Parameters](#parameters-
|
|
61
|
+
* [Parameters](#parameters-9)
|
|
57
62
|
* [MultiConnectionEndpoint](#multiconnectionendpoint)
|
|
58
|
-
* [Parameters](#parameters-
|
|
59
|
-
* [getConnectionState](#getconnectionstate)
|
|
60
|
-
* [Parameters](#parameters-9)
|
|
61
|
-
* [setConnectionState](#setconnectionstate)
|
|
62
|
-
* [Parameters](#parameters-10)
|
|
63
|
-
* [isConnected](#isconnected-1)
|
|
63
|
+
* [Parameters](#parameters-10)
|
|
64
|
+
* [getConnectionState](#getconnectionstate-1)
|
|
64
65
|
* [Parameters](#parameters-11)
|
|
66
|
+
* [setConnectionState](#setconnectionstate-1)
|
|
67
|
+
* [Parameters](#parameters-12)
|
|
68
|
+
* [isConnected](#isconnected-1)
|
|
69
|
+
* [Parameters](#parameters-13)
|
|
65
70
|
* [connections](#connections)
|
|
66
71
|
* [MultiSendEndpoint](#multisendendpoint)
|
|
67
|
-
* [Parameters](#parameters-
|
|
72
|
+
* [Parameters](#parameters-14)
|
|
68
73
|
* [isOut](#isout-1)
|
|
69
74
|
* [ReceivableEndpoint](#receivableendpoint)
|
|
70
|
-
* [Parameters](#parameters-
|
|
75
|
+
* [Parameters](#parameters-15)
|
|
71
76
|
* [isIn](#isin-2)
|
|
72
77
|
* [receive](#receive-1)
|
|
73
78
|
* [receive](#receive-2)
|
|
74
|
-
* [Parameters](#parameters-
|
|
79
|
+
* [Parameters](#parameters-16)
|
|
75
80
|
* [ReceiveEndpointDefault](#receiveendpointdefault)
|
|
76
81
|
* [isDefault](#isdefault-1)
|
|
77
82
|
* [ReceiveEndpointSelfConnectedDefault](#receiveendpointselfconnecteddefault)
|
|
78
83
|
* [ReceiveEndpoint](#receiveendpoint)
|
|
79
|
-
* [Parameters](#parameters-
|
|
84
|
+
* [Parameters](#parameters-17)
|
|
80
85
|
* [isIn](#isin-3)
|
|
81
86
|
* [SendEndpointDefault](#sendendpointdefault)
|
|
82
87
|
* [isDefault](#isdefault-2)
|
|
83
88
|
* [SendEndpoint](#sendendpoint)
|
|
84
|
-
* [Parameters](#parameters-
|
|
89
|
+
* [Parameters](#parameters-18)
|
|
85
90
|
* [isOut](#isout-2)
|
|
86
91
|
|
|
87
92
|
## DummyReceiveEndpoint
|
|
@@ -109,6 +114,10 @@ Dummy endpoints are used duiring construction of the endpoint mesh.
|
|
|
109
114
|
|
|
110
115
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true
|
|
111
116
|
|
|
117
|
+
## ConnectionState
|
|
118
|
+
|
|
119
|
+
Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
120
|
+
|
|
112
121
|
## Endpoint
|
|
113
122
|
|
|
114
123
|
Connection endpoint.
|
|
@@ -227,6 +236,25 @@ Opens all connections.
|
|
|
227
236
|
|
|
228
237
|
Closes all connections.
|
|
229
238
|
|
|
239
|
+
### getConnectionState
|
|
240
|
+
|
|
241
|
+
Deliver state for a given connection.
|
|
242
|
+
|
|
243
|
+
#### Parameters
|
|
244
|
+
|
|
245
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
246
|
+
|
|
247
|
+
Returns **[ConnectionState](#connectionstate)** 
|
|
248
|
+
|
|
249
|
+
### setConnectionState
|
|
250
|
+
|
|
251
|
+
Set state for a given connection.
|
|
252
|
+
|
|
253
|
+
#### Parameters
|
|
254
|
+
|
|
255
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
256
|
+
* `state` **[ConnectionState](#connectionstate)** 
|
|
257
|
+
|
|
230
258
|
## isEndpoint
|
|
231
259
|
|
|
232
260
|
Check for Endpoint.
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/endpoint",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.46",
|
|
4
4
|
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
5
|
+
"access": "public",
|
|
6
|
+
"provenance": true
|
|
6
7
|
},
|
|
7
8
|
"exports": {
|
|
8
9
|
".": "./src/module.mjs"
|
|
@@ -34,17 +35,17 @@
|
|
|
34
35
|
"@kronos-integration/interceptor": "^10.2.37"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"ava": "^6.
|
|
38
|
-
"c8": "^9.
|
|
39
|
-
"documentation": "^14.0.
|
|
40
|
-
"semantic-release": "^
|
|
38
|
+
"ava": "^6.1.1",
|
|
39
|
+
"c8": "^9.1.0",
|
|
40
|
+
"documentation": "^14.0.3",
|
|
41
|
+
"semantic-release": "^23.0.2"
|
|
41
42
|
},
|
|
42
43
|
"engines": {
|
|
43
|
-
"node": ">=20.
|
|
44
|
+
"node": ">=20.11.0"
|
|
44
45
|
},
|
|
45
46
|
"repository": {
|
|
46
47
|
"type": "git",
|
|
47
|
-
"url": "https://github.com/Kronos-Integration/endpoint"
|
|
48
|
+
"url": "git+https://github.com/Kronos-Integration/endpoint.git"
|
|
48
49
|
},
|
|
49
50
|
"bugs": {
|
|
50
51
|
"url": "https://github.com/Kronos-Integration/endpoint/issues"
|