@metamask-previews/keyring-controller 14.0.1-preview-e24bcd2e → 15.0.0-preview-11ae513

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,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [15.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING** use getAccounts on HD Keyring when calling addNewAccount ([#4158](https://github.com/MetaMask/core/pull/4158))
15
+ - Pass CAIP-2 scope to execution context ([#4090](https://github.com/MetaMask/core/pull/4090))
16
+ - Allow gas limits to be changed during #addPaymasterData ([#3942](https://github.com/MetaMask/core/pull/3942))
17
+
10
18
  ## [14.0.1]
11
19
 
12
20
  ### Fixed
@@ -400,7 +408,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
400
408
 
401
409
  All changes listed after this point were applied to this package following the monorepo conversion.
402
410
 
403
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@14.0.1...HEAD
411
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@15.0.0...HEAD
412
+ [15.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@14.0.1...@metamask/keyring-controller@15.0.0
404
413
  [14.0.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@14.0.0...@metamask/keyring-controller@14.0.1
405
414
  [14.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@13.0.0...@metamask/keyring-controller@14.0.0
406
415
  [13.0.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@12.2.0...@metamask/keyring-controller@13.0.0
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkBVSGYW4Djs = require('./chunk-BVSGYW4D.js');
11
- require('./chunk-CHLPTPMZ.js');
10
+ var _chunkLKJCRVNRjs = require('./chunk-LKJCRVNR.js');
11
+ require('./chunk-DNQK26H6.js');
12
12
 
13
13
 
14
14
 
@@ -18,5 +18,5 @@ require('./chunk-CHLPTPMZ.js');
18
18
 
19
19
 
20
20
 
21
- exports.AccountImportStrategy = _chunkBVSGYW4Djs.AccountImportStrategy; exports.KeyringController = _chunkBVSGYW4Djs.KeyringController; exports.KeyringTypes = _chunkBVSGYW4Djs.KeyringTypes; exports.SignTypedDataVersion = _chunkBVSGYW4Djs.SignTypedDataVersion; exports.default = _chunkBVSGYW4Djs.KeyringController_default; exports.getDefaultKeyringState = _chunkBVSGYW4Djs.getDefaultKeyringState; exports.isCustodyKeyring = _chunkBVSGYW4Djs.isCustodyKeyring; exports.keyringBuilderFactory = _chunkBVSGYW4Djs.keyringBuilderFactory;
21
+ exports.AccountImportStrategy = _chunkLKJCRVNRjs.AccountImportStrategy; exports.KeyringController = _chunkLKJCRVNRjs.KeyringController; exports.KeyringTypes = _chunkLKJCRVNRjs.KeyringTypes; exports.SignTypedDataVersion = _chunkLKJCRVNRjs.SignTypedDataVersion; exports.default = _chunkLKJCRVNRjs.KeyringController_default; exports.getDefaultKeyringState = _chunkLKJCRVNRjs.getDefaultKeyringState; exports.isCustodyKeyring = _chunkLKJCRVNRjs.isCustodyKeyring; exports.keyringBuilderFactory = _chunkLKJCRVNRjs.keyringBuilderFactory;
22
22
  //# sourceMappingURL=KeyringController.js.map
@@ -7,8 +7,8 @@ import {
7
7
  getDefaultKeyringState,
8
8
  isCustodyKeyring,
9
9
  keyringBuilderFactory
10
- } from "./chunk-6HZWCYLD.mjs";
11
- import "./chunk-NAAWD7HX.mjs";
10
+ } from "./chunk-SFPZOKV2.mjs";
11
+ import "./chunk-XPARO3LL.mjs";
12
12
  export {
13
13
  AccountImportStrategy,
14
14
  KeyringController,
@@ -50,6 +50,7 @@ var KeyringControllerError = /* @__PURE__ */ ((KeyringControllerError2) => {
50
50
  KeyringControllerError2["ExpiredCredentials"] = "KeyringController - Encryption key and salt provided are expired";
51
51
  KeyringControllerError2["NoKeyringBuilder"] = "KeyringController - No keyringBuilder found for keyring";
52
52
  KeyringControllerError2["DataType"] = "KeyringController - Incorrect data type provided";
53
+ KeyringControllerError2["NoHdKeyring"] = "KeyringController - No HD Keyring found";
53
54
  return KeyringControllerError2;
54
55
  })(KeyringControllerError || {});
55
56
 
@@ -60,4 +61,4 @@ var KeyringControllerError = /* @__PURE__ */ ((KeyringControllerError2) => {
60
61
 
61
62
 
62
63
  exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.__privateMethod = __privateMethod; exports.KeyringControllerError = KeyringControllerError;
63
- //# sourceMappingURL=chunk-CHLPTPMZ.js.map
64
+ //# sourceMappingURL=chunk-DNQK26H6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/constants.ts"],"names":["KeyringControllerError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAK,yBAAL,kBAAKA,4BAAL;AACL,EAAAA,wBAAA,eAAY;AACZ,EAAAA,wBAAA,uBAAoB;AACpB,EAAAA,wBAAA,oBAAiB;AACjB,EAAAA,wBAAA,uBAAoB;AACpB,EAAAA,wBAAA,gBAAa;AACb,EAAAA,wBAAA,oBAAiB;AACjB,EAAAA,wBAAA,oCAAiC;AACjC,EAAAA,wBAAA,uCAAoC;AACpC,EAAAA,wBAAA,8BAA2B;AAC3B,EAAAA,wBAAA,8BAA2B;AAC3B,EAAAA,wBAAA,gCAA6B;AAC7B,EAAAA,wBAAA,4BAAyB;AACzB,EAAAA,wBAAA,oCAAiC;AACjC,EAAAA,wBAAA,uCAAoC;AACpC,EAAAA,wBAAA,+BAA4B;AAC5B,EAAAA,wBAAA,iCAA8B;AAC9B,EAAAA,wBAAA,iCAA8B;AAC9B,EAAAA,wBAAA,uCAAoC;AACpC,EAAAA,wBAAA,qCAAkC;AAClC,EAAAA,wBAAA,mCAAgC;AAChC,EAAAA,wBAAA,kCAA+B;AAC/B,EAAAA,wBAAA,yBAAsB;AACtB,EAAAA,wBAAA,wBAAqB;AACrB,EAAAA,wBAAA,sBAAmB;AACnB,EAAAA,wBAAA,wBAAqB;AACrB,EAAAA,wBAAA,sBAAmB;AACnB,EAAAA,wBAAA,cAAW;AACX,EAAAA,wBAAA,iBAAc;AA5BJ,SAAAA;AAAA,GAAA","sourcesContent":["export enum KeyringControllerError {\n NoKeyring = 'KeyringController - No keyring found',\n WrongPasswordType = 'KeyringController - Password must be of type string.',\n NoFirstAccount = 'KeyringController - First Account not found.',\n DuplicatedAccount = 'KeyringController - The account you are trying to import is a duplicate',\n VaultError = 'KeyringController - Cannot unlock without a previous vault.',\n VaultDataError = 'KeyringController - The decrypted vault has an unexpected shape.',\n UnsupportedEncryptionKeyExport = 'KeyringController - The encryptor does not support encryption key export.',\n UnsupportedGenerateRandomMnemonic = 'KeyringController - The current keyring does not support the method generateRandomMnemonic.',\n UnsupportedExportAccount = '`KeyringController - The keyring for the current address does not support the method exportAccount',\n UnsupportedRemoveAccount = '`KeyringController - The keyring for the current address does not support the method removeAccount',\n UnsupportedSignTransaction = 'KeyringController - The keyring for the current address does not support the method signTransaction.',\n UnsupportedSignMessage = 'KeyringController - The keyring for the current address does not support the method signMessage.',\n UnsupportedSignPersonalMessage = 'KeyringController - The keyring for the current address does not support the method signPersonalMessage.',\n UnsupportedGetEncryptionPublicKey = 'KeyringController - The keyring for the current address does not support the method getEncryptionPublicKey.',\n UnsupportedDecryptMessage = 'KeyringController - The keyring for the current address does not support the method decryptMessage.',\n UnsupportedSignTypedMessage = 'KeyringController - The keyring for the current address does not support the method signTypedMessage.',\n UnsupportedGetAppKeyAddress = 'KeyringController - The keyring for the current address does not support the method getAppKeyAddress.',\n UnsupportedExportAppKeyForAddress = 'KeyringController - The keyring for the current address does not support the method exportAppKeyForAddress.',\n UnsupportedPrepareUserOperation = 'KeyringController - The keyring for the current address does not support the method prepareUserOperation.',\n UnsupportedPatchUserOperation = 'KeyringController - The keyring for the current address does not support the method patchUserOperation.',\n UnsupportedSignUserOperation = 'KeyringController - The keyring for the current address does not support the method signUserOperation.',\n NoAccountOnKeychain = \"KeyringController - The keychain doesn't have accounts.\",\n MissingCredentials = 'KeyringController - Cannot persist vault without password and encryption key',\n MissingVaultData = 'KeyringController - Cannot persist vault without vault information',\n ExpiredCredentials = 'KeyringController - Encryption key and salt provided are expired',\n NoKeyringBuilder = 'KeyringController - No keyringBuilder found for keyring',\n DataType = 'KeyringController - Incorrect data type provided',\n NoHdKeyring = 'KeyringController - No HD Keyring found',\n}\n"]}