From 498cbfbce5983a7aadb5f8c897687ed7932bcf1a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 31 Aug 2022 19:04:44 -0400 Subject: [PATCH] *Override streamHandler since a function cannot be passed between modules --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 44cc276..596debd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -258,7 +258,7 @@ export class StreamingRpcQuery extends SimpleRpcQuery { this._queryType, { query: this._query, - options: this._options, + options: { ...this._options, streamHandler: true }, network: this._network.networkId, }, this._options.streamHandler