diff --git a/src/util/BaseWSClient.ts b/src/util/BaseWSClient.ts index c9832c9..ed01ed6 100644 --- a/src/util/BaseWSClient.ts +++ b/src/util/BaseWSClient.ts @@ -790,8 +790,6 @@ export abstract class BaseWebsocketClient< wsKey: TWSKey, operation: WsOperation, ): Promise[]> { - // console.log(new Date(), `called getWsSubscribeEventsForTopics()`, topics); - // console.trace(); if (!topics.length) { return []; } diff --git a/src/websocket-client.ts b/src/websocket-client.ts index d87bbd0..4f1b485 100644 --- a/src/websocket-client.ts +++ b/src/websocket-client.ts @@ -12,6 +12,7 @@ import { WSConnectedResult, WS_AUTH_ON_CONNECT_KEYS, WS_KEY_MAP, + WS_LOGGER_CATEGORY, WsTopicRequest, getMaxTopicsPerSubscribeEvent, getNormalisedTopicRequests, @@ -43,8 +44,6 @@ import { } from './types/websockets/ws-api'; import { SignAlgorithm, signMessage } from './util/webCryptoAPI'; -const WS_LOGGER_CATEGORY = { category: 'bybit-ws' }; - export class WebsocketClient extends BaseWebsocketClient< WsKey, WsRequestOperationBybit @@ -633,9 +632,6 @@ export class WebsocketClient extends BaseWebsocketClient< return true; } - // console.log('isWsPing?', { - // data: msg.data, - // }); return false; } @@ -659,9 +655,6 @@ export class WebsocketClient extends BaseWebsocketClient< return true; } - // console.log('isWsPong?', { - // data: msg.data, - // }); return false; }