Commit Graph

1843 Commits

Author SHA1 Message Date
status-bors-ng[bot] 5eda1ec8aa
Merge #882
882: build: run npm audit fix r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-08 03:24:49 +00:00
fryorcraken.eth ee1cdb02cf
build: run npm audit fix 2022-08-08 13:23:44 +10:00
status-bors-ng[bot] dbe8737552
Merge #868
868: chore(deps): bump @chainsafe/libp2p-noise from 7.0.1 to 7.0.3 r=fryorcraken a=dependabot[bot]

Bumps [`@chainsafe/libp2p-noise](https://github.com/ChainSafe/js-libp2p-noise)` from 7.0.1 to 7.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ChainSafe/js-libp2p-noise/releases"><code>`@​chainsafe/libp2p-noise</code>'s` releases</a>.</em></p>
<blockquote>
<h2>v7.0.3</h2>
<h2><a href="https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.2...v7.0.3">7.0.3</a> (2022-08-03)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>correct type of it-length-prefixed 8.0.2 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/178">#178</a>) (<a href="45c1d56dbc">45c1d56</a>)</li>
</ul>
<h3>Miscellaneous</h3>
<ul>
<li>correct type of it-length-prefixed 8.0.2 (<a href="45c1d56dbc">45c1d56</a>)</li>
</ul>
<h2>v7.0.2</h2>
<h2><a href="https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.1...v7.0.2">7.0.2</a> (2022-08-02)</h2>
<h3>Miscellaneous</h3>
<ul>
<li>bump <code>`@​libp2p/peer-collections</code>` from 1.0.3 to 2.0.0 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/164">#164</a>) (<a href="7ffb5bddbc">7ffb5bd</a>)</li>
<li>clean up logic (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/165">#165</a>) (<a href="7a0d8c00c8">7a0d8c0</a>)</li>
<li>update node.js badge version in readme (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/167">#167</a>) (<a href="16caa6d59a">16caa6d</a>)</li>
<li>update protons and peer collections (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/172">#172</a>) (<a href="3ea9f33cc1">3ea9f33</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ChainSafe/js-libp2p-noise/blob/master/CHANGELOG.md"><code>`@​chainsafe/libp2p-noise</code>'s` changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.2...v7.0.3">7.0.3</a> (2022-08-03)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>correct type of it-length-prefixed 8.0.2 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/178">#178</a>) (<a href="45c1d56dbc">45c1d56</a>)</li>
</ul>
<h3>Miscellaneous</h3>
<ul>
<li>correct type of it-length-prefixed 8.0.2 (<a href="45c1d56dbc">45c1d56</a>)</li>
</ul>
<h2><a href="https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.1...v7.0.2">7.0.2</a> (2022-08-02)</h2>
<h3>Miscellaneous</h3>
<ul>
<li>bump <code>`@​libp2p/peer-collections</code>` from 1.0.3 to 2.0.0 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/164">#164</a>) (<a href="7ffb5bddbc">7ffb5bd</a>)</li>
<li>clean up logic (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/165">#165</a>) (<a href="7a0d8c00c8">7a0d8c0</a>)</li>
<li>update node.js badge version in readme (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/167">#167</a>) (<a href="16caa6d59a">16caa6d</a>)</li>
<li>update protons and peer collections (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/172">#172</a>) (<a href="3ea9f33cc1">3ea9f33</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d6e8745f32"><code>d6e8745</code></a> chore(master): release 7.0.3 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/179">#179</a>)</li>
<li><a href="45c1d56dbc"><code>45c1d56</code></a> fix: correct type of it-length-prefixed 8.0.2 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/178">#178</a>)</li>
<li><a href="201adcb34b"><code>201adcb</code></a> chore(master): release 7.0.2 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/166">#166</a>)</li>
<li><a href="3ea9f33cc1"><code>3ea9f33</code></a> chore: update protons and peer collections (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/172">#172</a>)</li>
<li><a href="7ffb5bddbc"><code>7ffb5bd</code></a> chore: bump <code>`@​libp2p/peer-collections</code>` from 1.0.3 to 2.0.0 (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/164">#164</a>)</li>
<li><a href="16caa6d59a"><code>16caa6d</code></a> chore: update node.js badge version in readme (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/167">#167</a>)</li>
<li><a href="7a0d8c00c8"><code>7a0d8c0</code></a> chore: clean up logic (<a href="https://github-redirect.dependabot.com/ChainSafe/js-libp2p-noise/issues/165">#165</a>)</li>
<li>See full diff in <a href="https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.1...v7.0.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=`@chainsafe/libp2p-noise&package-manager=npm_and_yarn&previous-version=7.0.1&new-version=7.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)`

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 02:19:45 +00:00
dependabot[bot] 2d6700a77c
chore(deps): bump @chainsafe/libp2p-noise from 7.0.1 to 7.0.3
Bumps [@chainsafe/libp2p-noise](https://github.com/ChainSafe/js-libp2p-noise) from 7.0.1 to 7.0.3.
- [Release notes](https://github.com/ChainSafe/js-libp2p-noise/releases)
- [Changelog](https://github.com/ChainSafe/js-libp2p-noise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ChainSafe/js-libp2p-noise/compare/v7.0.1...v7.0.3)

---
updated-dependencies:
- dependency-name: "@chainsafe/libp2p-noise"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 12:18:53 +10:00
fryorcraken.eth f4474e195c
Merge pull request #880 from status-im/revert-bors-size 2022-08-08 12:18:07 +10:00
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