This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
swarm.peers return type is different in js-ipfs and js-ipfs-api #1248
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
swarm.peers
returns an object with apeer
property. In the spec it says this will be aPeerInfo
object, and it is in js-ipfs, but if you call via js-ipfs-api you'll get back aPeerId
(js-ipfs http converts the PeerInfo to a PeerId).Just wondering if this is expected, and if not, what is the desired result?
The text was updated successfully, but these errors were encountered: