purser v2.4.0

This MINOR release improves upon the changes of the previous one by making errors thrown by both purser-metamask and purser-trezor more robust.

In the case of purser-metamask, it changes promise errors (ie: when a user cancels signing a transaction), to actually reject, so they can be caught outsite.

In the case of purser-trezor it updates the static methods to be in line with the rest, and throw, rather then just log a console warning when a user cancels signing either a transaction or a message.

Thanks to @JamesLefrere for this release as he did all the work here!

Monorepo:

  • Bumped version to next MINOR: 2.4.0

purser-metamask:

  • Refactor the static methods reject the promise when a user cancels a transaction #251
  • Bumped version to next PATCH: 2.3.1

purser-trezor:

  • Refactor the static methods to throw when a user cancels a transactions (instead of just showing a warning) #251
  • Bumped version to next MINOR: 1.3.0

Link to Github release

1 Like