@kronos-integration/endpoint 9.4.33 → 9.4.35
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 +19 -19
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -126,7 +126,7 @@ Connection endpoint.
|
|
|
126
126
|
|
|
127
127
|
Name as presented for humans.
|
|
128
128
|
|
|
129
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
129
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
130
130
|
|
|
131
131
|
### isDefault
|
|
132
132
|
|
|
@@ -146,7 +146,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
146
146
|
|
|
147
147
|
Mapping of properties used in toString.
|
|
148
148
|
|
|
149
|
-
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
149
|
+
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
150
150
|
|
|
151
151
|
### connectionNamesWithStates
|
|
152
152
|
|
|
@@ -183,7 +183,7 @@ in to out and out to in.
|
|
|
183
183
|
|
|
184
184
|
#### Parameters
|
|
185
185
|
|
|
186
|
-
* `other` **[Endpoint](#endpoint)
|
|
186
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
187
187
|
|
|
188
188
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if we can be connected to the other endpoint
|
|
189
189
|
|
|
@@ -207,7 +207,7 @@ Actually start with the communication.
|
|
|
207
207
|
|
|
208
208
|
#### Parameters
|
|
209
209
|
|
|
210
|
-
* `other` **[Endpoint](#endpoint)
|
|
210
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
211
211
|
* `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
|
|
212
212
|
|
|
213
213
|
### closeConnection
|
|
@@ -216,7 +216,7 @@ Actually stop the communication.
|
|
|
216
216
|
|
|
217
217
|
#### Parameters
|
|
218
218
|
|
|
219
|
-
* `other` **[Endpoint](#endpoint)
|
|
219
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
220
220
|
* `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
|
|
221
221
|
|
|
222
222
|
### openConnections
|
|
@@ -243,10 +243,10 @@ Instanciate interceptors from its definitions.
|
|
|
243
243
|
|
|
244
244
|
### Parameters
|
|
245
245
|
|
|
246
|
-
* `interceptors` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Interceptor> | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Class> | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)
|
|
247
|
-
* `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
246
|
+
* `interceptors` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Interceptor> | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Class> | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)** 
|
|
247
|
+
* `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
248
248
|
|
|
249
|
-
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Interceptor
|
|
249
|
+
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\<Interceptor>** 
|
|
250
250
|
|
|
251
251
|
## MultiConnectionEndpoint
|
|
252
252
|
|
|
@@ -257,8 +257,8 @@ Can hold several connections.
|
|
|
257
257
|
|
|
258
258
|
### Parameters
|
|
259
259
|
|
|
260
|
-
* `name`
|
|
261
|
-
* `owner`
|
|
260
|
+
* `name`  
|
|
261
|
+
* `owner`  
|
|
262
262
|
* `options` (optional, default `{}`)
|
|
263
263
|
|
|
264
264
|
### getConnectionState
|
|
@@ -267,7 +267,7 @@ Deliver connection state.
|
|
|
267
267
|
|
|
268
268
|
#### Parameters
|
|
269
269
|
|
|
270
|
-
* `other` **Entpoint
|
|
270
|
+
* `other` **Entpoint** 
|
|
271
271
|
|
|
272
272
|
Returns **any** our state for the connection to other
|
|
273
273
|
|
|
@@ -277,7 +277,7 @@ Set connection state.
|
|
|
277
277
|
|
|
278
278
|
#### Parameters
|
|
279
279
|
|
|
280
|
-
* `other` **Entpoint
|
|
280
|
+
* `other` **Entpoint** 
|
|
281
281
|
* `state` **any** for the connection to other
|
|
282
282
|
|
|
283
283
|
### isConnected
|
|
@@ -286,7 +286,7 @@ Check connectivity.
|
|
|
286
286
|
|
|
287
287
|
#### Parameters
|
|
288
288
|
|
|
289
|
-
* `other` **[Endpoint](#endpoint)
|
|
289
|
+
* `other` **[Endpoint](#endpoint)** 
|
|
290
290
|
|
|
291
291
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if we are connected with other
|
|
292
292
|
|
|
@@ -306,7 +306,7 @@ Back connections to any further endpoints will not be established
|
|
|
306
306
|
|
|
307
307
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** endpoint name
|
|
308
308
|
* `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** of the endpoint (service)
|
|
309
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
309
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
310
310
|
|
|
311
311
|
* `options.connected` **[Endpoint](#endpoint)?** where te requests are delivered to
|
|
312
312
|
* `options.didConnect` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** called after receiver is present
|
|
@@ -325,10 +325,10 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
325
325
|
|
|
326
326
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** endpoint name
|
|
327
327
|
* `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** of the endpoint (service)
|
|
328
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
328
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
329
329
|
|
|
330
330
|
* `options.receive` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** reciever function
|
|
331
|
-
* `options.receivingInterceptors` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
331
|
+
* `options.receivingInterceptors` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** 
|
|
332
332
|
|
|
333
333
|
### isIn
|
|
334
334
|
|
|
@@ -338,7 +338,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
338
338
|
|
|
339
339
|
Get the receive function.
|
|
340
340
|
|
|
341
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
341
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
342
342
|
|
|
343
343
|
### receive
|
|
344
344
|
|
|
@@ -346,7 +346,7 @@ Set the receive function.
|
|
|
346
346
|
|
|
347
347
|
#### Parameters
|
|
348
348
|
|
|
349
|
-
* `receive` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
349
|
+
* `receive` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
350
350
|
|
|
351
351
|
## ReceiveEndpointDefault
|
|
352
352
|
|
|
@@ -378,7 +378,7 @@ By default a dummy rejecting receiver is assigned
|
|
|
378
378
|
|
|
379
379
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** endpoint name
|
|
380
380
|
* `owner` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** of the endpoint (service)
|
|
381
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
381
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
382
382
|
|
|
383
383
|
* `options.receive` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** reciever function
|
|
384
384
|
* `options.connected` **[Endpoint](#endpoint)?** sending side
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kronos-integration/endpoint",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.35",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@kronos-integration/interceptor": "^10.2.
|
|
35
|
+
"@kronos-integration/interceptor": "^10.2.27"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"ava": "^
|
|
38
|
+
"ava": "^5.0.1",
|
|
39
39
|
"c8": "^7.12.0",
|
|
40
|
-
"documentation": "^
|
|
41
|
-
"semantic-release": "^19.0.
|
|
40
|
+
"documentation": "^14.0.0",
|
|
41
|
+
"semantic-release": "^19.0.5"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=16.16.0"
|