@metamask/eth-keyring-controller
Advanced tools
Changelog
[16.0.0]
@metamask/obs-store
from ^8.1.0
to ^9.0.0
(#306)
store
and memStore
properties now expose streams confirming to readable-stream@^3.6.2
GenericEncryptor.updateVault
with GenericEncryptor.isVaultUpdated
(#310))@metamask/browser-passworder
from ^4.2.0
to ^4.3.0
(#310 #311)encryptionKey
over password when possible (#307)Changelog
[15.1.0]
isVaultUpdated
property to GenericEncryptor
type (#312)@metamask/browser-passworder
to ^4.3.0
(#312)updateVault
optional property from GenericEncryptor
type (#312)cacheEncryptionKey: true
(#312)Changelog
[15.0.0]
encryptor
class variable (#293)cacheEncryptionKey
class variable (#293)encryptor
constructor option property type to GenericEncryptor | ExportableKeyEncryptor | undefined
(#293)
cacheEncryptionKey = true
, the encryptor
type is restricted to ExportableKeyEncryptor | undefined
Changelog
[13.0.0]
KeyringControllerPersistentState
type which includes only persistent state, an optional string property with key vault
(#247)KeyringObject
type for how keyrings are represented in memStore
(#247)KeyringControllerArgs
fields changed (#247):store
and memStore
public properties changed (#247):
KeyringController.store
is now an ObservableStore<KeyringControllerPersistentState>
KeyringController.memStore
is now an ObservableStore<KeyringControllerState>
updateMemStoreKeyrings
method return type changed to Promise<void>
(#247)KeyringControllerState
type changed to include only non-persistent state (#247):
undefined
is used instead of null
when encryptionKey
and encryptionSalt
are unsetkeyrings
is now of type KeyringObject[]
instead of Keyring<Json>
password
, store
, memStore
have been removed - note that in practice this change only affects typescreateNewVaultAndKeychain
createNewVaultAndRestore
setLocked
submitPassword
submitEncryptionKey
addNewAccount
removeAccount
fullUpdate
addNewKeyring
, the second parameter (opts
) is now expected to be an array of private keys rather than an object with a privateKeys
property (#253)signTypedMessage
and encryption methods (#249)
signTypedMessage
, getEncryptionPublicKey
, and decryptMessage
now return string
rather than Bytes