feat(): mark other V1 REST clients as deprecated

This commit is contained in:
Tiago Siebler
2023-11-14 11:20:53 +00:00
parent dc6e0ff52a
commit b1b3ee926e
3 changed files with 10 additions and 3 deletions

View File

@@ -9,7 +9,10 @@ import { REST_CLIENT_TYPE_ENUM } from './util';
import BaseRestClient from './util/BaseRestClient'; import BaseRestClient from './util/BaseRestClient';
/** /**
* REST API client for broker APIs * REST API client for the V1 bitget Broker APIs. These are the previous generation of Bitget's APIs and should be considered deprecated.
* These will be removed in a future release, once Bitget formally deprecates them.
*
* @deprecated use RestClientV2 instead
*/ */
export class BrokerClient extends BaseRestClient { export class BrokerClient extends BaseRestClient {
getClientType() { getClientType() {

View File

@@ -31,7 +31,10 @@ import { REST_CLIENT_TYPE_ENUM } from './util';
import BaseRestClient from './util/BaseRestClient'; import BaseRestClient from './util/BaseRestClient';
/** /**
* REST API client * REST API client for the V1 bitget Futures APIs. These are the previous generation of Bitget's APIs and should be considered deprecated.
* These will be removed in a future release, once Bitget formally deprecates them.
*
* @deprecated use RestClientV2 instead
*/ */
export class FuturesClient extends BaseRestClient { export class FuturesClient extends BaseRestClient {
getClientType() { getClientType() {

View File

@@ -26,7 +26,8 @@ import { REST_CLIENT_TYPE_ENUM } from './util';
import BaseRestClient from './util/BaseRestClient'; import BaseRestClient from './util/BaseRestClient';
/** /**
* REST API client * REST API client for the V1 bitget Spot APIs. These are the previous generation of Bitget's APIs and should be considered deprecated.
* These will be removed in a future release, once Bitget formally deprecates them.
* *
* @deprecated use RestClientV2 instead * @deprecated use RestClientV2 instead
*/ */