Skip to content

Latest commit

 

History

History
92 lines (73 loc) · 4.2 KB

File metadata and controls

92 lines (73 loc) · 4.2 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

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

Fixed

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

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)

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)

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).

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)

Changed

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

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)

Changed

  • Convert to TypeScript

Fixed

  • Fix faulty transaction object nonce property typecheck

Added

  • Add documentation