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(); }