From 8a1a50c387c9ad596fdedeacb4cf11ad635fdfc9 Mon Sep 17 00:00:00 2001 From: Aryan Jassal Date: Fri, 29 Nov 2024 18:21:31 +1100 Subject: [PATCH] deps: updated rpc --- package.json | 2 +- src/client/types.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6d282b624..d91376283 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "@matrixai/mdns": "^1.2.6", "@matrixai/quic": "^1.2.10", "@matrixai/resources": "^1.1.5", - "@matrixai/rpc": "^0.6.0", + "@matrixai/rpc": "^0.6.1", "@matrixai/timer": "^1.1.3", "@matrixai/workers": "^1.3.7", "@matrixai/ws": "^1.1.7", diff --git a/src/client/types.ts b/src/client/types.ts index 73d6ae271..6748bf1a8 100644 --- a/src/client/types.ts +++ b/src/client/types.ts @@ -33,7 +33,8 @@ type JSONRPCResponseResult< > = T & { metadata?: JSONRPCResponseMetadata & M & - (T extends { metadata: infer U } ? U : JSONObject); + (T extends { metadata: infer U } ? U : JSONObject) & + JSONObject; }; type ClientRPCRequestParams =