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

Commit d4a1bf0

Browse files
authored
chore: update libp2p noise (#3714)
With ChainSafe/js-libp2p-noise#100 in, we can now have a smaller bundle size. Also fixes node build `libp2p-noise`: ~27% decrease on its bundle size, from 191.5kb to 141.2kb (minified+gzipped) `ipfs`: ~10% decrease on its bundle size. Closes #3704
1 parent c91ef59 commit d4a1bf0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/ipfs-core/.aegir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = {
7070
}
7171
},
7272
build: {
73-
bundlesizeMax: '549KB',
73+
bundlesizeMax: '500KB',
7474
config: esbuild
7575
}
7676
}

packages/ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"libp2p-kad-dht": "^0.22.0",
103103
"libp2p-mdns": "^0.16.0",
104104
"libp2p-mplex": "^0.10.2",
105-
"libp2p-noise": "^3.0.0",
105+
"libp2p-noise": "^3.1.0",
106106
"libp2p-record": "^0.10.3",
107107
"libp2p-tcp": "^0.15.4",
108108
"libp2p-webrtc-star": "^0.22.2",

packages/ipfs/.aegir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module.exports = {
118118
}
119119
},
120120
build: {
121-
bundlesizeMax: '549KB',
121+
bundlesizeMax: '500KB',
122122
config: esbuild
123123
},
124124
dependencyCheck: {

0 commit comments

Comments
 (0)