You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this library in browser. I am getting following error sometimes.
TypeError: _a.terminate is not a function
Call Stack
executeReconnectableClose
node_modules/bybit-api/lib/websocket-client.js (511:0)
<unknown>
node_modules/bybit-api/lib/websocket-client.js (500:0)
Looks like the websocket terminate() functionality does not exist in browsers, only in nodejs. I'm making improvements so it doesn't throw an exception in browsers (see PR #306). I'm expecting the executeReconnectableClose to still work once my changes are done, since there's also a websocket.close() call which should work in browsers too.
I am using this library in browser. I am getting following error sometimes.
Here is what on in websocket-client.js
Please provide the solution for this issue.
The text was updated successfully, but these errors were encountered: