@spacelr/sdk 0.18.3 → 0.18.4
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.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1301,7 +1301,11 @@ var RealtimeClient = class {
|
|
|
1301
1301
|
// rejects on connect_error and they decide whether to retry. Once the
|
|
1302
1302
|
// first authentication succeeds we re-enable it via the Manager's
|
|
1303
1303
|
// setters (see authenticated handler).
|
|
1304
|
-
reconnection: false
|
|
1304
|
+
reconnection: false,
|
|
1305
|
+
// #1000 — socket.io's 20 s default left a connect that hangs without
|
|
1306
|
+
// a close (browser offline mid-handshake) pending for 20 s before the
|
|
1307
|
+
// retry could start. Also applies to the later auto-reconnects.
|
|
1308
|
+
timeout: 5e3
|
|
1305
1309
|
});
|
|
1306
1310
|
this.socket = socket;
|
|
1307
1311
|
const failInitialConnect = (message) => {
|