Commit Graph

13 Commits

Author SHA1 Message Date
tiagosiebler
ee9e34a2fb fix(#21): add pass-thru options and URL override for WebSocket client. Update docs. 2020-11-11 21:31:15 +00:00
tiagosiebler
1c14595fd6 feat: expose request options in REST constructor. Fix readme links. 2020-10-08 22:05:22 +01:00
tiagosiebler
af6a6e647b fix: ws handle possible timeout 2020-10-05 21:15:10 +01:00
tiagosiebler
3a2125e77b feat: deprecate request and implement axios. bump ws. cleaning. expose request options for proxy support. resolves #12. resolves #4. 2020-10-04 19:37:26 +01:00
tiagosiebler
b201d364bf feat: start work on axios integration, deprecating request. 2020-10-04 14:22:59 +01:00
Stefan Aebischer
90ae9984a4 Add reconnect and reconnected events to ws 2020-02-01 20:24:54 -05:00
Stefan Aebischer
6da5126190 Add silly logging 2019-10-27 16:46:20 +02:00
Stefan Aebischer
59aee838a3 Removing console.log 2019-09-16 16:00:40 +02:00
Stefan Aebischer
4660dc98b8 Reconnect if connection fails 2019-09-16 15:06:18 +02:00
Stefan Aebischer
26a1354ec5 Resubscribe to subscriptions after reconnecting 2019-09-16 15:04:02 +02:00
Stefan Aebischer
5caa65fedf Allow to unsubscribe from ws topic 2019-09-16 14:37:19 +02:00
Stefan Aebischer
b6d2803a49 Time synchronization with server
- wrapper for /v2/public/time rest endpoint
- synchronize time before trying to authenticate a request in order
  to avoid invalid authentication because prevented replay attacks.

Resolves #1
2019-09-16 14:25:55 +02:00
Stefan Aebischer
ed28d14171 Initial commit 2019-09-14 16:02:11 +02:00