@kinotic-ai/core 5.0.0-beta.26 → 5.0.0-beta.27
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/dist/index.cjs +3 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -250,6 +250,7 @@ class StompConnectionManager {
|
|
|
250
250
|
INITIAL_RECONNECT_DELAY = 2000;
|
|
251
251
|
JITTER_MAX = 5000;
|
|
252
252
|
MAX_RECONNECT_DELAY = 120000;
|
|
253
|
+
CONNECTION_TIMEOUT = 1e4;
|
|
253
254
|
connectionAttempts = 0;
|
|
254
255
|
debugLogger = import_debug2.default("kinotic:stomp");
|
|
255
256
|
connectionEstablishedSubject = new import_rxjs.Subject;
|
|
@@ -327,6 +328,7 @@ class StompConnectionManager {
|
|
|
327
328
|
},
|
|
328
329
|
heartbeatIncoming: 30000,
|
|
329
330
|
heartbeatOutgoing: 30000,
|
|
331
|
+
connectionTimeout: this.CONNECTION_TIMEOUT,
|
|
330
332
|
reconnectDelay: this.INITIAL_RECONNECT_DELAY,
|
|
331
333
|
maxReconnectDelay: this.MAX_RECONNECT_DELAY,
|
|
332
334
|
reconnectTimeMode: import_stompjs.ReconnectionTimeMode.EXPONENTIAL,
|
|
@@ -1304,7 +1306,7 @@ var import_api2 = __toESM(require("@opentelemetry/api"), 1);
|
|
|
1304
1306
|
// packages/core/package.json
|
|
1305
1307
|
var package_default = {
|
|
1306
1308
|
name: "@kinotic-ai/core",
|
|
1307
|
-
version: "5.0.0-beta.
|
|
1309
|
+
version: "5.0.0-beta.27",
|
|
1308
1310
|
type: "module",
|
|
1309
1311
|
files: [
|
|
1310
1312
|
"dist"
|
package/dist/index.d.cts
CHANGED
|
@@ -238,7 +238,8 @@ interface IEventBus {
|
|
|
238
238
|
connectionEstablished: Observable<ConnectedInfo>;
|
|
239
239
|
/**
|
|
240
240
|
* Emits each time an attempt to connect fails before the server accepts the connection and the client
|
|
241
|
-
* will try again: the server could not be reached,
|
|
241
|
+
* will try again: the server could not be reached, it closed the socket before answering, or it had not
|
|
242
|
+
* answered within 10 seconds of the socket being opened. This
|
|
242
243
|
* covers the attempts of a pending {@link connect} as well as the reconnects after a connection ends.
|
|
243
244
|
* An attempt that ends the connection for good is reported by {@link connectionEnded} instead.
|
|
244
245
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -238,7 +238,8 @@ interface IEventBus {
|
|
|
238
238
|
connectionEstablished: Observable<ConnectedInfo>;
|
|
239
239
|
/**
|
|
240
240
|
* Emits each time an attempt to connect fails before the server accepts the connection and the client
|
|
241
|
-
* will try again: the server could not be reached,
|
|
241
|
+
* will try again: the server could not be reached, it closed the socket before answering, or it had not
|
|
242
|
+
* answered within 10 seconds of the socket being opened. This
|
|
242
243
|
* covers the attempts of a pending {@link connect} as well as the reconnects after a connection ends.
|
|
243
244
|
* An attempt that ends the connection for good is reported by {@link connectionEnded} instead.
|
|
244
245
|
*/
|
package/dist/index.js
CHANGED
|
@@ -131,6 +131,7 @@ class StompConnectionManager {
|
|
|
131
131
|
INITIAL_RECONNECT_DELAY = 2000;
|
|
132
132
|
JITTER_MAX = 5000;
|
|
133
133
|
MAX_RECONNECT_DELAY = 120000;
|
|
134
|
+
CONNECTION_TIMEOUT = 1e4;
|
|
134
135
|
connectionAttempts = 0;
|
|
135
136
|
debugLogger = debug2("kinotic:stomp");
|
|
136
137
|
connectionEstablishedSubject = new Subject;
|
|
@@ -208,6 +209,7 @@ class StompConnectionManager {
|
|
|
208
209
|
},
|
|
209
210
|
heartbeatIncoming: 30000,
|
|
210
211
|
heartbeatOutgoing: 30000,
|
|
212
|
+
connectionTimeout: this.CONNECTION_TIMEOUT,
|
|
211
213
|
reconnectDelay: this.INITIAL_RECONNECT_DELAY,
|
|
212
214
|
maxReconnectDelay: this.MAX_RECONNECT_DELAY,
|
|
213
215
|
reconnectTimeMode: ReconnectionTimeMode.EXPONENTIAL,
|
|
@@ -1185,7 +1187,7 @@ import opentelemetry, { context as context2, propagation as propagation2, trace,
|
|
|
1185
1187
|
// packages/core/package.json
|
|
1186
1188
|
var package_default = {
|
|
1187
1189
|
name: "@kinotic-ai/core",
|
|
1188
|
-
version: "5.0.0-beta.
|
|
1190
|
+
version: "5.0.0-beta.27",
|
|
1189
1191
|
type: "module",
|
|
1190
1192
|
files: [
|
|
1191
1193
|
"dist"
|