js-waku
js-waku copied to clipboard
feat: remove `filter.subscribe()` dependency on `IReceiver`
Problem
IReceiver
currently expects subscribe()
to be a function on the class implementation that we previously used for Filter. We moved to createSubscription()
method instead, which is more generic.
Proposed Solutions
Remove the dependency which should allow us to remove the subscribe()
implementation from Filter
, and can just exist in the Subscription
class instead