chore(): remove old comments

This commit is contained in:
tiagosiebler
2025-03-04 11:28:27 +00:00
parent 78e4025fe5
commit 177e04fff9
2 changed files with 1 additions and 10 deletions

View File

@@ -790,8 +790,6 @@ export abstract class BaseWebsocketClient<
wsKey: TWSKey, wsKey: TWSKey,
operation: WsOperation, operation: WsOperation,
): Promise<MidflightWsRequestEvent<TWSRequestEvent>[]> { ): Promise<MidflightWsRequestEvent<TWSRequestEvent>[]> {
// console.log(new Date(), `called getWsSubscribeEventsForTopics()`, topics);
// console.trace();
if (!topics.length) { if (!topics.length) {
return []; return [];
} }

View File

@@ -12,6 +12,7 @@ import {
WSConnectedResult, WSConnectedResult,
WS_AUTH_ON_CONNECT_KEYS, WS_AUTH_ON_CONNECT_KEYS,
WS_KEY_MAP, WS_KEY_MAP,
WS_LOGGER_CATEGORY,
WsTopicRequest, WsTopicRequest,
getMaxTopicsPerSubscribeEvent, getMaxTopicsPerSubscribeEvent,
getNormalisedTopicRequests, getNormalisedTopicRequests,
@@ -43,8 +44,6 @@ import {
} from './types/websockets/ws-api'; } from './types/websockets/ws-api';
import { SignAlgorithm, signMessage } from './util/webCryptoAPI'; import { SignAlgorithm, signMessage } from './util/webCryptoAPI';
const WS_LOGGER_CATEGORY = { category: 'bybit-ws' };
export class WebsocketClient extends BaseWebsocketClient< export class WebsocketClient extends BaseWebsocketClient<
WsKey, WsKey,
WsRequestOperationBybit<WsTopic> WsRequestOperationBybit<WsTopic>
@@ -633,9 +632,6 @@ export class WebsocketClient extends BaseWebsocketClient<
return true; return true;
} }
// console.log('isWsPing?', {
// data: msg.data,
// });
return false; return false;
} }
@@ -659,9 +655,6 @@ export class WebsocketClient extends BaseWebsocketClient<
return true; return true;
} }
// console.log('isWsPong?', {
// data: msg.data,
// });
return false; return false;
} }