Skip to content

Commit

Permalink
deps: updated rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Nov 29, 2024
1 parent 10e9ff2 commit 8a1a50c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T extends JSONObject = JSONObject> =
Expand Down

0 comments on commit 8a1a50c

Please sign in to comment.