Commit Graph

1874 Commits

Author SHA1 Message Date
fryorcraken.eth c9963a4aea
docs: fix links 2022-09-08 18:44:16 +10:00
fryorcraken.eth 6ef0a69d07
ci: fix size-limit config 2022-09-08 18:35:21 +10:00
fryorcraken.eth 91e4d1b435
test: uses full nodes in tests
Ref:  https://github.com/status-im/nwaku/issues/1085
2022-09-08 18:35:21 +10:00
fryorcraken.eth 9fc16143fa
feat: createLightNode and createPrivacyNode helpers 2022-09-08 18:35:20 +10:00
fryorcraken.eth f56f6e2e83
feat: define `Waku` interface 2022-09-08 18:35:20 +10:00
fryorcraken.eth aee054d9d6
feat: merge gossipsub type in CreateOptions interface 2022-09-08 18:35:20 +10:00
fryorcraken.eth a54494dbbf
build: run `make update` before building nwaku 2022-09-08 18:35:13 +10:00
fryorcraken.eth 39f5b83501
Merge pull request #936 from status-im/release/0.26.0 2022-09-08 17:31:10 +10:00
fryorcraken.eth f9abc79297
Release 0.26.0 2022-09-08 15:08:53 +10:00
fryorcraken.eth bcb9082ea1
Merge pull request #926 from status-im/console-log
refactor: remove console.log usage
2022-09-08 15:00:43 +10:00
fryorcraken.eth d97201d6df
style: use `log` for `debug` across codebase 2022-09-08 13:18:07 +10:00
fryorcraken.eth 3c5f1d89df
style: add warning for usage of console 2022-09-08 13:18:07 +10:00
fryorcraken.eth c5e1f50cc8
refactor: remove `console.log` usage 2022-09-08 13:18:07 +10:00
fryorcraken.eth 023e175267
Merge pull request #934 from status-im/doc
doc: add missing modules
2022-09-08 13:04:03 +10:00
fryorcraken.eth 3a125dfcbe
doc: add missing modules 2022-09-08 11:12:44 +10:00
fryorcraken.eth 0c7ce367a6
Merge pull request #932 from status-im/remove-examples
chore: remove examples folder
2022-09-08 11:12:23 +10:00
fryorcraken.eth c201cbd3dd
chore: remove examples folder 2022-09-07 16:47:22 +10:00
fryorcraken.eth d9d237b7ac
Merge pull request #927 from status-im/todos 2022-09-07 13:28:30 +10:00
fryorcraken.eth 76251c922e
test: make it easier to understand test failure 2022-09-07 12:11:08 +10:00
fryorcraken.eth e4d4fb1edd
feat: `DecryptionParams` may be passed when using `queryHistory` 2022-09-07 12:11:08 +10:00
fryorcraken.eth f44e13885c
chore: replace todo with issue reference 2022-09-06 12:29:13 +10:00
fryorcraken.eth ac48792e0e
feat: implement a simple connection management 2022-09-06 12:29:13 +10:00
fryorcraken.eth 9dd00fc026
chore(deps): upgrade @libp2p/interface-connection-manager 2022-09-06 12:29:13 +10:00
fryorcraken.eth b2b14625bb
refactor: remove unused function 2022-09-06 12:29:13 +10:00
fryorcraken.eth ad85c84a22
Merge pull request #928 from status-im/audit 2022-09-06 12:25:29 +10:00
fryorcraken.eth 579e6bc920
chore(deps): run npm audit fix 2022-09-05 22:10:47 +10:00
fryorcraken.eth 1d3f618523
Merge pull request #925 from status-im/ci-node 2022-09-05 22:07:55 +10:00
fryorcraken.eth 3766962b47
ci: fix node version for go-waku 2022-09-05 21:02:01 +10:00
fryorcraken.eth 62cc475322
Merge pull request #924 from status-im/release/0.25.0 2022-09-05 15:49:39 +10:00
fryorcraken.eth d2ac62c708
Release 0.25.0 2022-09-05 15:36:57 +10:00
fryorcraken.eth 158b789ff5
Merge pull request #922 from status-im/libp2p-0.38.0 2022-09-05 15:08:43 +10:00
fryorcraken.eth bfeaf6c14e
fix: it-length-prefixed now returns Uint8ArrayList 2022-09-05 15:02:23 +10:00
fryorcraken.eth ab76063f33
chore(deps): bump protons to 5.10, protons-runtime to 3.1.0 2022-09-05 14:39:55 +10:00
fryorcraken.eth 4d4c4430f4
refactor: rename proto enum `Error` to `HistoryError`
As this creates a conflict with the new protons version.
2022-09-05 14:37:54 +10:00
fryorcraken.eth d8bb0c7759
chore(deps): bump it-length-prefixed to 8.0.2 2022-09-05 12:23:46 +10:00
fryorcraken.eth c23e504d0e
chore(deps): bump @multiformats/multiaddr to 10.4.0 2022-09-05 10:57:01 +10:00
fryorcraken.eth 6127d566c6
chore(deps): bump @libp2p/websocket to 3.0.3 2022-09-05 10:54:52 +10:00
fryorcraken.eth 574a5ad58f
chore(deps): bump @libp2p/mplex to 5.1.1 2022-09-05 10:49:22 +10:00
fryorcraken.eth 185bf8dd56
chore(deps): bump @libp2p/crypto to 1.0.4 2022-09-05 10:46:47 +10:00
fryorcraken.eth ef891bc585
chore(deps): bump @chainsafe/libp2p-noise to 8.0.1 2022-09-05 10:43:33 +10:00
fryorcraken.eth 34a82105fb
chore(deps): bump @chainsafe/libp2p-gossipsub to 4.1.1 2022-09-05 10:36:39 +10:00
fryorcraken.eth ece1ca53c7
chore(deps): bump libp2p to 0.38.0 2022-09-05 10:34:49 +10:00
status-bors-ng[bot] f52dd9ef9a
Merge #919
919: include wait_for_remote_peer in exports map r=fryorcraken a=fryorcraken

