brokerize / client-js

2 stars 2 forks source link

WebSocketClient should not reconnect if connection ended because of failed authentication #80

Closed thorbenziemek closed 10 months ago

thorbenziemek commented 10 months ago

https://github.com/brokerize/client-js/blob/main/src/websocketClient.ts#L39C30-L39C30

An "authentication failed" error message should stop the reconnect loop.