diff --git a/app/scripts/lib/typed-message-manager.js b/app/scripts/lib/typed-message-manager.js index 3cf40ee3c..51a92e3d3 100644 --- a/app/scripts/lib/typed-message-manager.js +++ b/app/scripts/lib/typed-message-manager.js @@ -2,7 +2,7 @@ import EventEmitter from 'events' import assert from 'assert' import ObservableStore from 'obs-store' import { ethErrors } from 'eth-json-rpc-errors' -import sigUtil from 'eth-sig-util' +import * as sigUtil from 'eth-sig-util' import { isValidAddress } from 'ethereumjs-util' import log from 'loglevel' import jsonschema from 'jsonschema' diff --git a/package.json b/package.json index f3a317a78..f29f5fee9 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ "eth-method-registry": "^1.2.0", "eth-phishing-detect": "^1.1.14", "eth-query": "^2.1.2", - "eth-sig-util": "^2.3.0", + "eth-sig-util": "^3.0.0", "eth-trezor-keyring": "^0.4.0", "ethereum-ens-network-map": "^1.0.2", "ethereumjs-abi": "^0.6.4", diff --git a/yarn.lock b/yarn.lock index cf257769c..f61195d90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10757,6 +10757,18 @@ eth-sig-util@^2.3.0, eth-sig-util@^2.4.4, eth-sig-util@^2.5.0: tweetnacl "^1.0.0" tweetnacl-util "^0.15.0" +eth-sig-util@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eth-sig-util/-/eth-sig-util-3.0.0.tgz#75133b3d7c20a5731af0690c385e184ab942b97e" + integrity sha512-4eFkMOhpGbTxBQ3AMzVf0haUX2uTur7DpWiHzWyTURa28BVJJtOkcb9Ok5TV0YvEPG61DODPW7ZUATbJTslioQ== + dependencies: + buffer "^5.2.1" + elliptic "^6.4.0" + ethereumjs-abi "0.6.5" + ethereumjs-util "^5.1.1" + tweetnacl "^1.0.0" + tweetnacl-util "^0.15.0" + eth-simple-keyring@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/eth-simple-keyring/-/eth-simple-keyring-3.5.0.tgz#c7fa285ca58d31ef44bc7db678b689f9ffd7b453"