This module will just consume a generate Waku and Waku Relay interfaces so we already we want to extract it.

It is also one opinionated to handle connection management, other ways might come with #914.

Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-09-01 04:43:30 +00:00
fryorcraken.eth 2108e56dfa
fix: export wait_for_remote_peer in exports map
This module will just consume a generate Waku and Waku Relay interfaces
so we already we want to extract it.

It is also one opinionated to handle connection management, other ways
might come with https://github.com/status-im/js-waku/issues/914.
2022-09-01 14:42:21 +10:00
status-bors-ng[bot] 71ca4c9c91
Merge #918
918: fix: do not export waitForRemotePeer from index r=fryorcraken a=fryorcraken

It is already present in the exports map.

Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-09-01 00:49:18 +00:00
fryorcraken.eth 282a7f256f
fix: do not export waitForRemotePeer from index
It is already present in the exports map.
2022-09-01 10:48:16 +10:00
status-bors-ng[bot] 4740eabb5f
Merge #912
912: chore(deps-dev): bump lint-staged from 12.3.6 to 13.0.3 r=fryorcraken a=dependabot[bot]

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.6 to 13.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/okonet/lint-staged/releases">lint-staged's releases</a>.</em></p>
<blockquote>
<h2>v13.0.3</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v13.0.2...v13.0.3">13.0.3</a> (2022-06-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>correctly handle git stash when using MSYS2 (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1178">#1178</a>) (<a href="0d627a5284">0d627a5</a>)</li>
</ul>
<h2>v13.0.2</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v13.0.1...v13.0.2">13.0.2</a> (2022-06-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>use new <code>--diff</code> and <code>--diff-filter</code> options when checking task modifications (<a href="1a5a66a957">1a5a66a</a>)</li>
</ul>
<h2>v13.0.1</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v13.0.0...v13.0.1">13.0.1</a> (2022-06-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>correct spelling of &quot;0 files&quot; (<a href="f27f1d45ea">f27f1d4</a>)</li>
<li>suppress error from <code>process.kill</code> when killing tasks on failure (<a href="f2c6bdd911">f2c6bdd</a>)</li>
<li><strong>deps:</strong> update pidtree@^0.6.0 to fix screen size error in WSL (<a href="1a77e4224a">1a77e42</a>)</li>
<li>ignore &quot;No matching pid found&quot; error (<a href="cb8a4328ed">cb8a432</a>)</li>
<li>prevent possible race condition when killing tasks on failure (<a href="bc92aff5fd">bc92aff</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li>use <code>EventsEmitter</code> instead of <code>setInterval</code> for killing tasks on failure (<a href="c508b46a15">c508b46</a>)</li>
</ul>
<h2>v13.0.0</h2>
<h1><a href="https://github.com/okonet/lint-staged/compare/v12.5.0...v13.0.0">13.0.0</a> (2022-06-01)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> update <code>execa@^6.1.0</code> (<a href="659c85c5cd">659c85c</a>)</li>
<li><strong>deps:</strong> update <code>yaml@^2.1.1</code> (<a href="2750a3d9d9">2750a3d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>remove support for Node.js 12 (<a href="5fb6df94cc">5fb6df9</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0d627a5284"><code>0d627a5</code></a> fix: correctly handle git stash when using MSYS2 (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1178">#1178</a>)</li>
<li><a href="1a5a66a957"><code>1a5a66a</code></a> fix: use new <code>--diff</code> and <code>--diff-filter</code> options when checking task modifica...</li>
<li><a href="32806dacff"><code>32806da</code></a> test: split integration tests into separate files and improve isolation</li>
<li><a href="438411437a"><code>4384114</code></a> refactor: reuse Listr stuff better</li>
<li><a href="f27f1d45ea"><code>f27f1d4</code></a> fix: correct spelling of &quot;0 files&quot;</li>
<li><a href="f2c6bdd911"><code>f2c6bdd</code></a> fix: suppress error from <code>process.kill</code> when killing tasks on failure</li>
<li><a href="c5cec0a37f"><code>c5cec0a</code></a> docs: add section about task concurrency to README.md</li>
<li><a href="5bf1f188f6"><code>5bf1f18</code></a> docs: remove <code>mrm</code> from README.md</li>
<li><a href="c508b46a15"><code>c508b46</code></a> perf: use <code>EventsEmitter</code> instead of <code>setInterval</code> for killing tasks on failure</li>
<li><a href="1a77e4224a"><code>1a77e42</code></a> fix(deps): update pidtree@^0.6.0 to fix screen size error in WSL</li>
<li>Additional commits viewable in <a href="https://github.com/okonet/lint-staged/compare/v12.3.6...v13.0.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=12.3.6&new-version=13.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-31 04:29:26 +00:00
status-bors-ng[bot] 9195f8fcf5
Merge #916
916: fix: do not discard messages with no payload r=fryorcraken a=fryorcraken

While they do not need to be decoded, they might still be used.
e.g. timestamp, network connectivity, etc.

Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-31 04:23:38 +00:00
fryorcraken.eth d79984fdba
fix: do not discard messages with no payload
While they do not need to be decoded, they might still be used.
e.g. timestamp, network connectivity, etc.
2022-08-31 14:22:06 +10:00
fryorcraken.eth 9248b01958
Merge pull request #915 from status-im/logs 2022-08-31 13:26:09 +10:00