@metamask-previews/keyring-controller 15.0.0-preview-aedc5103 → 15.0.0-preview-cb17e99

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 CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Changed
11
+
12
+ - **BREAKING**: Change various `KeyringController` methods so they no longer return the controller state ([#4199](https://github.com/MetaMask/core/pull/4199))
13
+ - Changed `addNewAccount` return type to `Promise<string>`
14
+ - Changed `addNewAccountWithoutUpdate` return type to `Promise<string>`
15
+ - Changed `createNewVaultAndKeychain` return type to `Promise<void>`
16
+ - Changed `createNewVaultAndRestore` return type to `Promise<void>`
17
+ - Changed `importAccountWithStrategy` return type to `Promise<string>`
18
+ - Changed `removeAccount` return type to `Promise<void>`
19
+ - Changed `setLocked` return type to `Promise<void>`
20
+ - Changed `submitEncryptionKey` return type to `Promise<void>`
21
+ - Changed `submitPassword` return type to `Promise<void>`
22
+
10
23
  ## [15.0.0]
11
24
 
12
25
  ### Changed
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkSTOYI7ATjs = require('./chunk-STOYI7AT.js');
11
- require('./chunk-DNQK26H6.js');
10
+ var _chunkH4OUA6YGjs = require('./chunk-H4OUA6YG.js');
11
+ require('./chunk-QDPHKQON.js');
12
12
 
13
13
 
14
14
 
@@ -18,5 +18,5 @@ require('./chunk-DNQK26H6.js');
18
18
 
19
19
 
20
20
 
21
- exports.AccountImportStrategy = _chunkSTOYI7ATjs.AccountImportStrategy; exports.KeyringController = _chunkSTOYI7ATjs.KeyringController; exports.KeyringTypes = _chunkSTOYI7ATjs.KeyringTypes; exports.SignTypedDataVersion = _chunkSTOYI7ATjs.SignTypedDataVersion; exports.default = _chunkSTOYI7ATjs.KeyringController_default; exports.getDefaultKeyringState = _chunkSTOYI7ATjs.getDefaultKeyringState; exports.isCustodyKeyring = _chunkSTOYI7ATjs.isCustodyKeyring; exports.keyringBuilderFactory = _chunkSTOYI7ATjs.keyringBuilderFactory;
21
+ exports.AccountImportStrategy = _chunkH4OUA6YGjs.AccountImportStrategy; exports.KeyringController = _chunkH4OUA6YGjs.KeyringController; exports.KeyringTypes = _chunkH4OUA6YGjs.KeyringTypes; exports.SignTypedDataVersion = _chunkH4OUA6YGjs.SignTypedDataVersion; exports.default = _chunkH4OUA6YGjs.KeyringController_default; exports.getDefaultKeyringState = _chunkH4OUA6YGjs.getDefaultKeyringState; exports.isCustodyKeyring = _chunkH4OUA6YGjs.isCustodyKeyring; exports.keyringBuilderFactory = _chunkH4OUA6YGjs.keyringBuilderFactory;
22
22
  //# sourceMappingURL=KeyringController.js.map
@@ -7,8 +7,8 @@ import {
7
7
  getDefaultKeyringState,
8
8
  isCustodyKeyring,
9
9
  keyringBuilderFactory
10
- } from "./chunk-5QTEIEPG.mjs";
11
- import "./chunk-XPARO3LL.mjs";
10
+ } from "./chunk-5VBIIMC6.mjs";
11
+ import "./chunk-HT7WOORD.mjs";
12
12
  export {
13
13
  AccountImportStrategy,
14
14
  KeyringController,