@nabeeltahirdeveloper/chart-sdk 2.2.0 → 2.2.1
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/chart-sdk.es.js +3 -2
- package/dist/chart-sdk.umd.js +1 -1
- package/package.json +1 -1
package/dist/chart-sdk.es.js
CHANGED
|
@@ -10337,7 +10337,7 @@ function ZB() {
|
|
|
10337
10337
|
// with polling-first, a failed WS upgrade invalidates the polling session on the server,
|
|
10338
10338
|
// so subsequent polling POSTs return 400. With websocket-first, if WS fails the fallback
|
|
10339
10339
|
// polling starts fresh with no stale session ID.
|
|
10340
|
-
transports: ["
|
|
10340
|
+
transports: ["websocket", "polling"],
|
|
10341
10341
|
reconnection: !0,
|
|
10342
10342
|
reconnectionDelay: 1e3,
|
|
10343
10343
|
reconnectionAttempts: 10,
|
|
@@ -10346,7 +10346,8 @@ function ZB() {
|
|
|
10346
10346
|
withCredentials: !1,
|
|
10347
10347
|
// false: allows server to use Access-Control-Allow-Origin: *
|
|
10348
10348
|
autoConnect: !0,
|
|
10349
|
-
|
|
10349
|
+
upgrade: !1,
|
|
10350
|
+
// disable mid-session upgrade; transport is chosen at connect time
|
|
10350
10351
|
auth: A ? { token: A } : void 0
|
|
10351
10352
|
});
|
|
10352
10353
|
return e.on("connect", () => {
|