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

Commit

Permalink
chore: increase max bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jul 26, 2019
1 parent 63cd538 commit 6a47db6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ipfsdServer = IPFSFactory.createServer()
const preloadNode = MockPreloadNode.createNode()

module.exports = {
bundlesize: { maxSize: '689kB' },
bundlesize: { maxSize: '691kB' },
webpack: {
resolve: {
mainFields: ['browser', 'main'],
Expand Down
12 changes: 12 additions & 0 deletions doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The js-ipfs config file is a JSON document located in the root directory of the
- [`PeerID`](#peerid)
- [`PrivKey`](#privkey)
- [`Keychain`](#keychain)
- [`Pubsub`](#pubsub)
- [`Router`](#router)
- [`Swarm`](#swarm)
- [`ConnMgr`](#connmgr)

Expand Down Expand Up @@ -168,6 +170,16 @@ Default:

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

## `Pubsub`

Options for configuring the pubsub subsystem.

### `Router`

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.

Default: `gossipsub`

## `Swarm`

Options for configuring the swarm.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"libp2p-delegated-content-routing": "^0.2.3",
"libp2p-delegated-peer-routing": "^0.2.3",
"libp2p-floodsub": "^0.17.0",
"libp2p-gossipsub": "ChainSafe/gossipsub-js#feat/self-emit-option",
"libp2p-gossipsub": "ChainSafe/gossipsub-js#master",
"libp2p-kad-dht": "~0.15.2",
"libp2p-keychain": "~0.4.2",
"libp2p-mdns": "~0.12.0",
Expand Down

0 comments on commit 6a47db6

Please sign in to comment.