*Missing returning rpc instance

This commit is contained in:
Derrick Hammer 2022-12-18 07:17:54 -05:00
parent f74c66ab5f
commit 0e39f3d658
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ export function setupStream(stream: SecretStream) {
id: RPC_PROTOCOL_ID,
valueEncoding: c.json,
});
return stream[RPC_PROTOCOL_SYMBOL];
}
export class RPCServer extends EventEmitter {