Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Update eth-rpc-errors, fix JsonRpcError stack type
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Nov 17, 2020
1 parent 04d8d21 commit 548c8b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@metamask/safe-event-emitter": "^2.0.0",
"eth-rpc-errors": "^4.0.1"
"eth-rpc-errors": "^4.0.2"
},
"devDependencies": {
"@metamask/eslint-config": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/JsonRpcEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface JsonRpcError {
code: number;
message: string;
data?: unknown;
stack?: unknown;
stack?: string;
}

export interface JsonRpcRequest<T> {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,10 @@ esutils@^2.0.2:
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=

eth-rpc-errors@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.1.tgz#bb95cc6de85b59dcbd5453b661a9e99545eff550"
integrity sha512-BCx0QBS6eVM+KWleeChtYOUIKBbnUvM9amzMlenvJfMK4KA7gBA1zRpQsLf8e98VziuHcnqdCIX7YVw3DbbKkw==
eth-rpc-errors@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/eth-rpc-errors/-/eth-rpc-errors-4.0.2.tgz#11bc164e25237a679061ac05b7da7537b673d3b7"
integrity sha512-n+Re6Gu8XGyfFy1it0AwbD1x0MUzspQs0D5UiPs1fFPCr6WAwZM+vbIhXheBFrpgosqN9bs5PqlB4Q61U/QytQ==
dependencies:
fast-safe-stringify "^2.0.6"

Expand Down

0 comments on commit 548c8b7

Please sign in to comment.