v2.3.0: fix(#158), disable time sync by default. Optionally avoid hitting time API when connecting authenticated websocket.

This commit is contained in:
tiagosiebler
2022-07-12 11:32:17 +01:00
parent 7c531161b5
commit 43c1f91b50
18 changed files with 50 additions and 60 deletions

View File

@@ -64,10 +64,10 @@ const restClientOptions = {
recv_window?: number;
// how often to sync time drift with bybit servers
sync_interval_ms?: number | string;
sync_interval_ms?: number;
// Default: false. Disable above sync mechanism if true.
disable_time_sync?: boolean;
enable_time_sync?: boolean;
// Default: false. If true, we'll throw errors if any params are undefined
strict_param_validation?: boolean;