* remove unused/unexisting method. Add missing semi-colon. Add support for recvWindow parameter, optional, with default value. Add support for custom sync time interval.
* add new params to rest client constructor
* add recv and sync as options object, optional, with updated docs
* cleaning
* whitespace
* allow override via params
* param consistency
Co-authored-by: tiagosiebler <ts@github.com>
- 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