purser v2.3.0

Besides a lot of dependency updates, the only actual change to the library is the way purser-metamask handles user interactions when a transaction, or a message signing are being cancelled.

Previously this would fail silently by logging a warning to the browser’s console.

The refactored version will throw an Error, on both cancelling a transaction and cancelling signing a message with the MetaMask wallet. See #246 for the details of this change.

Monorepo:

  • Pinned dev dependencies versions:
    • eslint-plugin-import #221 #231
    • lint-staged #242
  • Updated dev dependencies:
    • chokidar #219 #227
    • eslint #214 #241
    • eslint-config-airbnb-base #249
    • eslint-config-prettier #236
    • eslint-plugin-flowtype #247
    • flow-bin #213 #226 #232
    • fs-extra #228
    • husky #225 #243
  • Bumped version to next PATCH: 2.3.0

purser-core:

  • Updated dependencies:
    • bn.js #245
    • ethers #248
  • Bumped version to next PATCH: 2.2.1

purser-ledger:

  • Updated dependencies:
    • @ledgerhq/hw-transport-u2f #220
    • ethereumjs-tx #235
  • Bumped version to next MINOR: 1.3.0

purser-metamask:

  • Updated dependencies:
    • ethereumjs-tx #235
    • bn.js #245
  • Refactor the static methods to throw when a user cancels a transactions (instead of just showing a warning) #246
  • Bumped version to next MINOR: 2.3.0

purser-software:

  • Updated dependencies:
    • ethers #248
  • Bumped version to next PATCH: 1.2.5

purser-trezor:

  • Updated dependencies:
    • ethereumjs-tx #235
  • Bumped version to next PATCH: 1.2.3

Link to Github release

1 Like