1702 Commits

Author SHA1 Message Date
fryorcraken.eth
6017690403
Merge pull request #803 from status-im/libp2p-upgrade-2 2022-08-03 14:48:28 +10:00
fryorcraken.eth
8b7a97d502
fix: remove unneeded log 2022-08-03 09:30:41 +10:00
fryorcraken.eth
b05e8bef01
fix: cater for buffer transitive dependency
Does not seem to be actually used.
2022-08-03 09:30:41 +10:00
fryorcraken.eth
cd21c71b49
chore: bump wherearewe (transitive dep) 2022-08-03 09:30:40 +10:00
fryorcraken.eth
4680560971
fix(examples): add multiaddr dependency
Using older dependency for now.
2022-08-03 09:30:40 +10:00
Franck Royer
95deb6a331
fix: ensure types are available in doc 2022-08-03 09:30:40 +10:00
Franck Royer
8126e96f33
chore: remove multiformats (unused) 2022-08-03 09:30:40 +10:00
Franck Royer
2004bf193e
chore: remove @types/varint (unused) 2022-08-03 09:30:40 +10:00
Franck Royer
9297ad6021
chore: remove @types/secp256k1 (unused) 2022-08-03 09:30:40 +10:00
Franck Royer
157b5bd3c2
chore: remove webpack-cli 2022-08-03 09:30:40 +10:00
Franck Royer
3b93583848
fix: size-limit 2022-08-03 09:30:40 +10:00
Franck Royer
c3991a2987
fix: fix tsc incremental build feature
dist folder is deleted automatically but not tsbuildinfo file so nothing
is built as it is assumed already built by tsc.
2022-08-03 09:30:39 +10:00
Franck Royer
cc73ac0908
feat(example): migrate relay-js to esm 2022-08-03 09:30:39 +10:00
Franck Royer
e42b825672
feat(example): migrate store-js to esm 2022-08-03 09:30:39 +10:00
Franck Royer
8b350f4272
feat: remove node polyfilling
Does not seem necessary.
2022-08-03 09:30:39 +10:00
Franck Royer
98d14e08b0
feat!: Do not start libp2p automatically with createWaku
Reduce the number of actions `createWaku` does.
2022-08-03 09:30:39 +10:00
Franck Royer
b7b6a11f43
fix: export createWaku 2022-08-03 09:30:39 +10:00
Franck Royer
94a21bc75e
feat! remove esm package folder 2022-08-03 09:30:39 +10:00
Franck Royer
785a220dff
fix: remove unused stream-browserify 2022-08-03 09:30:39 +10:00
Franck Royer
50890b5206
feat: remove umd build, minimize esm bundle 2022-08-03 09:30:39 +10:00
Franck Royer
c4f1d90c7b
fix: no need to append .js to import for external packages 2022-08-03 09:30:38 +10:00
Franck Royer
338e3c9964
feat: add esm bundling 2022-08-03 09:30:38 +10:00
Franck Royer
d2703d081e
feat!: remove cjs build 2022-08-03 09:30:38 +10:00
Franck Royer
4054f6a751
style: format karma conf 2022-08-03 09:30:38 +10:00
Franck Royer
5c022da3ea
refactor(test): include webpack config in karma config
So it is clear that this webpack config is only necessary for Karma.
2022-08-03 09:30:38 +10:00
Franck Royer
e119fc46d6
fix: pass bootstrap to libp2p instance 2022-08-03 09:30:38 +10:00
Franck Royer
8922511cc9
fix: pass pubsub topic when creating waku filter 2022-08-03 09:30:38 +10:00
Franck Royer
275eb72959
fix: ignore store response unspecified error 2022-08-03 09:30:38 +10:00
Franck Royer
d18a5152ef
fix(test): check messages on custom pubsub topic 2022-08-03 09:30:38 +10:00
Franck Royer
4a193e49e0
style: use nullish coalescing instead of if/then 2022-08-03 09:30:38 +10:00
Franck Royer
a3e6850b2f
fix(test): compare peer ids using string format 2022-08-03 09:30:37 +10:00
Franck Royer
991a1cf747
fix(test): ensure nodes are cleaned up, use separate noise key 2022-08-03 09:30:37 +10:00
Franck Royer
ba1c7b86ea
fix: Use libp2p options passed to createWaku 2022-08-03 09:30:37 +10:00
Franck Royer
ee12ec0ab5
chore: bump dns-query to 0.11.2 2022-08-03 09:30:37 +10:00
Franck Royer
9965ba9059
chore: bump @libp2p/mplex to 4.0.1 2022-08-03 09:30:37 +10:00
Franck Royer
d7b08f7e24
fix: Wait for remote peer for Waku Relay
The promise resolves only if a remote peer is added to the gossipsub
mesh.
2022-08-03 09:30:37 +10:00
Franck Royer
2265a0099f
refactor: Use same code for store, lightpush and filter 2022-08-03 09:30:37 +10:00
Franck Royer
0a505659b7
fix: ensure node only enable protocol we are testing 2022-08-03 09:30:37 +10:00
Franck Royer
4c3da7bad2
refactor: Use common code for filter and light push 2022-08-03 09:30:36 +10:00
Franck Royer
811685e041
refactor!: Move waitForRemotePeer to own file 2022-08-03 09:30:36 +10:00
Franck Royer
da9b7b31f5
chore: bump @chainsafe/libp2p-gossipsub to 3.4.0 2022-08-03 09:30:36 +10:00
Franck Royer
4eeca93d47
chore: bump libp2p to next (0.38.0 rc) 2022-08-03 09:30:36 +10:00
Franck Royer
c346361940
chore: bump @libp2p/mplex to 4.0.0 2022-08-03 09:30:36 +10:00
Franck Royer
4669c4d149
chore: upgrade @chainsafe/libp2p-gossipsub to 3.3.0 2022-08-03 09:30:36 +10:00
Franck Royer
61e6ec8ed4
chore: upgrade rollup-plugin-polyfill-node 2022-08-03 09:30:36 +10:00
Franck Royer
1f9a12cddb
chore: upgrade libp2p-gossipsub and libp2p-noise 2022-08-03 09:30:36 +10:00
Franck Royer
bd7d01387d
chore: remove useless test 2022-08-03 09:30:36 +10:00
Franck Royer
f768686e51
fix: fix pipe usage 2022-08-03 09:30:33 +10:00
Franck Royer
f3833564f2
fix: Remove event listener once done 2022-07-28 10:43:37 +10:00
Franck Royer
51d5bc19a2
fix: removed usage of buffer in streams 2022-07-20 12:45:14 +10:00