Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit f767f15

Browse files
chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <[email protected]>
1 parent 3daa016 commit f767f15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/topology/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Add a peer to the topology.
108108
- `topology.disconnect(peerId)`
109109

110110
**Parameters**
111-
- `peerId` is the [PeerIid][peer-id] of the peer disconnected.
111+
- `peerId` is the [PeerId][peer-id] of the peer disconnected.
112112

113113
### Multicodec Topology
114114

src/topology/multicodec-topology.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class MulticodecTopology extends Topology {
5555

5656
/**
5757
* Update topology.
58-
* @param {Array<PeerData>} peerDataIterable
58+
* @param {Array<{id: PeerId, multiaddrs: Array<Multiaddr>}>} peerDataIterable
5959
* @returns {void}
6060
*/
6161
_updatePeers (peerDataIterable) {

0 commit comments

Comments
 (0)