- https://github.com/libp2p/js-libp2p/blob/master/examples/peer-and-content-routing/1.js await node1.peerStore.patch(node2.peerId, { multiaddrs: node2.getMultiaddrs() }) I'm pretty sure this won't work because only the store implements these functions now: https://github.com/libp2p/js-libp2p-peer-store/blob/master/src/store.ts