From 26fd9620902036425bc8d2c0086f1c8d817de9dd Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 31 Aug 2022 19:35:04 -0400 Subject: [PATCH] *ensure passed streamHandler overrides options --- src/network.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.ts b/src/network.ts index 3b2f1d0..7985078 100644 --- a/src/network.ts +++ b/src/network.ts @@ -122,7 +122,7 @@ export default class RpcNetwork { this, relay, { method, module, data }, - { streamHandler, ...options } + { ...options, streamHandler } ).run(); }