Skip to content

Releases: MetaMask/nonce-tracker

6.1.0

17 Jan 14:44
c214dbd
Compare
Choose a tag to compare

Changed

  • Remove @metamask/eth-block-tracker peer dependency (#85)

6.0.1

14 Jan 19:17
e45d751
Compare
Choose a tag to compare

Fixed

  • Bump async-mutex from ^0.3.1 to ^0.5.0 (#78)

6.0.0

28 May 08:17
1168222
Compare
Choose a tag to compare

Added

  • New setProvider function allows atomically changing provider and blockTracker (#75)

Removed

  • BREAKING: These private properties are no longer accessible: (#75)
    • blockTracker
    • lockMap
    • provider
    • web3
  • BREAKING: These private functions are no longer accessible: (#75)
    • getConfirmedTransactions
    • getPendingTransactions

Fixed

  • Types: Allow blockTracker constructor option to be any BlockTracker instead of class PollingBlockTracker (#76)

5.0.0

28 May 06:26
f0b44f8
Compare
Choose a tag to compare

Changed

  • Rename package from nonce-tracker to @metamask/nonce-tracker (#61)

Fixed

  • BREAKING: Replace implicit peer-dependency eth-block-tracker with explicit peerDependency @metamask/eth-block-tracker (#73)
  • Remove redundant import of eth-block-tracker (#72)

4.0.0

05 Dec 03:03
ec84eb5
Compare
Choose a tag to compare

Changed

  • BREAKING: Bump eth-block-tracker from ^4.4.3 to ^8.1.0 (#56)
    • If you're using this package in a TypeScript setting, when creating a new NonceTracker, you must pass in an instance of PollingBlockTracker (failure to do so now produces a type error).

3.0.0

15 Nov 01:32
39cffd9
Compare
Choose a tag to compare

Added

  • Add ancillary types (#53)

Changed

  • BREAKING: Drop support for Node.js v14; minimum required version is now v16 (#54)
  • Move NonceTracker to named export instead of default (#53)

2.0.0

03 Oct 08:32
62fa980
Compare
Choose a tag to compare

Changed

  • BREAKING: Switched from ethjs-query to @ethersproject/providers (#39)
  • BREAKING: Minimum Node.js version is now 14 (#42)

v1.2.0

25 Sep 22:18
4377887
Compare
Choose a tag to compare

Changed

  • Add eth-block-tracker@^4.4.3 (#12)
  • Replace await-semaphore with async-mutex (#15)
  • Improve type semantics (#12)
  • Change return type of getGlobalLock (#13)

Fixed

  • Remove unused assert dependency (#14)
  • Add missing node.engines field in package.json (#18)

1.1.0

19 Nov 03:24
19f2237
Compare
Choose a tag to compare
  • Convert to TypeScript
  • Fix faulty transaction object nonce property typecheck