Skip to content

Commit

Permalink
feat(): renamed clients
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ-Cro committed Sep 13, 2024
1 parent 92e1573 commit 759ef0d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import {
* REST client for Coinbase's Advanced Trade API:
* https://docs.cdp.coinbase.com/advanced-trade/docs/api-overview/
*/
export class AdvancedTradeClient extends BaseRestClient {
export class CBAdvancedTradeClient extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
2 changes: 1 addition & 1 deletion src/CoinbaseAppClient.ts → src/CBAppClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
* REST client for Coinbase's Coinbase App API:
* https://docs.cdp.coinbase.com/coinbase-app/docs/welcome
*/
export class CoinbaseAppClient extends BaseRestClient {
export class CBAppClient extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
2 changes: 1 addition & 1 deletion src/CoinbaseExchange.ts → src/CBExchangeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
* REST client for Coinbase's Institutional Exchange API:
* https://docs.cdp.coinbase.com/exchange/docs/welcome
*/
export class CoinbaseExchange extends BaseRestClient {
export class CBExchangeClient extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
* REST client for Coinbase's Institutional International Exchange API:
* https://docs.cdp.coinbase.com/intx/docs/welcome
*/
export class CoinbaseInternational extends BaseRestClient {
export class CBInternationalClient extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
2 changes: 1 addition & 1 deletion src/CoinbasePrime.ts → src/CBPrimeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
* REST client for Coinbase Prime API:
* https://docs.cdp.coinbase.com/prime/docs/welcome
*/
export class CoinbasePrime extends BaseRestClient {
export class CBPrimeClient extends BaseRestClient {
constructor(
restClientOptions: RestClientOptions = {},
requestOptions: AxiosRequestConfig = {},
Expand Down
2 changes: 1 addition & 1 deletion src/WebsocketClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { AdvancedTradeClient } from './AdvancedTradeClient.js';
import { AdvancedTradeClient } from './CBAdvancedTradeClient.js';
import { BaseWebsocketClient, EmittableEvent } from './lib/BaseWSClient.js';
import { neverGuard } from './lib/misc-util.js';
import {
Expand Down
9 changes: 5 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export * from './AdvancedTradeClient.js';
export * from './CoinbaseAppClient.js';
export * from './CoinbaseInternational.js';
export * from './CoinbasePrime.js';
export * from './CBAdvancedTradeClient.js';
export * from './CBAppClient.js';
export * from './CBExchangeClient.js';
export * from './CBInternationalClient.js';
export * from './CBPrimeClient.js';
export * from './lib/websocket/logger.js';
export * from './lib/websocket/websocket-util.js';
export * from './types/request/advanced-trade-client.js';
Expand Down

0 comments on commit 759ef0d

Please sign in to comment.