Commit Graph

1269 Commits

Author SHA1 Message Date
dependabot[bot] 6bc963f372
Bump ts-loader from 9.2.6 to 9.2.8
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.2.6 to 9.2.8.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.2.6...v9.2.8)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:32:18 +00:00
Franck R a67df28ae8
Merge pull request #630 from status-im/dependabot/npm_and_yarn/fast-check-2.23.2 2022-03-24 14:58:15 +11:00
dependabot[bot] 4b9a4fdb6f
Bump fast-check from 2.22.0 to 2.23.2
Bumps [fast-check](https://github.com/dubzzz/fast-check) from 2.22.0 to 2.23.2.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/compare/v2.22.0...v2.23.2)

---
updated-dependencies:
- dependency-name: fast-check
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 18:54:07 +00:00
Franck R e91dc7bbda
Merge pull request #629 from status-im/dependabot/npm_and_yarn/ethersproject/rlp-5.6.0 2022-03-23 15:11:02 +11:00
dependabot[bot] 9d36bcaece
Bump @ethersproject/rlp from 5.5.0 to 5.6.0
Bumps [@ethersproject/rlp](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/rlp) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.6.0/packages/rlp)

---
updated-dependencies:
- dependency-name: "@ethersproject/rlp"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 15:38:18 +00:00
Franck R a6fce594e1
Merge pull request #627 from status-im/dependabot/npm_and_yarn/debug-4.3.4
Bump debug from 4.3.3 to 4.3.4
2022-03-22 19:53:53 +11:00
dependabot[bot] dceba4e81b
Bump debug from 4.3.3 to 4.3.4
Bumps [debug](https://github.com/debug-js/debug) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/4.3.3...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 15:31:29 +00:00
status-bors-ng[bot] aa09b49b13
Merge #626
626: Fix typo r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-03-21 04:08:45 +00:00
Franck Royer 6f62ef84a7
Fix typo 2022-03-21 15:07:42 +11:00
status-bors-ng[bot] bce9c156bc
Merge #623
623: Bump libp2p-websockets from 0.16.1 to 0.16.2 r=D4nte a=dependabot[bot]

Bumps [libp2p-websockets](https://github.com/libp2p/js-libp2p-websockets) from 0.16.1 to 0.16.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/libp2p/js-libp2p-websockets/releases">libp2p-websockets's releases</a>.</em></p>
<blockquote>
<h2>v0.16.2</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/libp2p/js-libp2p-websockets/blob/master/CHANGELOG.md">libp2p-websockets's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2">0.16.2</a> (2021-09-28)</h2>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b70e7231ad"><code>b70e723</code></a> chore: release version v0.16.2</li>
<li><a href="0c8bb6865b"><code>0c8bb68</code></a> chore: update contributors</li>
<li><a href="a7f243736a"><code>a7f2437</code></a> chore: update ipfs-utils (<a href="https://github-redirect.dependabot.com/libp2p/js-libp2p-websockets/issues/136">#136</a>)</li>
<li>See full diff in <a href="https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~achingbrain">achingbrain</a>, a new releaser for libp2p-websockets since your current version.</p>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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-03-21 03:43:36 +00:00
status-bors-ng[bot] e87ecc3531
Merge #625
625: Add JavaScript Relay example r=D4nte a=D4nte

Simple JavaScript app that uses Waku Relay.

Could be subject for a new guide (we don't have a pure JS guide at the moment).

Co-authored-by: Franck Royer <franck@status.im>
2022-03-21 01:34:18 +00:00
Franck Royer 98c1257585
Add JavaScript Relay example 2022-03-21 12:33:31 +11:00
Franck Royer c44071fe5c
Rename Store JavaScript example 2022-03-21 12:26:39 +11:00
Franck R 21d2532a60
Merge pull request #624 from status-im/release/0.19.2 2022-03-21 11:06:28 +11:00
Franck Royer 483b11723c
Release 0.19.2 2022-03-21 10:36:27 +11:00
dependabot[bot] f686f55d60
Bump libp2p-websockets from 0.16.1 to 0.16.2
Bumps [libp2p-websockets](https://github.com/libp2p/js-libp2p-websockets) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/libp2p/js-libp2p-websockets/releases)
- [Changelog](https://github.com/libp2p/js-libp2p-websockets/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/js-libp2p-websockets/compare/v0.16.1...v0.16.2)

---
updated-dependencies:
- dependency-name: libp2p-websockets
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 15:26:47 +00:00
Franck R eaca592806
Merge pull request #619 from status-im/dependabot/npm_and_yarn/puppeteer-13.5.1
Bump puppeteer from 13.3.1 to 13.5.1
2022-03-18 20:13:34 +11:00
dependabot[bot] 616612de5f
Bump puppeteer from 13.3.1 to 13.5.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.1 to 13.5.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.3.1...v13.5.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 07:42:50 +00:00
Franck R e55177d78d
Merge pull request #621 from dao/master
Fix node compatibility
2022-03-18 18:41:55 +11:00
Franck Royer d2e9a57604
Update changelog 2022-03-18 14:47:25 +11:00
Dylan Oliver ff0cc1bc38
example relay-reactjs-chat app works importing whole package rather than subpath 2022-03-18 14:41:33 +11:00
Dylan Oliver 9cf2924f7b
check presence of window before using it and appease ts types 2022-03-18 14:41:32 +11:00
Dylan Oliver 565ffb18fb
fix package.json exports to work in node as well as browser 2022-03-18 14:41:23 +11:00
status-bors-ng[bot] d879b68529
Merge #618
618: Bump lint-staged from 12.3.4 to 12.3.6 r=D4nte a=dependabot[bot]

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.4 to 12.3.6.
<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>v12.3.6</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v12.3.5...v12.3.6">12.3.6</a> (2022-03-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>kill other running tasks on failure (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1117">#1117</a>) (<a href="34fe319862">34fe319</a>)</li>
</ul>
<h2>v12.3.5</h2>
<h2><a href="https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.5">12.3.5</a> (2022-03-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>search all configs regardless of staged files (<a href="4b605cd369">4b605cd</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="34fe319862"><code>34fe319</code></a> fix: kill other running tasks on failure (<a href="https://github-redirect.dependabot.com/okonet/lint-staged/issues/1117">#1117</a>)</li>
<li><a href="517235d5e4"><code>517235d</code></a> chore: don't use touch on windows</li>
<li><a href="531275cbdb"><code>531275c</code></a> docs: add note about <code>ng lint</code> to README.md</li>
<li><a href="fa15d686de"><code>fa15d68</code></a> refactor: extract <code>parseGitZOutput</code> util</li>
<li><a href="4b605cd369"><code>4b605cd</code></a> fix: search all configs regardless of staged files</li>
<li>See full diff in <a href="https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.6">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.4&new-version=12.3.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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-03-17 07:46:55 +00:00
dependabot[bot] 81499a97fd
Bump lint-staged from 12.3.4 to 12.3.6
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.4 to 12.3.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.4...v12.3.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 03:45:02 +00:00
status-bors-ng[bot] 7f2de93143
Merge #615
615: Bump @types/secp256k1 from 4.0.2 to 4.0.3 r=D4nte a=dependabot[bot]

Bumps [`@types/secp256k1](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/secp256k1)` from 4.0.2 to 4.0.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/secp256k1">compare view</a></li>
</ul>
</details>
<br />


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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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-03-17 03:38:56 +00:00
dependabot[bot] bf72114f51
Bump @types/jasmine from 3.10.3 to 4.0.0 in /examples/relay-angular-chat (#617)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 11:09:44 +11:00
dependabot[bot] 21bc6c92f7
Bump @types/secp256k1 from 4.0.2 to 4.0.3
Bumps [@types/secp256k1](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/secp256k1) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/secp256k1)

---
updated-dependencies:
- dependency-name: "@types/secp256k1"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 15:25:17 +00:00
dependabot[bot] 5de498fe11
Bump libp2p-mplex from 0.10.5 to 0.10.7 (#614)
Bumps [libp2p-mplex](https://github.com/libp2p/js-libp2p-mplex) from 0.10.5 to 0.10.7.
- [Release notes](https://github.com/libp2p/js-libp2p-mplex/releases)
- [Changelog](https://github.com/libp2p/js-libp2p-mplex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/js-libp2p-mplex/compare/v0.10.5...v0.10.7)

---
updated-dependencies:
- dependency-name: libp2p-mplex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 08:41:12 +11:00
Franck R c806135810
Revert "Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. (#611)" (#613)
This reverts commit f4e81dd29c.
2022-03-13 20:33:47 +11:00
Franck R f4e81dd29c
Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. (#611) 2022-03-13 10:11:04 +11:00
Franck R ac337855aa
Release 0.19.1 (#610) 2022-03-10 16:25:51 +11:00
Franck R b904114d1f
Export protocols (#609) 2022-03-10 14:00:09 +11:00
Franck R ed23332965
Allow passing multiaddr to `bootstrap.peers` (#608) 2022-03-09 18:38:28 +11:00
Franck R e4024d5c72
Release 0.19.0 (#607) 2022-03-09 14:29:35 +11:00
Franck R e649f772a7
`WakuMessage.timestamp` field must use nanoseconds (#606) 2022-03-09 12:00:02 +11:00
Franck R 2798376776
Remove ecies-geth (#598)
* test: specify encryption method

Makes debugging easier.

* Fix log typo

* Remove ecies-geth

Start removal of elliptic dependency and move towards exclusive usage to
CryptoSubtle.
2022-03-06 23:20:59 +11:00
Franck R ad5b3ddc7f
New `pubsub_topic` field on the `cursor` of Waku Store queries (#596) 2022-03-04 16:47:23 +11:00
status-bors-ng[bot] 09c269da7f
Merge #590
590: Add exports field for node r=D4nte a=D4nte

While this library targets the browser, it is sometimes helpful to use
it in need for experiments.
For example: https://github.com/status-im/js-waku/pull/588

Co-authored-by: Franck Royer <franck@status.im>
2022-03-04 03:50:55 +00:00
Franck Royer fe30449861
Add exports field for node
While this library targets the browser, it is sometimes helpful to use
it in need for experiments.
For example: https://github.com/status-im/js-waku/pull/588
2022-03-04 14:49:33 +11:00
status-bors-ng[bot] acdd95b449
Merge #589
589: Handle errors thrown when converting to utf-8 r=D4nte a=D4nte

`bytesToUtf8` replaced a previously used library. The previous library did not throw when failing to decode whereas `bytesToUtf8` does. Need to handle those errors.

Co-authored-by: Franck Royer <franck@status.im>
2022-03-02 02:42:49 +00:00
status-bors-ng[bot] 6b0b71f08b
Merge #591
591: Get eslint to fix files in precommit git hook r=D4nte a=D4nte

We need the hook to fix things when possible.

Co-authored-by: Franck Royer <franck@status.im>
2022-03-02 02:35:57 +00:00
dependabot[bot] 58b85543f8
Bump secp256k1 from 4.0.2 to 4.0.3 (#592)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:34:50 +11:00
status-bors-ng[bot] f224c8320c
Merge #587
587: Update contributing r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2022-03-01 10:58:52 +00:00
Franck Royer 8029200984
Get eslint to fix files in precommit git hook
We need the hook to fix things when possible.
2022-03-01 17:04:03 +11:00
Franck Royer 067ebebdf0
Remove unnecessary log
As it is unlikely to decode as utf-8.
2022-03-01 16:58:15 +11:00
Franck Royer f73afc5244
Handle errors thrown when converting to utf-8 2022-03-01 16:58:15 +11:00
dependabot[bot] 35414eaffd
Bump ts-proto from 1.106.1 to 1.106.2 (#585)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 15:33:51 +11:00
Franck Royer 13fcba52af
Update contributing 2022-03-01 15:27:35 +11:00
status-bors-ng[bot] b97adcadcf
Merge #578
578: Add git hook to format and lint staged files r=D4nte a=D4nte

Make life easier by not having to think about running prettier.

Co-authored-by: Franck Royer <franck@status.im>
2022-02-28 09:55:08 +00:00