chore(): remove old comments
This commit is contained in:
@@ -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 [];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user