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 ofshortid
. - Dropped support for Node.js <16.