Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix: jsonrpc types and provider compatibility with web3 (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid authored Feb 3, 2022
1 parent 84e016a commit 6bc02db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/utils/src/things/jsonrpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type JsonRpcRequest<
Ledger extends Api,
Method extends KnownKeys<Ledger>
> = JsonRpc & {
readonly id: string;
readonly id: string | number;
readonly jsonrpc: string;
readonly method: Method;
readonly params?: OverloadedParameters<Ledger[Method]>;
Expand Down

0 comments on commit 6bc02db

Please sign in to comment.