bybit-api 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/rest-client-v5.js
CHANGED
|
@@ -31,7 +31,7 @@ class RestClientV5 extends BaseRestClient_1.default {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
getServerTime() {
|
|
34
|
-
return this.get('/
|
|
34
|
+
return this.get('/v5/market/time');
|
|
35
35
|
}
|
|
36
36
|
requestDemoTradingFunds() {
|
|
37
37
|
return this.postPrivate('/v5/account/demo-apply-money');
|
|
@@ -25,7 +25,7 @@ export interface RestClientOptions {
|
|
|
25
25
|
/** How often to sync time drift with bybit servers */
|
|
26
26
|
sync_interval_ms?: number | string;
|
|
27
27
|
/** Determines whether to perform time synchronization before sending private requests */
|
|
28
|
-
syncTimeBeforePrivateRequests?:
|
|
28
|
+
syncTimeBeforePrivateRequests?: boolean;
|
|
29
29
|
/** Default: false. If true, we'll throw errors if any params are undefined */
|
|
30
30
|
strict_param_validation?: boolean;
|
|
31
31
|
/**
|
package/package.json
CHANGED