@metamask/eth-keyring-controller
Advanced tools
Comparing version 12.0.0 to 12.0.1
@@ -9,2 +9,6 @@ # Changelog | ||
## [12.0.1] | ||
### Fixed | ||
- Improved error handling when calling `getKeyringForAccount` with empty or invalid address ([#238](https://github.com/MetaMask/KeyringController/pull/238)) | ||
## [12.0.0] | ||
@@ -118,3 +122,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/KeyringController/compare/v12.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/KeyringController/compare/v12.0.1...HEAD | ||
[12.0.1]: https://github.com/MetaMask/KeyringController/compare/v12.0.0...v12.0.1 | ||
[12.0.0]: https://github.com/MetaMask/KeyringController/compare/v11.0.0...v12.0.0 | ||
@@ -121,0 +126,0 @@ [11.0.0]: https://github.com/MetaMask/KeyringController/compare/v10.0.1...v11.0.0 |
@@ -580,3 +580,3 @@ "use strict"; | ||
let errorInfo = ''; | ||
if (!address) { | ||
if (!(0, utils_1.isValidHexAddress)(hexed)) { | ||
errorInfo = 'The address passed in is invalid/empty'; | ||
@@ -583,0 +583,0 @@ } |
{ | ||
"name": "@metamask/eth-keyring-controller", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"description": "A module for managing various keyrings of Ethereum accounts, encrypting them, and using them", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ethereumjs/tx": "^4.1.1", | ||
"@ethereumjs/tx": "^4.2.0", | ||
"@metamask/browser-passworder": "^4.1.0", | ||
@@ -48,3 +48,3 @@ "@metamask/eth-hd-keyring": "^6.0.0", | ||
"@metamask/eth-simple-keyring": "^5.0.0", | ||
"@metamask/utils": "^6.1.0", | ||
"@metamask/utils": "^6.2.0", | ||
"obs-store": "^4.0.3" | ||
@@ -51,0 +51,0 @@ }, |
Sorry, the diff of this file is not supported yet
151470
Updated@ethereumjs/tx@^4.2.0
Updated@metamask/utils@^6.2.0