fix: content and peer routing multiaddrs property (#49)

This commit is contained in:
Vasco Santos 2020-04-23 15:53:20 +02:00 committed by Jacob Heun
parent aa996d2054
commit 9fbf9d0331
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ Find peers in the network that can provide a specific value, given a key.
It returns an `AsyncIterable` containing the identification and addresses of the peers providing the given key, as follows:
`AsyncIterable<{ id: PeerId, addrs: Multiaddr[] }>`
`AsyncIterable<{ id: PeerId, multiaddrs: Multiaddr[] }>`
### provide

View File

@ -43,4 +43,4 @@ Query the network for all multiaddresses associated with a `PeerId`.
It returns the [peerId](https://github.com/libp2p/js-peer-id) together with the known peers [multiaddrs](https://github.com/multiformats/js-multiaddr), as follows:
`Promise<{ id: PeerId, addrs: Multiaddr[] }>`
`Promise<{ id: PeerId, multiaddrs: Multiaddr[] }>`