feat(): add V2 REST client with initial endpoints

This commit is contained in:
Tiago Siebler
2023-11-13 17:31:18 +00:00
parent 8960b17151
commit 62aad4e2b8
7 changed files with 938 additions and 5 deletions

View File

@@ -27,6 +27,8 @@ import BaseRestClient from './util/BaseRestClient';
/**
* REST API client
*
* @deprecated use RestClientV2 instead
*/
export class SpotClient extends BaseRestClient {
getClientType() {
@@ -43,7 +45,6 @@ export class SpotClient extends BaseRestClient {
* Public
*
*/
/** Get Server Time */
getServerTime(): Promise<APIResponse<string>> {
return this.get('/api/spot/v1/public/time');