Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/eth-keyring-controller

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eth-keyring-controller - npm Package Versions

2

17.0.1

Diff

Changelog

Source

[17.0.1]

Changed

  • Bump @metamask/keyring-api to ^3.0.0 (#344)
metamaskbot
published 17.0.0 •

Changelog

Source

[17.0.0]

Changed

  • BREAKING: Unify createNewVaultAndKeychain and createNewVaultAndRestore into new method createNewVaultWithKeyring. createNewVaultWithKeyring accepts a password and a keyring object provided by the client and returns the KeyringControllerState (#329)
  • Bump @metamask/utils from 8.2.1 to 8.3.0 (#335)
metamaskbot
published 16.0.0 •

Changelog

Source

[16.0.0]

Changed

  • BREAKING: Bump @metamask/obs-store from ^8.1.0 to ^9.0.0 (#306)
    • The store and memStore properties now expose streams confirming to readable-stream@^3.6.2
  • BREAKING: Replace GenericEncryptor.updateVault with GenericEncryptor.isVaultUpdated (#310))
  • Bump @metamask/browser-passworder from ^4.2.0 to ^4.3.0 (#310 #311)

Fixed

  • Prefer cached encryptionKey over password when possible (#307)
gudahtt
published 15.1.0 •

Changelog

Source

[15.1.0]

Added

  • Added optional isVaultUpdated property to GenericEncryptor type (#312)

Changed

  • Bump @metamask/browser-passworder to ^4.3.0 (#312)

Removed

  • Removed updateVault optional property from GenericEncryptor type (#312)

Fixed

  • Improved encryption performance when the controller is constructed with cacheEncryptionKey: true (#312)
metamaskbot
published 15.0.0 •

Changelog

Source

[15.0.0]

Changed

  • BREAKING Removed encryptor class variable (#293)
  • BREAKING Removed cacheEncryptionKey class variable (#293)
  • BREAKING Changed encryptor constructor option property type to GenericEncryptor | ExportableKeyEncryptor | undefined (#293)
    • When the controller is instantiated with cacheEncryptionKey = true, the encryptor type is restricted to ExportableKeyEncryptor | undefined
metamaskbot
published 14.0.1 •

Changelog

Source

[14.0.1]

Fixed

  • Fix removeAccount to await the account removal in order to account for Snaps keyrings (#280)
  • Bump @metamask/eth-simple-keyring from ^6.0.0 to ^6.0.1 (#287)
metamaskbot
published 14.0.0 •

Changelog

Source

[14.0.0]

Changed

  • BREAKING: Bump @metamask/eth-sig-util from ^6.0.0 to ^7.0.0 (#269)
  • BREAKING: Bump @metamask/eth-hd-keyring from ^6.0.0 to ^7.0.1 (#275)
  • BREAKING: Bump @metamask/eth-simple-keyring from ^5.0.0 to ^6.0.0 (#273)
metamaskbot
published 13.0.1 •

Changelog

Source

[13.0.1]

Changed

  • Bump @metamask/utils from ^6.2.0 to ^8.1.0 (#261)
metamaskbot
published 13.0.0 •

Changelog

Source

[13.0.0]

Added

  • Added KeyringControllerPersistentState type which includes only persistent state, an optional string property with key vault (#247)
  • Added KeyringObject type for how keyrings are represented in memStore (#247)

Changed

  • BREAKING: Add types for store and fix type discrepancies (#247)
  • BREAKING: Constructor parameter KeyringControllerArgs fields changed (#247):
  • BREAKING: type of store and memStore public properties changed (#247):
    • KeyringController.store is now an ObservableStore<KeyringControllerPersistentState>
    • KeyringController.memStore is now an ObservableStore<KeyringControllerState>
  • BREAKING: updateMemStoreKeyrings method return type changed to Promise<void> (#247)
  • BREAKING: KeyringControllerState type changed to include only non-persistent state (#247):
    • Now undefined is used instead of null when encryptionKey and encryptionSalt are unset
    • keyrings is now of type KeyringObject[] instead of Keyring<Json>
    • password, store, memStore have been removed - note that in practice this change only affects types
    • This changes cause the following methods also to change the return type:
      • createNewVaultAndKeychain
      • createNewVaultAndRestore
      • setLocked
      • submitPassword
      • submitEncryptionKey
      • addNewAccount
      • removeAccount
      • fullUpdate
  • BREAKING: When constructing a simple keyring with addNewKeyring, the second parameter (opts) is now expected to be an array of private keys rather than an object with a privateKeys property (#253)
  • Restored support for keyrings with non-object serialized state (#253)
  • Narrow return type of signTypedMessage and encryption methods (#249)
    • The methods signTypedMessage, getEncryptionPublicKey, and decryptMessage now return string rather than Bytes

Fixed

  • Fix signTypedMessage parameter types (#250)
  • Restore compatibility with QR Keyring (#252)
    • An empty object is no longer used as a default when deserialized state was not provided to the addNewKeyring method. This default empty object was breaking the QR keyring.
metamaskbot
published 12.0.1 •

Changelog

Source

[12.0.1]

Fixed

  • Improved error handling when calling getKeyringForAccount with empty or invalid address (#238)
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc