From 177e04fff959ee87b3cf65f4ee92f7ba50f85fd0 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Tue, 4 Mar 2025 11:28:27 +0000 Subject: [PATCH] chore(): remove old comments --- src/util/BaseWSClient.ts | 2 -- src/websocket-client.ts | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-) 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; }