@polyguard/sdk 1.1.1 → 1.1.2
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/sdk.js
CHANGED
|
@@ -11086,7 +11086,7 @@
|
|
|
11086
11086
|
reconnectionDelay: 1e3,
|
|
11087
11087
|
reconnectionDelayGrowFactor: 1.5
|
|
11088
11088
|
};
|
|
11089
|
-
ws = new reconnecting_websocket_mjs_default(wsUrl, options);
|
|
11089
|
+
ws = new reconnecting_websocket_mjs_default(wsUrl, [], options);
|
|
11090
11090
|
ws.addEventListener("message", (event) => {
|
|
11091
11091
|
try {
|
|
11092
11092
|
const data = JSON.parse(event.data);
|
package/package.json
CHANGED
|
@@ -160,7 +160,7 @@ export class PolyguardWebsocketClientImpl {
|
|
|
160
160
|
reconnectionDelay: 1000,
|
|
161
161
|
reconnectionDelayGrowFactor: 1.5,
|
|
162
162
|
};
|
|
163
|
-
ws = new ReconnectingWebSocket(wsUrl, options);
|
|
163
|
+
ws = new ReconnectingWebSocket(wsUrl, [], options);
|
|
164
164
|
ws.addEventListener('message', (event) => {
|
|
165
165
|
try {
|
|
166
166
|
const data = JSON.parse(event.data);
|