From 8c60a03d6c5c86c6af7bb0ebc5c6ae4a0bd2ff0b Mon Sep 17 00:00:00 2001 From: Tiago Siebler Date: Fri, 13 Sep 2024 16:24:09 +0100 Subject: [PATCH] chore(): remove redundant methods --- src/CBAdvancedTradeClient.ts | 11 ----------- src/CBAppClient.ts | 11 ----------- src/CBExchangeClient.ts | 11 ----------- src/CBInternationalClient.ts | 11 ----------- src/CBPrimeClient.ts | 11 ----------- 5 files changed, 55 deletions(-) diff --git a/src/CBAdvancedTradeClient.ts b/src/CBAdvancedTradeClient.ts index e851d32..8c77ce1 100644 --- a/src/CBAdvancedTradeClient.ts +++ b/src/CBAdvancedTradeClient.ts @@ -1,5 +1,4 @@ import { AxiosRequestConfig } from 'axios'; -import { nanoid } from 'nanoid'; import { BaseRestClient } from './lib/BaseRestClient.js'; import { @@ -72,16 +71,6 @@ export class CBAdvancedTradeClient extends BaseRestClient { return REST_CLIENT_TYPE_ENUM.advancedTrade; } - /** - * - * Misc Utility Methods - * - */ - - generateNewOrderID(): string { - return nanoid(32); - } - /** * * Account Endpoints diff --git a/src/CBAppClient.ts b/src/CBAppClient.ts index 6dd72a0..9207d63 100644 --- a/src/CBAppClient.ts +++ b/src/CBAppClient.ts @@ -1,5 +1,4 @@ import { AxiosRequestConfig } from 'axios'; -import { nanoid } from 'nanoid'; import { BaseRestClient } from './lib/BaseRestClient.js'; import { @@ -38,16 +37,6 @@ export class CBAppClient extends BaseRestClient { return REST_CLIENT_TYPE_ENUM.coinbaseApp; } - /** - * - * Misc Utility Methods - * - */ - - generateNewOrderID(): string { - return nanoid(32); - } - /** * * Account Endpoints diff --git a/src/CBExchangeClient.ts b/src/CBExchangeClient.ts index 0019ac2..336281d 100644 --- a/src/CBExchangeClient.ts +++ b/src/CBExchangeClient.ts @@ -1,5 +1,4 @@ import { AxiosRequestConfig } from 'axios'; -import { nanoid } from 'nanoid'; import { BaseRestClient } from './lib/BaseRestClient.js'; import { @@ -56,16 +55,6 @@ export class CBExchangeClient extends BaseRestClient { return REST_CLIENT_TYPE_ENUM.exchange; } - /** - * - * Misc Utility Methods - * - */ - - generateNewOrderID(): string { - return nanoid(32); - } - /** * * Accounts Endpoints diff --git a/src/CBInternationalClient.ts b/src/CBInternationalClient.ts index 48a6ac5..a2c4b98 100644 --- a/src/CBInternationalClient.ts +++ b/src/CBInternationalClient.ts @@ -1,5 +1,4 @@ import { AxiosRequestConfig } from 'axios'; -import { nanoid } from 'nanoid'; import { BaseRestClient } from './lib/BaseRestClient.js'; import { @@ -41,16 +40,6 @@ export class CBInternationalClient extends BaseRestClient { return REST_CLIENT_TYPE_ENUM.international; } - /** - * - * Misc Utility Methods - * - */ - - generateNewOrderID(): string { - return nanoid(32); - } - /** * * Assets Endpoints diff --git a/src/CBPrimeClient.ts b/src/CBPrimeClient.ts index 534c6a4..083c49a 100644 --- a/src/CBPrimeClient.ts +++ b/src/CBPrimeClient.ts @@ -1,5 +1,4 @@ import { AxiosRequestConfig } from 'axios'; -import { nanoid } from 'nanoid'; import { BaseRestClient } from './lib/BaseRestClient.js'; import { @@ -51,16 +50,6 @@ export class CBPrimeClient extends BaseRestClient { return REST_CLIENT_TYPE_ENUM.prime; } - /** - * - * Misc Utility Methods - * - */ - - generateNewOrderID(): string { - return nanoid(32); - } - /** * * Allocation Endpoints