Commit Graph

1916 Commits

Author SHA1 Message Date
fryorcraken.eth d0a975fecd
chore: uprade @libp2p/pubsub
Removes one import of iso-random-stream.
This library brings buffer.
2022-08-05 21:31:41 +10:00
status-bors-ng[bot] 12ef29161a
Merge #865
865: fix: remove nyc r=fryorcraken a=fryorcraken

Not used.

Co-authored-by: fryorcraken.eth <commits@fryorcraken.xyz>
2022-08-05 06:43:35 +00:00
fryorcraken.eth 334e331090
fix: remove nyc
Not used.
2022-08-05 16:43:05 +10:00
fryorcraken.eth 9f10a500d4
Merge pull request #867 from status-im/fix-size-2 2022-08-05 16:42:25 +10:00
fryorcraken.eth 548cb5b20f
fix: size-limit (install was skipped) 2022-08-05 16:28:55 +10:00
status-bors-ng[bot] eeb501d35f
Merge #863
863: fix: size-limit by setting buffer false in webpack r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <commits@fryorcraken.xyz>
2022-08-03 06:47:39 +00:00
fryorcraken.eth bf47803631
fix: size-limit by setting buffer false in webpack 2022-08-03 16:46:53 +10:00
fryorcraken.eth 69b3595d6f
chore: bump size-limit to 8.0.0 2022-08-03 16:46:53 +10:00
status-bors-ng[bot] 4fdbe8f2bf
Merge #864
864: style: lint cjs files r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <commits@fryorcraken.xyz>
2022-08-03 06:24:03 +00:00
fryorcraken.eth b67848d2d5
style: lint cjs files 2022-08-03 16:05:36 +10:00
status-bors-ng[bot] 0ba251602a
Merge #862
862: fix: update GitHub user r=D4nte a=fryorcraken

d4nte is moving to fryorcraken account.

Co-authored-by: fryorcraken.eth <commits@fryorcraken.xyz>
2022-08-03 05:29:06 +00:00
fryorcraken.eth 8b5e29656f
Merge pull request #861 from status-im/libp2p-changelog 2022-08-03 15:27:08 +10:00
fryorcraken.eth c646acf5a3
fix: update GitHub user
d4nte is moving to fryorcraken account.
2022-08-03 15:21:46 +10:00
fryorcraken.eth 67549aed4b
Update changelog as per #803 2022-08-03 15:18:25 +10:00
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