feat(): mark other V1 REST clients as deprecated
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user