Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@goldfire goldfire released this 18 Oct 00:48

Updates

  • FIXED In the rare case that weights of two peers are the same, there is now a tie-breaker that uses the ID value.
  • FIXED The for loop to count voters for peer removal was invalid, which could cause unpredictable results and state issues.

Breaking Changes

  • Default peer ID's now use nanoid instead of shortid.
  • Dropped support for Node.js <16.