mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-29 08:51:34 +00:00
fix: pubsub default config (#393)
* docs: update browser example pubsub * docs: fix pubsub example config * fix: make pubsub default to enabled This allows for only adding the module to have it enabled. Previously you would have to supply and enable the module which is unncessary for users
This commit is contained in:
@ -62,8 +62,8 @@ const configSchema = s({
|
||||
}),
|
||||
// Pubsub config
|
||||
pubsub: s('object?', {
|
||||
// DHT defaults
|
||||
enabled: false
|
||||
// Pubsub defaults
|
||||
enabled: true
|
||||
})
|
||||
}, {})
|
||||
|
||||
|
Reference in New Issue
Block a user