fryorcraken.eth
7d29ed1d99
chore: move error throwing within `selectPeerForProtocol`
...
As all callers throw upon undefined result.
2023-02-27 09:48:30 +11:00
fryorcraken.eth
c85b113df7
chore: use `this.multicodec` over constant
...
To enable extraction of common functions.
2023-02-27 09:48:10 +11:00
Danish Arora
6b87ca1c4d
chore: move `random_subset.ts` to `@waku/utils` ( #1191 )
2023-02-26 12:31:55 -07:00
fryorcraken.eth
604ba1a889
Merge pull request #1195 from waku-org/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.53.0
2023-02-24 14:20:00 +11:00
dependabot[bot]
d3156cdefb
chore(deps)(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.52.0 to 5.53.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.53.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 16:11:17 +00:00
fryorcraken.eth
c008341dfa
Merge pull request #1194 from waku-org/test/go-waku-0.5.1
2023-02-23 14:18:01 +11:00
fryorcraken.eth
f7cdfca677
test: bump go-waku to 0.5.1
2023-02-23 10:57:24 +11:00
fryorcraken.eth
a949b6ba61
Merge pull request #1188 from waku-org/chore/update-go-waku
...
test: bump go-waku to 0.5.0 and re-enable a CI run against it
2023-02-21 20:15:55 +11:00
fryorcraken.eth
8748484048
test: bump go-waku to 0.5.0 and re-enable a CI run against it
2023-02-20 21:32:42 +11:00
Danish Arora
24c24cc27d
feat!: ConnectionManager and KeepAliveManager ( #1135 )
...
* initialises ConnectionManager and KeepAliveManager
ports from previous PR and makes necessary improvements and reductions
* address: comments
* map a ConnectionManager instance with a WakuNode
* abstract event listeners logic
* minor fix
* minor cleaning
* instantiate KeepAliveManager instead of extending
* fix build and enable all tests
* fix CI
* address review
* refine event handlers
- only removes the previously attached callback from
the event handlers while shutting down service
- removes the requirement of passing around
`keepAliveOptions` and `relay` inside of
`ConnectionManager`
* add verbosity to interface
* make `dialPeer()` more readable
* use set to push tags to avoid duplicates
* fix: merge build
* remove: logging function
* rename startService and stopService
* remove: future TODO
added that as part of future refactor
* use the new libp2p api
* initialise options in constructor//fix TS error
* remove stale export
* address principal review
* reset test timeout to master
2023-02-20 15:30:59 +05:30
fryorcraken.eth
35b276804c
Merge pull request #1187 from waku-org/dependabot/npm_and_yarn/eslint-8.34.0
2023-02-20 15:10:38 +11:00
dependabot[bot]
6328ce0c39
chore(deps)(deps-dev): bump eslint from 8.33.0 to 8.34.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.33.0 to 8.34.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.33.0...v8.34.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 16:09:45 +00:00
Danish Arora
8d8874d2bb
fix: enable all tests ( #1184 )
2023-02-17 13:59:21 +05:30
Danish Arora
1b41569023
fix: remove initialising peer-exchange while creating a node ( #1158 )
...
* remove peer-exchange from @waku/core
- also removes the manual test for peer-exchange (assumption is that the
only way to initialise peer-exchange is through libp2p's peerDiscovery and
not manually) (ref:
https://github.com/waku-org/js-waku/pull/1158#discussion_r1108055234 )
# Please enter the commit message for your changes. Lines
starting
* fix: build
* update interop test
* decrease test duration for px auto discovery
* rm: only for tests
* address comment
2023-02-17 13:27:37 +05:30
fryorcraken.eth
fa6ecd6e93
Merge pull request #1183 from waku-org/dependabot/npm_and_yarn/cspell-6.26.3
2023-02-17 13:14:38 +11:00
dependabot[bot]
431815cf32
chore(deps)(deps-dev): bump cspell from 6.22.0 to 6.26.3
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 6.22.0 to 6.26.3.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v6.22.0...v6.26.3 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 01:57:03 +00:00
Danish Arora
d8419d9e5c
feat: nwaku interop test for peer-exchange ( #1129 )
...
* handle a breaking edge case
- changes interval from static to increasing
- handles an edge case which resulted in unwanted return
from a function
* modularise code & make defaults configurable
- breaks the backoff code into a separate function
- makes default values configurable
- improve interval handling
* clean code for checking peer in peerStore
* address comments
* rename `backoff` to `abort`
* add locally run nwaku interop test for peer-exchange
* replace `--listen-address` with `--nat:extip`
* address improvements
2023-02-17 01:07:44 +05:30
fryorcraken.eth
d8d7b8389b
Merge pull request #1182 from waku-org/chore/nwaku-0.15.0
2023-02-16 18:47:09 +11:00
fryorcraken.eth
f66e9835f1
test: nwaku JSON RPC API now uses base64 encoding
2023-02-16 13:45:25 +11:00
fryorcraken.eth
5a92d74c62
test: bump nwaku from v0.13.0 to v0.15.0
...
Used by the test suite.
2023-02-16 13:45:25 +11:00
fryorcraken.eth
c6bd894b94
Merge pull request #1180 from waku-org/dependabot/npm_and_yarn/rollup-3.15.0
2023-02-16 13:39:56 +11:00
dependabot[bot]
5ea04579a2
chore(deps)(deps-dev): bump rollup from 3.14.0 to 3.15.0
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v3.14.0...v3.15.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 16:25:26 +00:00
Sasha
dcb5908d5b
chore: update note in CHANGELOG and add missing ( #1178 )
2023-02-14 01:11:40 +01:00
fryorcraken.eth
ed85bd125f
Merge pull request #1177 from waku-org/dependabot/npm_and_yarn/size-limit/preset-big-lib-8.2.4
2023-02-14 10:25:29 +11:00
dependabot[bot]
02f3d87861
chore(deps)(deps-dev): bump @size-limit/preset-big-lib
...
Bumps [@size-limit/preset-big-lib](https://github.com/ai/size-limit ) from 8.1.2 to 8.2.4.
- [Release notes](https://github.com/ai/size-limit/releases )
- [Changelog](https://github.com/ai/size-limit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/size-limit/commits )
---
updated-dependencies:
- dependency-name: "@size-limit/preset-big-lib"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 16:22:57 +00:00
fryorcraken.eth
87ad83b252
Merge pull request #1170 from waku-org/chore/bump-ts-loader
2023-02-13 13:23:15 +11:00
fryorcraken.eth
0fde93c34a
chore: bump ts-loader and install where needed
2023-02-13 10:12:21 +11:00
Sasha
f945eb90c4
feat: add mocha to dns-discovery ( #1154 )
2023-02-11 22:25:11 +01:00
Sasha
596c71a962
chore: release bump patch only ( #1173 )
2023-02-11 20:23:52 +01:00
fryorcraken.eth
3ae2181f30
Merge pull request #1168 from waku-org/chore/bump-gh-pages
2023-02-11 15:35:05 +11:00
fryorcraken.eth
97c3e8cfe5
chore: bump gh-pages and move it to root package (used by Jenkins)
2023-02-11 15:26:24 +11:00
fryorcraken.eth
9142a954b7
Merge pull request #1169 from waku-org/chore/bump-protons
2023-02-11 15:11:31 +11:00
fryorcraken.eth
2f2d266e81
chore!: bump protons from 5.1.0 to 7.0.2
...
Notable change: optionality of singular fields and optional values.
See https://github.com/ipfs/protons/releases
2023-02-10 22:26:46 +11:00
fryorcraken.eth
e8a66d2f82
Merge pull request #1171 from waku-org/chore/fix-dependabot
2023-02-10 22:26:22 +11:00
fryorcraken.eth
0f324d80fe
chore: move dependabot config file to the right place
2023-02-10 22:18:30 +11:00
fryorcraken.eth
5a2a100183
Merge pull request #1166 from waku-org/chore/remove-jsdom
...
chore: remove usage of jsdom
2023-02-10 19:56:21 +11:00
fryorcraken.eth
d73f2a84db
chore: remove usage of jsdom
2023-02-10 19:44:59 +11:00
fryorcraken.eth
c36c56eeaa
Merge pull request #1167 from waku-org/chore/bump-deps
...
chore: bump dependencies
2023-02-10 18:35:53 +11:00
fryorcraken.eth
f2706c21b6
chore: remove unused test configs
2023-02-10 16:34:52 +11:00
fryorcraken.eth
985dcb6414
chore: bump karma, puppeteer and plugins and install where used
2023-02-10 16:30:18 +11:00
fryorcraken.eth
f473e751f7
chore: remove p-timeout from core, bump it in tests
2023-02-10 16:09:06 +11:00
fryorcraken.eth
cb6d464021
chore: bump cspell
2023-02-10 16:09:05 +11:00
fryorcraken.eth
5953abee17
Merge pull request #1165 from waku-org/chore/bump-deps
2023-02-10 16:03:03 +11:00
fryorcraken.eth
1bf740b7b4
chore: bump fast-check
2023-02-10 15:45:41 +11:00
fryorcraken.eth
0eb7ae5781
chore: bump and install @types/chai
2023-02-10 15:37:36 +11:00
fryorcraken.eth
c0bbfd32c3
chore: bump and install @types/mocha
2023-02-10 15:32:38 +11:00
fryorcraken.eth
6b4dc1acf2
chore: bump eslint, prettier and related plugins
2023-02-10 15:18:29 +11:00
fryorcraken.eth
a8be044d32
Merge pull request #1164 from waku-org/chore/bump-deps
2023-02-10 15:08:39 +11:00
fryorcraken.eth
938157560f
chore: bump chai
...
Also install mocha in packages that uses it.
2023-02-10 14:02:02 +11:00
fryorcraken.eth
eb3443c4b6
chore: bump mocha
...
Also install mocha in packages that uses it.
2023-02-10 13:59:44 +11:00