fryorcraken.eth
b47fe21e39
ci: only test on ubuntu
...
Browser is what actually matter.
2022-08-19 23:34:52 +10:00
fryorcraken.eth
e689b13106
ci: buildbuf is not used
2022-08-19 23:34:52 +10:00
status-bors-ng[bot]
63bfb9b2e2
Merge #896
...
896: Auto-release merged PRs r=fryorcraken a=fryorcraken
Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-19 13:21:11 +00:00
fryorcraken.eth
d120b0f3e3
Merge pull request #897 from status-im/export-predefined-nodes
2022-08-19 23:12:08 +10:00
fryorcraken.eth
db6e7921d5
ci: test name has changed
2022-08-19 23:10:35 +10:00
fryorcraken.eth
b0b2880746
fix: export predefined bootstrap nodes
2022-08-19 23:05:03 +10:00
fryorcraken.eth
215aa59b77
feat(ci): published merged PRs
2022-08-19 21:17:17 +10:00
fryorcraken.eth
fd54d21e1a
refactor(ci): move node to env var, move env var up
...
So it can be used by all jobs.
2022-08-19 18:28:57 +10:00
fryorcraken.eth
8d1b461d61
chore(ci): upgrade setup-node action to v3
2022-08-19 18:26:46 +10:00
fryorcraken.eth
dd30a56f15
fix(ci): caching is already handled by npm-install action
2022-08-19 18:26:08 +10:00
status-bors-ng[bot]
d7181da98b
Merge #892
...
892: fix: type export via `typesVersions` r=fryorcraken a=filoozom
## Problem
Importing anything from TypeScript in `js-waku/lib/` (`v0.25.0-rc.0`) does not work. It can't find the types despite the `exports.*.types` in `package.json`.
## Solution
This solution was inspired by `libp2p` ([example in ``@libp2p/interfaces`](https://github.com/libp2p/js-libp2p-interfaces/blob/master/packages/interfaces/package.json#L24-L39 )),` and just adds `typesVersions` to `package.json`.
Documentation: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#folder-redirects-using-
## Notes
- See https://github.com/status-im/js-waku/issues/891#issuecomment-1217388556
Co-authored-by: Philippe Schommers <philippe@schommers.be>
2022-08-19 04:52:27 +00:00
Philippe Schommers
5137f28cbf
fix: type export via `typesVersions`
2022-08-19 12:41:49 +10:00
status-bors-ng[bot]
25869b82c4
Merge #894
...
894: fix: add peer_discovery_static_list to exports map r=fryorcraken a=fryorcraken
Needed to access `PeerDiscoveryStaticPeers`.
Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-19 02:18:55 +00:00
status-bors-ng[bot]
67811662d9
Merge #893
...
893: fix: do not throw on lack of response r=fryorcraken a=fryorcraken
Expected proto3 behaviour, just no message returned.
Co-authored-by: fryorcraken.eth <git@fryorcraken.xyz>
2022-08-17 16:19:20 +00:00
fryorcraken.eth
9cad6d5d72
fix: add peer_discovery_static_list to exports map
...
Needed to access `PeerDiscoveryStaticPeers`.
2022-08-17 23:29:23 +10:00
fryorcraken.eth
28f77ec083
fix: use debug instead of console.log
2022-08-17 22:39:42 +10:00
fryorcraken.eth
ecb5b490e3
fix: do not throw on lack of response
...
Expected proto3 behaviour, just no message returned.
2022-08-17 22:39:19 +10:00
fryorcraken.eth
28cb144b23
Merge pull request #888 from status-im/chore/libp2p
2022-08-17 12:00:16 +10:00
fryorcraken.eth
1c2df434e0
fix(deps): freeze @libp2p/interface-connection
2022-08-16 15:24:11 +10:00
fryorcraken.eth
e488f120e0
fix(deps): free uint8arraylist
...
Some issue with transient dependencies.
2022-08-16 15:07:30 +10:00
fryorcraken.eth
38e39e71be
fix(deps): free uint8arraylist
...
Some issue with transient dependencies.
2022-08-16 15:06:11 +10:00
fryorcraken.eth
574e99c768
chore(deps): upgrade it-pipe
2022-08-16 14:48:31 +10:00
fryorcraken.eth
b866c650bb
chore(deps): install used transient dep
2022-08-16 14:47:16 +10:00
fryorcraken.eth
d9d8c4c23c
chore(deps): upgrade libp2p
...
To bring in @libp2p/multistream-select@3.0.0 and fix #886 .
2022-08-16 14:43:29 +10:00
fryorcraken.eth
d66dfad37e
Merge pull request #883 from status-im/dependabot/npm_and_yarn/libp2p/interface-peer-store-1.2.1
2022-08-15 13:27:48 +10:00
dependabot[bot]
cf675c4224
chore(deps): bump @libp2p/interface-peer-store from 1.2.0 to 1.2.1
...
Bumps [@libp2p/interface-peer-store](https://github.com/libp2p/js-libp2p-interfaces ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-store-v1.2.0...@libp2p/interface-peer-store-v1.2.1 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-peer-store"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 15:25:05 +00:00
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