Allows you to provide a custom "signMessage" function, e.g. to use node's much faster createHmac method Look in the examples folder for a demonstration on using node's createHmac instead.
pingInterval?
number
How often to check if the connection is alive
pongTimeout?
number
How long to wait for a pong (heartbeat reply) before assuming the connection is dead
reauthWSAPIOnReconnect?
boolean
If you authenticated the WS API before, automatically try to re-authenticate the WS API if you're disconnected/reconnected for any reason.
reconnectTimeout?
number
Delay in milliseconds before respawning the connection
recvWindow?
number
Offset added to the local timestamp when signing WebSocket requests, in milliseconds. Defaults to -1000. This does not configure a server-side acceptance window.