From 6bc02db6f2bb5dd8957deb50e882f5dada86bf07 Mon Sep 17 00:00:00 2001 From: Micaiah Reid Date: Thu, 3 Feb 2022 14:18:56 -0500 Subject: [PATCH] fix: jsonrpc types and provider compatibility with web3 (#2272) --- src/packages/utils/src/things/jsonrpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/utils/src/things/jsonrpc.ts b/src/packages/utils/src/things/jsonrpc.ts index 473945fc2d..2004a401db 100644 --- a/src/packages/utils/src/things/jsonrpc.ts +++ b/src/packages/utils/src/things/jsonrpc.ts @@ -10,7 +10,7 @@ export type JsonRpcRequest< Ledger extends Api, Method extends KnownKeys > = JsonRpc & { - readonly id: string; + readonly id: string | number; readonly jsonrpc: string; readonly method: Method; readonly params?: OverloadedParameters;