Commit Graph

1638 Commits

Author SHA1 Message Date
fryorcraken.eth 2c8eeb96bf
Revert "chore: add `size` task to bors"
This reverts commit 6e6c956af5.
2022-08-08 12:11:10 +10:00
fryorcraken.eth 7a46010d1f
Merge pull request #879 from status-im/dependabot-examples 2022-08-08 11:22:40 +10:00
fryorcraken.eth 787e11fca9
chore: remove dependabot for examples
Examples are being moved to waku-org/js-waku-examples
2022-08-08 11:13:49 +10:00
fryorcraken.eth 9bf3babda2
Merge pull request #878 from status-im/bors 2022-08-07 17:48:44 +10:00
fryorcraken.eth 6e6c956af5
chore: add `size` task to bors 2022-08-07 16:07:49 +10:00
fryorcraken.eth b4e0fb59e2
Merge pull request #860 from status-im/organize-modules 2022-08-07 16:05:23 +10:00
fryorcraken.eth 035f1460d8
chore: update changelog 2022-08-07 12:03:05 +10:00
fryorcraken.eth 11e60aadd5
refactor: move predefined nodes out of dns discovery 2022-08-07 12:03:05 +10:00
fryorcraken.eth 5f1ac595b6
fix(examples): update using new bundles 2022-08-07 12:03:05 +10:00
fryorcraken.eth d560f8ce0e
fix: bundling with exports map 2022-08-07 12:03:05 +10:00
fryorcraken.eth 8c27975830
fix: outdated doc & links 2022-08-07 12:03:05 +10:00
fryorcraken.eth 889ec4d45c
feat: split bootstrap logic
Split the bootstrap logic in 2 different classes that implement the
libp2p peer discovery class.

This enables better tree shaking when not using the heaviest version
(DNS Discovery).

It also means using libp2p interface directly when customizing the peer
discovery logic.

Finally, the `default` method is still available via the
`defaultBootstrap` option.
2022-08-07 12:03:05 +10:00
fryorcraken.eth c1b158cbf0
feat: set tsbuildinfo file in dist directory
So that when deleting the `dist` directory, the file gets deleted too.
2022-08-07 12:03:05 +10:00
fryorcraken.eth f929be064b
fix: filter import 2022-08-07 12:03:05 +10:00
fryorcraken.eth 080357355b
refactor: extract peer discovery static list 2022-08-07 12:03:05 +10:00
fryorcraken.eth 731318fa66
feat: export create_waku 2022-08-07 12:03:04 +10:00
fryorcraken.eth 69aee6c1cc
refactor: move `createWaku` to own module 2022-08-07 12:03:04 +10:00
status-bors-ng[bot] 9b34897bab
Merge #873
873: chore: rename test scripts r=fryorcraken a=fryorcraken

both tests are `unit`, also script name shouldn't change
if a different framework (karma) is used.

Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-05 15:03:18 +00:00
fryorcraken.eth bcbf40ee10
chore: rename test scripts
both tests are `unit`, also script name shouldn't change
if a different framework (karma) is used.
2022-08-06 01:02:15 +10:00
fryorcraken.eth f3ce58c176
Merge pull request #872 from status-im/pubsub-no-buffer 2022-08-05 21:36:37 +10:00
fryorcraken.eth 187287a28c
feat: all buffer dependencies have been removed 2022-08-05 21:31:41 +10:00
fryorcraken.eth b7fa4d375a
chore: upgrade @libp2p/crypto
Removes iso-random-stream.
2022-08-05 21:31:41 +10:00
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