@sailfish-ai/recorder 1.7.15 → 1.7.17

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.
Binary file
Binary file
package/dist/websocket.js CHANGED
@@ -80,14 +80,14 @@ export function initializeWebSocket(backendApi, apiKey, sessionId) {
80
80
  };
81
81
  webSocket = new ReconnectingWebSocket(wsUrl, [], options);
82
82
  webSocket.addEventListener("open", () => {
83
+ console.log("WebSocket opened.");
83
84
  (async () => {
84
85
  await flushNotifyQueue();
85
86
  setInterval(() => flushBufferedEvents(), 10000);
86
87
  })();
87
88
  });
88
89
  webSocket.addEventListener("close", () => {
89
- // Handle reconnect logic or cleanup here if needed
90
- webSocket = null;
90
+ console.log("WebSocket closed.");
91
91
  });
92
92
  return webSocket;
93
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sailfish-ai/recorder",
3
- "version": "1.7.15",
3
+ "version": "1.7.17",
4
4
  "publishPublicly": true,
5
5
  "main": "dist/sailfish-recorder.umd.js",
6
6
  "types": "dist/types/index.d.ts",