mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-15 18:21:22 +00:00
chore: update aegir and jsdocs for eslint changes (#773)
This commit is contained in:
@ -58,9 +58,9 @@ module.exports = async (properties = {}) => {
|
||||
* Creates a full connection pair, without the transport or encryption
|
||||
*
|
||||
* @param {object} options
|
||||
* @param {Multiaddr[]} options.addrs Should contain two addresses for the local and remote peer respectively
|
||||
* @param {PeerId[]} options.remotePeer Should contain two peer ids, for the local and remote peer respectively
|
||||
* @param {Map<string, function>} options.protocols The protocols the connections should support
|
||||
* @param {Multiaddr[]} options.addrs - Should contain two addresses for the local and remote peer respectively
|
||||
* @param {Array<PeerId>} options.peers - Array containing local and remote peer ids
|
||||
* @param {Map<string, Function>} options.protocols - The protocols the connections should support
|
||||
* @returns {{inbound:Connection, outbound:Connection}}
|
||||
*/
|
||||
module.exports.pair = function connectionPair ({ addrs, peers, protocols }) {
|
||||
|
Reference in New Issue
Block a user