From e65d7f0e0725b684330ee4e42bf1ed66b39814a2 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Tue, 4 Mar 2025 11:20:19 +0000 Subject: [PATCH] chore(): remove old comments --- src/util/websockets/WsStore.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/util/websockets/WsStore.ts b/src/util/websockets/WsStore.ts index 6b42b2b..de32820 100644 --- a/src/util/websockets/WsStore.ts +++ b/src/util/websockets/WsStore.ts @@ -380,10 +380,6 @@ export class WsStore< * @returns */ getMatchingTopic(key: WsKey, topic: TWSTopicSubscribeEventArgs) { - // if (typeof topic === 'string') { - // return this.getMatchingTopic(key, { channel: topic }); - // } - const allTopics = this.getTopics(key).values(); for (const storedTopic of allTopics) { if (isDeepObjectMatch(topic, storedTopic)) { @@ -393,13 +389,6 @@ export class WsStore< } addTopic(key: WsKey, topic: TWSTopicSubscribeEventArgs) { - // if (typeof topic === 'string') { - // return this.addTopic(key, { - // instType: 'sp', - // channel: topic, - // instId: 'default', - // }; - // } // Check for duplicate topic. If already tracked, don't store this one const existingTopic = this.getMatchingTopic(key, topic); if (existingTopic) {