From ca44b9c3eb3299d293170f398ea364d41d44c64d Mon Sep 17 00:00:00 2001 From: Danish Arora Date: Thu, 22 Aug 2024 16:39:54 +0530 Subject: [PATCH] chore: update type --- packages/interfaces/src/filter.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/interfaces/src/filter.ts b/packages/interfaces/src/filter.ts index 67946a02a9..c5e2ab42ec 100644 --- a/packages/interfaces/src/filter.ts +++ b/packages/interfaces/src/filter.ts @@ -18,6 +18,11 @@ export type SubscribeOptions = { maxMissedMessagesThreshold?: number; }; +export type SubscriptionCallback = { + decoders: IDecoder[]; + callback: Callback; +}; + export type IFilter = IReceiver & IBaseProtocolCore; export interface ISubscriptionSDK {