Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Releases: MetaMask/eth-snap-keyring

0.3.1

28 Sep 08:39
87f35ee
Compare
Choose a tag to compare

Added

  • Add the getAccountsBySnapId method (#122)

Fixed

  • Remove the removeAccountsBySnapId method (#121)
  • Call external function with lowercase address (#120)

0.3.0

27 Sep 03:09
2dc7364
Compare
Choose a tag to compare

Changed

  • handle approval when adding/removing account with handleUserInput callback (#99)

0.2.3

26 Sep 13:05
c87438f
Compare
Choose a tag to compare

Added

  • Add method to remove all accounts given a snap ID (#116).

Fixed

  • Don't allow duplicate accounts to be added (#115).
  • Ignore event if account was already removed (#101).

0.2.2

14 Sep 13:34
a933bac
Compare
Choose a tag to compare

Changed

  • Add removeAccount callback to constructor (#96).

0.2.1

13 Sep 10:28
c20fb01
Compare
Choose a tag to compare

Changed

  • Add callbacks argument to constructor (#82).
  • Increase minimum Node.js version to 16 (default to 18) (#83).
  • Migrate to the new keyring-api (#78).
  • Upgrade dependencies.

0.1.4

07 Sep 20:09
16aed76
Compare
Choose a tag to compare

Changed

0.2.0

05 Sep 16:04
ea3ef6b
Compare
Choose a tag to compare

Changed

  • refactor: add account and snap metadata (#75)
  • refactor: rename files to be more idiomatic (#42)
  • refactor: move internal state from objects to maps (#41)

Fixed

  • fix: remove promise if submitRequest() throws (#43)

0.1.3

28 Jun 15:55
fc86c1f
Compare
Choose a tag to compare

Fixed

  • Remove account from maps before calling the snap. (#39)

0.1.2

28 Jun 13:40
87b2bd2
Compare
Choose a tag to compare

Changed

  • Remove unused #listAccounts() method. (#35)

Fixed

  • Sync all accounts on snap notificaiton. (#36)
  • Don't sync accounts twice on deletion. (#32)

0.1.1

22 Jun 14:34
eea18a6
Compare
Choose a tag to compare

Changed

  • Use objects in snap -> controller methods. (#28)
  • Fix circular call when handling 'read' requests. (#27)
  • Remove saveSnapKeyring argument from handleKeyringSnapMessage. (#26)