Releases: tristanls/k-bucket
Releases · tristanls/k-bucket
v3.0.2
Added test coverage: npm run coverage
. (#33)
For testing using tape
instead of nodeunit
. (#33)
v3.0.1
added
, removed
, and updated
events continue to be emitted correctly after the bucket is split. (#32)
v3.0.0
KBucket
once again inherits from EventEmitter
. (#25)
Added events ping
, added
, removed
, updated
. (#25)
Public API will throw TypeError
if the passed in contact.id
or id
is not a Buffer
. (9445f2f)
kBucket.closest(id)
and kBucket.remove(id)
now accept id
instead of contact
. (#27)
v2.0.1
Fixed bug in distance calculation. See #20
Improved performance of distance calculation by an order of magnitude.
v1.0.4
Fixed bug in distance calculation. See #20
Improved performance of distance calculation by an order of magnitude.
v2.0.0
Changed API to use ping
callback passed in options.ping
.
Removed EventEmitter
dependency.
Removed inherits
dependency.
v1.0.3
Removed assert
dependency.
v1.0.2
Removed CHANGELOG.md
in favor of GitHub Releases feature.
v1.0.1
Use randombytes
instead of crypto
module to generate random bytes.
v0.6.0
Use inherits
module rather than util
to make things more browser friendly.