Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 6a47db6

Browse files
committed
chore: increase max bundle size
1 parent 63cd538 commit 6a47db6

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.aegir.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ipfsdServer = IPFSFactory.createServer()
88
const preloadNode = MockPreloadNode.createNode()
99

1010
module.exports = {
11-
bundlesize: { maxSize: '689kB' },
11+
bundlesize: { maxSize: '691kB' },
1212
webpack: {
1313
resolve: {
1414
mainFields: ['browser', 'main'],

doc/config.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The js-ipfs config file is a JSON document located in the root directory of the
1919
- [`PeerID`](#peerid)
2020
- [`PrivKey`](#privkey)
2121
- [`Keychain`](#keychain)
22+
- [`Pubsub`](#pubsub)
23+
- [`Router`](#router)
2224
- [`Swarm`](#swarm)
2325
- [`ConnMgr`](#connmgr)
2426

@@ -168,6 +170,16 @@ Default:
168170

169171
You can check the [parameter choice for pbkdf2](https://cryptosense.com/parameter-choice-for-pbkdf2/) for more information.
170172

173+
## `Pubsub`
174+
175+
Options for configuring the pubsub subsystem.
176+
177+
### `Router`
178+
179+
A string value for specifying which pubsub routing protocol to use. You can either use `gossipsub` in order to use the [ChainSafe/gossipsub-js](https://github.com/ChainSafe/gossipsub-js) implementation, or `floodsub` to use the [libp2p/js-libp2p-floodsub](https://github.com/libp2p/js-libp2p-floodsub) implementation. You can read more about these implementations on the [libp2p/specs/pubsub](https://github.com/libp2p/specs/tree/master/pubsub) document.
180+
181+
Default: `gossipsub`
182+
171183
## `Swarm`
172184

173185
Options for configuring the swarm.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"libp2p-delegated-content-routing": "^0.2.3",
128128
"libp2p-delegated-peer-routing": "^0.2.3",
129129
"libp2p-floodsub": "^0.17.0",
130-
"libp2p-gossipsub": "ChainSafe/gossipsub-js#feat/self-emit-option",
130+
"libp2p-gossipsub": "ChainSafe/gossipsub-js#master",
131131
"libp2p-kad-dht": "~0.15.2",
132132
"libp2p-keychain": "~0.4.2",
133133
"libp2p-mdns": "~0.12.0",

0 commit comments

Comments
 (0)