Skip to content

Commit 177e04f

Browse files
author
tiagosiebler
committed
chore(): remove old comments
1 parent 78e4025 commit 177e04f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/util/BaseWSClient.ts

-2
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,6 @@ export abstract class BaseWebsocketClient<
790790
wsKey: TWSKey,
791791
operation: WsOperation,
792792
): Promise<MidflightWsRequestEvent<TWSRequestEvent>[]> {
793-
// console.log(new Date(), `called getWsSubscribeEventsForTopics()`, topics);
794-
// console.trace();
795793
if (!topics.length) {
796794
return [];
797795
}

src/websocket-client.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
WSConnectedResult,
1313
WS_AUTH_ON_CONNECT_KEYS,
1414
WS_KEY_MAP,
15+
WS_LOGGER_CATEGORY,
1516
WsTopicRequest,
1617
getMaxTopicsPerSubscribeEvent,
1718
getNormalisedTopicRequests,
@@ -43,8 +44,6 @@ import {
4344
} from './types/websockets/ws-api';
4445
import { SignAlgorithm, signMessage } from './util/webCryptoAPI';
4546

46-
const WS_LOGGER_CATEGORY = { category: 'bybit-ws' };
47-
4847
export class WebsocketClient extends BaseWebsocketClient<
4948
WsKey,
5049
WsRequestOperationBybit<WsTopic>
@@ -633,9 +632,6 @@ export class WebsocketClient extends BaseWebsocketClient<
633632
return true;
634633
}
635634

636-
// console.log('isWsPing?', {
637-
// data: msg.data,
638-
// });
639635
return false;
640636
}
641637

@@ -659,9 +655,6 @@ export class WebsocketClient extends BaseWebsocketClient<
659655
return true;
660656
}
661657

662-
// console.log('isWsPong?', {
663-
// data: msg.data,
664-
// });
665658
return false;
666659
}
667660

0 commit comments

Comments
 (0)