Skip to content

Commit

Permalink
chore(): rename RestclientV2 to futures client v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Aug 1, 2024
1 parent 4d2fb92 commit 506df04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/RestClientV2.ts → src/FuturesClientV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ import {
} from './types/response/spot.types.js';

/**
* Unified REST API client for Bitmart's V2 APIs via the "api-cloud-v2.bitmart.com" domain
* REST API client for Bitmart's V2 Futures APIs via the "api-cloud-v2.bitmart.com" domain
*/
export class RestClientV2 extends BaseRestClient {
export class FuturesClientV2 extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
2 changes: 1 addition & 1 deletion src/RestClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ import {
/**
* Unified REST API client for all of Bitmart's REST APIs
*
* Note: for futures V2 APIs, use the `RestClientV2` class instead (which maps to a different base URL)
* Note: for futures V2 APIs, use the `FuturesClientV2` class instead (which maps to a different base URL)
*/
export class RestClient extends BaseRestClient {
constructor(
Expand Down

0 comments on commit 506df04

Please sign in to comment.