@metamask-previews/keyring-controller 19.2.1-preview-4a9b4a93 → 19.2.1-preview-b8f29301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/dist/KeyringController.cjs +1 -1
- package/dist/KeyringController.cjs.map +1 -1
- package/dist/KeyringController.d.cts +2 -2
- package/dist/KeyringController.d.cts.map +1 -1
- package/dist/KeyringController.d.mts +2 -2
- package/dist/KeyringController.d.mts.map +1 -1
- package/dist/KeyringController.mjs +3 -3
- package/dist/KeyringController.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -30,10 +30,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
30
30
|
- The action can be used to consume the `withKeyring` method of the `KeyringController` class
|
|
31
31
|
- Support keyring metadata in KeyringController ([#5112](https://github.com/MetaMask/core/pull/5112))
|
|
32
32
|
|
|
33
|
-
### Changed
|
|
34
|
-
|
|
35
|
-
- Bump `@ethereumjs/util` from `^8.1.0` to `^9.1.0` ([#5347](https://github.com/MetaMask/core/pull/5347))
|
|
36
|
-
|
|
37
33
|
## [19.1.0]
|
|
38
34
|
|
|
39
35
|
### Added
|
|
@@ -580,7 +580,7 @@ class KeyringController extends base_controller_1.BaseController {
|
|
|
580
580
|
const prefixed = (0, utils_1.add0x)(importedKey);
|
|
581
581
|
let bufferedPrivateKey;
|
|
582
582
|
try {
|
|
583
|
-
bufferedPrivateKey = (0,
|
|
583
|
+
bufferedPrivateKey = (0, util_1.toBuffer)(prefixed);
|
|
584
584
|
}
|
|
585
585
|
catch {
|
|
586
586
|
throw new Error('Cannot import invalid private key.');
|