Closed achingbrain closed 3 years ago
I've tightened up the input types for PeerId.createFromCID
as a follow on from https://github.com/multiformats/js-multiformats/pull/91#issuecomment-853762442 - it now only takes CID
instances.
@achingbrain FYI #150 should also be ready soon (also breaking change), so I would like to get these shipped together as bubbling up PeerId updates across all libp2p stack is time consuming. This will create some conflicts that will need to be addresses by the second PR to be merged
Replaces multihashes with the new multiformats module
BREAKING CHANGE: uses the CID class from the new multiformats module and
PeerID.createFromCID
now only takesCID
instances