fix: peer discovery type in config (#878)

to any
This commit is contained in:
Vasco Santos 2021-01-29 14:32:13 +01:00 committed by GitHub
parent ce2a624a09
commit 3e7594f697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,6 @@ const { updateSelfPeerRecord } = require('./record/utils')
* @typedef {Object} PeerStoreOptions
* @property {boolean} persistence
*
* @typedef {Object} PeerDiscoveryOptions
* @property {boolean} autoDial
*
* @typedef {Object} RelayOptions
* @property {boolean} enabled
* @property {import('./circuit').RelayAdvertiseOptions} advertise
@ -62,7 +59,7 @@ const { updateSelfPeerRecord } = require('./record/utils')
*
* @typedef {Object} Libp2pConfig
* @property {Object} [dht] dht module options
* @property {PeerDiscoveryOptions} [peerDiscovery]
* @property {Object} [peerDiscovery]
* @property {Pubsub} [pubsub] pubsub module options
* @property {RelayOptions} [relay]
* @property {Record<string, Object>} [transport] transport options indexed by transport key