Closed eitan101 closed 7 years ago
When websocket is closed with 4401/4407 the code should fresh the token. It should be clear what the SDK does and what the applicative could should do.
4401/4407
https://github.com/LivePersonInc/node-agent-sdk/blob/52b84d4f961dbe27a47888139410de338ae6887b/lib/AgentSDK.js#L132-L134
When websocket is closed with
4401/4407
the code should fresh the token. It should be clear what the SDK does and what the applicative could should do.https://github.com/LivePersonInc/node-agent-sdk/blob/52b84d4f961dbe27a47888139410de338ae6887b/lib/AgentSDK.js#L132-L134