Skip to content

Commit

Permalink
Audit fixes, update packages (#28)
Browse files Browse the repository at this point in the history
* update eth-json-rpc-errors

* 5.1.8
  • Loading branch information
rekmarks authored Feb 10, 2020
1 parent a21ebf1 commit e28bea0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 43 deletions.
64 changes: 25 additions & 39 deletions merged-packages/json-rpc-engine/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions merged-packages/json-rpc-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-rpc-engine",
"version": "5.1.7",
"version": "5.1.8",
"description": "a tool for processing JSON RPC",
"license": "ISC",
"author": "kumavis",
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"async": "^2.0.1",
"eth-json-rpc-errors": "^2.0.0",
"eth-json-rpc-errors": "^2.0.1",
"promise-to-callback": "^1.0.0",
"safe-event-emitter": "^1.0.1"
},
Expand Down
4 changes: 2 additions & 2 deletions merged-packages/json-rpc-engine/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import { IJsonRpcError } from 'eth-json-rpc-errors/@types'
import { IEthereumRpcError } from 'eth-json-rpc-errors/@types'

/** A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0". */
export type JsonRpcVersion = "2.0";
Expand All @@ -15,7 +15,7 @@ export type JsonRpcReservedMethod = string;
* NOT contain fractional parts [2] */
export type JsonRpcId = number | string | void;

interface JsonRpcError<T> extends IJsonRpcError<T> {}
interface JsonRpcError<T> extends IEthereumRpcError<T> {}

interface JsonRpcRequest<T> {
jsonrpc: JsonRpcVersion;
Expand Down

0 comments on commit e28bea0

Please sign in to comment.