Sasha
0d9265aaf1
feat: export interfaces and relay from sdk ( #1409 )
2023-06-28 18:12:44 +02:00
fryorcraken.eth
614893ca98
chore: release master ( #1393 )
2023-06-17 01:26:12 +02:00
jacques metevier
0d0b25ae75
chore(deps): revert temp
2023-06-08 12:05:22 -07:00
jacques metevier
5f927a7243
chore: rm extra packages
2023-06-08 11:52:27 -07:00
Danish Arora
f32d7d9fe0
feat: allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel ( #1379 )
...
* allow passing of multiple ENRs to DNS Discovery
* add test for >1 ENR to DNS Disc
* address comments
* feat: dial multiple peers in parallel (#1380 )
* ensure discovered peers are dialed in parallel
* cap parallel dials
* drop connection to bootstrap peer if >set connected
* switch to american english
* improve promises and error logging
2023-06-08 14:26:29 +02:00
fryorcraken.eth
44496f0158
chore: bump eslint to 8.41.0
...
Also ensures that eslint is present in packages that uses it and removed
from packages not using it.
2023-06-06 16:07:49 +10:00
dependabot[bot]
d51030719c
chore(deps)(deps): bump it-all from 3.0.1 to 3.0.2
...
Bumps [it-all](https://github.com/achingbrain/it ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/achingbrain/it/releases )
- [Commits](https://github.com/achingbrain/it/compare/it-all-v3.0.1...it-all-v3.0.2 )
---
updated-dependencies:
- dependency-name: it-all
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 16:07:51 +00:00
Danish Arora
951ebdac9d
feat!: rename package from @waku/create to @waku/sdk ( #1386 )
...
* feat!(@waku/sdk): rename package from @waku/create to @waku/sdk
* feat: proxy @waku/core and @waku/utils through @waku/sdk
* address comments
* update package-lock
* Update .size-limit.cjs
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* integrate to release please
---------
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
Co-authored-by: Sasha <oleksandr@status.im>
2023-06-05 13:40:13 +02:00
dependabot[bot]
5411a5e916
chore(deps)(deps): bump @libp2p/crypto from 1.0.15 to 1.0.17
...
Bumps [@libp2p/crypto](https://github.com/libp2p/js-libp2p-crypto ) from 1.0.15 to 1.0.17.
- [Release notes](https://github.com/libp2p/js-libp2p-crypto/releases )
- [Changelog](https://github.com/libp2p/js-libp2p-crypto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/js-libp2p-crypto/compare/v1.0.15...v1.0.17 )
---
updated-dependencies:
- dependency-name: "@libp2p/crypto"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 04:41:42 +00:00
dependabot[bot]
9e9fbc9b0a
chore(deps)(deps): bump it-pipe from 2.0.5 to 3.0.1
...
Bumps [it-pipe](https://github.com/alanshaw/it-pipe ) from 2.0.5 to 3.0.1.
- [Release notes](https://github.com/alanshaw/it-pipe/releases )
- [Changelog](https://github.com/alanshaw/it-pipe/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alanshaw/it-pipe/compare/v2.0.5...v3.0.1 )
---
updated-dependencies:
- dependency-name: it-pipe
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 16:05:51 +00:00
dependabot[bot]
81c34eb3ba
chore(deps)(deps-dev): bump @typescript-eslint/parser ( #1387 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.54.1 to 5.59.8.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.8/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 01:41:19 +05:30
fryorcraken.eth
24811e4ffc
chore: release master ( #1376 )
2023-06-01 21:50:52 +02:00
dependabot[bot]
be5dde787b
chore(deps)(deps-dev): bump puppeteer from 19.8.2 to 20.4.0 ( #1383 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 19.8.2 to 20.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.8.2...puppeteer-v20.4.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 13:44:24 +05:30
Danish Arora
c9ce9ab3b7
move build-utils to devDep ( #1381 )
2023-05-25 21:28:19 +05:30
fryorcraken.eth
3b31004eb9
chore: removed unused pretest scripts
2023-05-24 10:44:08 +10:00
dependabot[bot]
ca3e70aa0f
chore(deps)(deps-dev): bump @libp2p/interface-peer-discovery-compliance-tests
...
Bumps [@libp2p/interface-peer-discovery-compliance-tests](https://github.com/libp2p/js-libp2p-interfaces ) from 2.0.5 to 2.0.8.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-discovery-compliance-tests-v2.0.5...@libp2p/interface-peer-discovery-compliance-tests-v2.0.8 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-peer-discovery-compliance-tests"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 23:53:32 +00:00
Danish Arora
b2caf10d03
fix: go-waku interop tests ( #1378 )
...
* fix interop for filter v1
* change to better desc
2023-05-23 23:45:08 +05:30
Danish Arora
6e2d1d674a
update nwaku image in run-tests script ( #1375 )
2023-05-23 16:53:30 +05:30
Danish Arora
8d0e647966
feat!: filter v2 ( #1332 )
...
* implement proto
* implement filter v2
* add tests
* minor improvements
- make unsubscribe functions private in
filter
- enable all tests
* enable all tests
* readd multiaddrinput
* address comment removals
* unsubscribe based on contentFilters passed
* update unsubscribe function parameters in test
* reset interfaces & filter v1
* refactor filterv2 into 2 classes
- removes generics from types on filter which means
manual typecasting to filter version is required on
consumer side
- defaults to filterv2
- splits filterv2 into 2 classes:
- one to create the subscription object with a
peer which returns the second class
- the other to manage all subscription functions
* updates filter tests for the new API
- also fixes an interface import
* update `toAsyncIterator` test for Filter V1
* implement IReceiver on FilterV2
* remove return values from subscription functions
* update `to_async_iterator`
* address variable naming
* add tsdoc comments for hidden function
* address minor comments
* update docs to default to filter v2
* address comments
* rename `wakuFilter` to `wakuFilterV1`
* chore: Remove static variables (#1371 )
* chore: Remove static variables
- Remove internal types from `@core/interfaces`
- Remove data being redundantly stored (pubsub topic)
- Remove usage of static variables
- Clean up callbacks and decoders when using `unsubscribe`
- Clean up callbacks and decoders when using `unsubscribeAll`
* fix setting activeSubscription
---------
Co-authored-by: danisharora099 <danisharora099@gmail.com>
* make activeSub getter and setter private
* update size-limit
---------
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2023-05-23 16:06:46 +05:30
fryorcraken.eth
b25f7e0acf
chore: release master ( #1343 )
2023-05-19 13:38:52 +02:00
Sasha
0ad19540d5
fix: remove typesVersions ( #1359 )
...
* export types properly
* remove typesVersion
* remove typesVersions for @waku/relay
2023-05-19 00:51:28 +02:00
Danish Arora
94e1abdd65
chore: upgrade nwaku to v0.17.0 ( #1364 )
2023-05-19 01:52:06 +05:30
Danish Arora
60304bc908
chore: rename file to node.ts ( #1363 )
...
* rename file to node.ts
* update imports
2023-05-19 01:38:43 +05:30
Danish Arora
d80042fc47
fix: failing px tests for nwaku master ( #1355 )
...
* move dockerode into a separate class
* rename `nwaku` to `WakuNode` to generalise
- nwaku and go-waku were running through
`nwaku.ts`
* move wakunode and docker into one subdir
* rename node to `NimGoNode` and update imports in tests
* update docker to host all containers in a specific network
* update the peer exchange test
* assign static IPs to containers
* enable relay on px interop
* fix px compliance tests
* fix import
2023-05-19 01:28:49 +05:30
Sasha
72f97d4545
feat: add 1MB restriction to LightPush and Relay ( #1351 )
...
* add 1MB restriction to LightPush and Relay
* fix condition
* improve lightPush test
* update test
* add isomorphic-webcrypto
* import module
* add errors to SendResult and tests
* fix lint
2023-05-17 23:40:52 +02:00
Sasha
ef87af6e7a
chore: add iterator timeout and unblock main thread ( #1357 )
...
* add iterator timeout
* add idle state to generator
* add js-doc and iterator option
2023-05-17 10:38:20 +02:00
dependabot[bot]
27657e45a1
chore(deps)(deps-dev): bump typescript from 4.9.5 to 5.0.4
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.9.5 to 5.0.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.9.5...v5.0.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 05:58:36 +00:00
Stuart
97d5659c47
chore: update ecmascript version ( #1352 )
...
* updates to ES2022
* 🚿 cleanup
2023-05-16 14:19:44 +05:30
dependabot[bot]
a543d4ba71
chore(deps)(deps-dev): bump @types/dockerode from 3.3.15 to 3.3.17 ( #1350 )
...
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode ) from 3.3.15 to 3.3.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode )
---
updated-dependencies:
- dependency-name: "@types/dockerode"
dependency-type: direct:development
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>
2023-05-15 15:09:14 +05:30
Sasha
014c52a4ac
fix: add timeout to utils test ( #1348 )
2023-05-12 15:28:01 +02:00
Danish Arora
50c2c2540f
feat!: @waku/relay ( #1316 )
...
* move constants & core's func to @waku/utils
* setup @waku/relay
* use @waku/relay for create
* address: principal review
* fix: size-limit
* move all constants to @waku/core
* move TopicOnlyDecoder to relay
* merge: master
* fix: tests
* Move constants out of core (#1340 )
* update package.lock
* change constants folder into a ts file
* use dependency version as * instead of version number
* add constants import from @waku/core
* add empty changelog file for relay
---------
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
2023-05-11 14:08:00 +05:30
Danish Arora
f4e31019e1
fix: improve logging for connection manager ( #1303 )
...
* merge: master
* fix: CI
* use: js script instead of shell script to run precheck and mocha
* improve logging when dial fails
* use hashmap for errors instead of redeclaring variable
2023-05-11 13:35:58 +05:30
fryorcraken.eth
55ed6e3765
chore: fix import
2023-05-11 15:04:23 +10:00
fryorcraken.eth
5724bb2b21
feat: expose `meta` on `IDecodedMessage`
...
Decoders are expected to expose this field in their return type.
Somehow missed in previous PRs.
2023-05-10 14:41:07 +10:00
fryorcraken.eth
af927933a9
chore: release master ( #1296 )
2023-05-09 20:54:20 +02:00
Sasha
7daa9d05bf
feat: toSubscriptionIterator impl for IReceiver ( #1307 )
2023-05-09 20:15:37 +02:00
dependabot[bot]
1386ff31f8
chore(deps)(deps-dev): bump @libp2p/interface-content-routing
...
Bumps [@libp2p/interface-content-routing](https://github.com/libp2p/js-libp2p-interfaces ) from 2.0.2 to 2.1.1.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-content-routing-v2.0.2...@libp2p/interface-content-routing-v2.1.1 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-content-routing"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 15:16:28 +00:00
dependabot[bot]
df8e68ff36
chore(deps)(deps): bump it-length-prefixed from 8.0.4 to 9.0.1
...
Bumps [it-length-prefixed](https://github.com/alanshaw/it-length-prefixed ) from 8.0.4 to 9.0.1.
- [Release notes](https://github.com/alanshaw/it-length-prefixed/releases )
- [Changelog](https://github.com/alanshaw/it-length-prefixed/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alanshaw/it-length-prefixed/compare/v8.0.4...v9.0.1 )
---
updated-dependencies:
- dependency-name: it-length-prefixed
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 14:07:05 +10:00
fryorcraken.eth
c8c2cbfbb1
chore: ignore changelog file as it's handled by release please
2023-05-06 13:50:20 +10:00
fryorcraken.eth
c781e49e1e
chore: improve var name
2023-05-06 13:50:20 +10:00
fryorcraken.eth
71985038a2
test: fix karma config
2023-05-06 13:50:20 +10:00
fryorcraken.eth
fe57461329
feat: implement deterministic message hash logic
2023-05-06 13:50:20 +10:00
fryorcraken.eth
76d1d4faf5
chore: new empty message-hash package
2023-05-06 13:32:30 +10:00
fryorcraken.eth
c9e7af470d
fix: enum used from this dependency
2023-05-06 13:25:34 +10:00
dependabot[bot]
26c0500d79
chore(deps)(deps-dev): bump fast-check from 3.7.1 to 3.8.1
...
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ) from 3.7.1 to 3.8.1.
- [Release notes](https://github.com/dubzzz/fast-check/releases )
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md )
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.8.1/packages/fast-check )
---
updated-dependencies:
- dependency-name: fast-check
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 03:19:13 +00:00
Sasha
4615b51568
feath: use sha256 for Relay msgIdFn ( #1322 )
2023-05-05 18:26:54 +02:00
dependabot[bot]
f1c63ee069
chore(deps)(deps-dev): bump prettier from 2.8.7 to 2.8.8
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 16:24:58 +00:00
dependabot[bot]
e4e719e29b
chore(deps)(deps-dev): bump rollup from 3.19.1 to 3.21.3 ( #1324 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 3.19.1 to 3.21.3.
- [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.19.1...v3.21.3 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 11:29:08 +05:30
dependabot[bot]
1156be6090
chore(deps)(deps-dev): bump @libp2p/peer-id-factory from 2.0.2 to 2.0.3 ( #1321 )
...
Bumps [@libp2p/peer-id-factory](https://github.com/libp2p/js-libp2p-peer-id ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/libp2p/js-libp2p-peer-id/releases )
- [Commits](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-factory-v2.0.2...@libp2p/peer-id-factory-v2.0.3 )
---
updated-dependencies:
- dependency-name: "@libp2p/peer-id-factory"
dependency-type: direct:development
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>
2023-05-03 15:01:55 +05:30
dependabot[bot]
52eb7bbe74
chore(deps)(deps-dev): bump @rollup/plugin-node-resolve
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.0.2/packages/node-resolve )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 16:04:28 +00:00
dependabot[bot]
8e7e5dfbb2
chore(deps)(deps): bump it-all from 2.0.1 to 3.0.1
...
Bumps [it-all](https://github.com/achingbrain/it ) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/achingbrain/it/releases )
- [Commits](https://github.com/achingbrain/it/compare/it-all-v2.0.1...it-all-v3.0.1 )
---
updated-dependencies:
- dependency-name: it-all
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 16:04:20 +00:00
dependabot[bot]
afe8442776
chore(deps)(deps-dev): bump @libp2p/interface-metrics ( #1311 )
...
Bumps [@libp2p/interface-metrics](https://github.com/libp2p/js-libp2p-interfaces ) from 4.0.5 to 4.0.7.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-metrics-v4.0.5...@libp2p/interface-metrics-v4.0.7 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-metrics"
dependency-type: direct:development
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>
2023-04-25 22:15:17 +05:30
dependabot[bot]
6ab8cfe605
chore(deps)(deps): bump @libp2p/crypto from 1.0.14 to 1.0.15
...
Bumps [@libp2p/crypto](https://github.com/libp2p/js-libp2p-crypto ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/libp2p/js-libp2p-crypto/releases )
- [Changelog](https://github.com/libp2p/js-libp2p-crypto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/js-libp2p-crypto/compare/v1.0.14...v1.0.15 )
---
updated-dependencies:
- dependency-name: "@libp2p/crypto"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 04:05:47 +00:00
Sasha
763dc0125d
feat: add mapping function to multiaddr of peerid ( #1306 )
...
* feat: add mapping function to multiaddr of peerid
* remove unused
2023-04-19 20:03:27 +02:00
Danish Arora
b7d4b675bd
fix: peer-exchange go-waku interop ( #1300 )
...
* merge: master
* fix: CI
* use: js script instead of shell script to run precheck and mocha
* check for peer id instead of ws multiaddr in response
2023-04-19 13:07:29 +05:30
dependabot[bot]
3df5f8b376
chore(deps)(deps): bump @libp2p/peer-id from 2.0.2 to 2.0.3
...
Bumps [@libp2p/peer-id](https://github.com/libp2p/js-libp2p-peer-id ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/libp2p/js-libp2p-peer-id/releases )
- [Commits](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v2.0.2...@libp2p/peer-id-v2.0.3 )
---
updated-dependencies:
- dependency-name: "@libp2p/peer-id"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 05:11:12 +00:00
Danish Arora
dc3774c0ed
feat: use nwaku/go-waku docker images instead of building binaries ( #1259 )
...
* merge: master
* fix: CI
* use: js script instead of shell script to run precheck and mocha
* use `console.log` instead of `debug.log` for `run-tests.js`
2023-04-17 10:29:36 +05:30
dependabot[bot]
49dedfbd5b
chore(deps)(deps-dev): bump prettier from 2.8.4 to 2.8.7
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.4 to 2.8.7.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.7 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 05:01:50 +00:00
fryorcraken.eth
bd9d07394f
feat: ensure content topic is defined
...
Waku Messages are considered invalid if the content topic is undefined
or an empty string.
Avoid user error by throwing.
2023-04-04 14:56:59 +10:00
Sasha
6abee4880f
chore: use root .prettierignore ( #1285 )
...
* use root .prettierignore for fix and check
2023-04-03 23:39:59 +02:00
fryorcraken.eth
17ae7e5312
chore: release master
2023-04-03 16:15:39 +10:00
fryorcraken.eth
1dd32101ba
fix(dns-discovery): Use DOH list from dns-query
...
To make the library more robust as not all DOH allow CORS. Previous
default DOH got CORS disabled.
2023-04-03 16:05:21 +10:00
fryorcraken.eth
03c9cac3d0
fix(utils): typescript to able to find types
2023-04-03 14:57:43 +10:00
Sasha
e11e5b4870
feat!: add and implement IReceiver ( #1219 )
...
- remove extend Relay by GossipSub and use it as public property;
- detach GossipSub initialisation;
2023-03-31 03:17:41 +02:00
fryorcraken.eth
e8f750fa2b
chore: release master ( #1286 )
2023-03-31 03:09:02 +02:00
Sasha
5def8ddb4d
fix: update @waku/core changelog ( #1287 )
2023-03-31 02:44:51 +02:00
dependabot[bot]
6f12c15bda
chore(deps)(deps-dev): bump puppeteer from 19.7.4 to 19.8.2 ( #1283 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 19.7.4 to 19.8.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.7.4...puppeteer-v19.8.2 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-03-31 02:13:06 +02:00
Sasha
45f84ed67f
chore: bump core version ( #1284 )
2023-03-31 02:04:39 +02:00
dependabot[bot]
c19212ebd1
chore(deps)(deps-dev): bump cspell from 6.29.0 to 6.31.1
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 6.29.0 to 6.31.1.
- [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.29.0...v6.31.1 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 04:06:00 +00:00
dependabot[bot]
9fbb989dc2
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.55.0 to 5.57.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.57.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-03-29 03:22:08 +00:00
fryorcraken.eth
aead369227
chore: release master
2023-03-29 04:19:45 +11:00
fryorcraken.eth
94940411b0
fix: ensure that websocket multiaddrs are returned from ENR ( #1275 )
...
Closes : #1271
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-03-28 22:44:03 +05:30
dependabot[bot]
5549ac2be5
chore(deps)(deps-dev): bump @libp2p/interface-libp2p from 1.1.1 to 1.1.2
...
Bumps [@libp2p/interface-libp2p](https://github.com/libp2p/js-libp2p-interfaces ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-libp2p-v1.1.1...@libp2p/interface-libp2p-v1.1.2 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-libp2p"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 16:10:31 +00:00
fryorcraken.eth
08d0786bd4
chore: release master ( #1269 )
2023-03-25 00:22:44 +01:00
fryorcraken.eth
c284159ac8
fix(utils): include all ts files ( #1267 )
...
Also remove superfluous GLOB in other packages.
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-03-24 23:43:40 +01:00
dependabot[bot]
600309425d
chore(deps)(deps-dev): bump @libp2p/bootstrap from 6.0.0 to 6.0.3 ( #1256 )
...
Bumps [@libp2p/bootstrap](https://github.com/libp2p/js-libp2p-bootstrap ) from 6.0.0 to 6.0.3.
- [Release notes](https://github.com/libp2p/js-libp2p-bootstrap/releases )
- [Changelog](https://github.com/libp2p/js-libp2p-bootstrap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/js-libp2p-bootstrap/compare/v6.0.0...v6.0.3 )
---
updated-dependencies:
- dependency-name: "@libp2p/bootstrap"
dependency-type: direct:development
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>
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-03-24 16:39:49 +05:30
fryorcraken.eth
9b6448bf63
chore: release master ( #1253 )
2023-03-24 00:10:41 +01:00
fryorcraken.eth
e922ed49ec
fix: @waku/peer-exchange uses @waku/core and should depend on it
2023-03-24 09:54:08 +11:00
fryorcraken.eth
f0ac886593
fix: @waku/create should not depend on @waku/peer-exchange
2023-03-24 09:54:08 +11:00
Danish Arora
5b0c3c3cac
feat: compliance test for peer-exchange discovery ( #1186 )
...
* skip fleet test for CI
* add: compliance test
* fix: check CI
* fix: nwaku node name
* remove: setTimeout
* force typecasting instead of ts-ignore
* rm: only for the test
* increase readability
2023-03-23 16:06:51 +05:30
fryorcraken.eth
de0a2e595c
test: bump nwaku to v0.16.0
2023-03-23 14:51:10 +11:00
dependabot[bot]
3de7d466d0
chore(deps)(deps-dev): bump fast-check from 3.7.0 to 3.7.1
...
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/dubzzz/fast-check/releases )
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md )
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.7.1/packages/fast-check )
---
updated-dependencies:
- dependency-name: fast-check
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 16:09:17 +00:00
Sasha
45284db963
feat: add getActiveSubscriptions method ( #1249 )
2023-03-21 02:44:35 +01:00
Sasha
0f6a594644
feat!: use ISender and deprecate Light Push .push ( #1217 )
2023-03-21 02:07:59 +01:00
fryorcraken.eth
3a92355543
chore: code improvement
...
- Replace exception pattern with a result pattern as it better fits the
usage.
- merge few maps to prefer chaining to assign var after var.
- Make `isDefined` type helper a common util function
2023-03-21 08:59:25 +11:00
dependabot[bot]
cd38fe117d
chore(deps)(deps): bump @multiformats/multiaddr from 11.6.1 to 12.0.0
...
Bumps [@multiformats/multiaddr](https://github.com/multiformats/js-multiaddr ) from 11.6.1 to 12.0.0.
- [Release notes](https://github.com/multiformats/js-multiaddr/releases )
- [Changelog](https://github.com/multiformats/js-multiaddr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/multiformats/js-multiaddr/compare/v11.6.1...v12.0.0 )
---
updated-dependencies:
- dependency-name: "@multiformats/multiaddr"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 21:39:40 +00:00
dependabot[bot]
714ff61582
chore(deps)(deps): bump @noble/hashes from 1.2.0 to 1.3.0 ( #1251 )
...
Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases )
- [Commits](https://github.com/paulmillr/noble-hashes/compare/1.2.0...1.3.0 )
---
updated-dependencies:
- dependency-name: "@noble/hashes"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 22:36:46 +01:00
fryorcraken.eth
077f4a863f
chore: fix Discord invite link
2023-03-20 16:06:50 +11:00
dependabot[bot]
7ebd20bca4
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.54.1 to 5.55.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.55.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-03-16 20:31:48 +00:00
fryorcraken.eth
b3546ae692
chore: release master ( #1237 )
2023-03-16 20:29:40 +01:00
dependabot[bot]
24f4c5c389
chore(deps)(deps-dev): bump @libp2p/interface-content-routing
...
Bumps [@libp2p/interface-content-routing](https://github.com/libp2p/js-libp2p-interfaces ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-content-routing-v2.0.1...@libp2p/interface-content-routing-v2.0.2 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-content-routing"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 01:01:16 +00:00
Sasha
275b16641e
feat!: add custom events to Relay and make observers private ( #1213 )
2023-03-15 21:47:56 +01:00
Danish Arora
a20b797c5b
chore: refactor peer-exchange according to nwaku 0.15.0 ( #1193 )
...
* merge with master: adhere acc to updated API
* bump go-waku to 0.5.2
2023-03-14 13:56:15 +05:30
Danish Arora
a30b2bd747
chore!: add exports map to @waku/utils ( #1201 )
...
* add exports map
* merge: master
* export subdir with default export path
* import according to the export path
2023-03-14 10:10:38 +05:30
dependabot[bot]
687f9bec5f
chore(deps)(deps): bump @libp2p/crypto from 1.0.12 to 1.0.14
...
Bumps [@libp2p/crypto](https://github.com/libp2p/js-libp2p-crypto ) from 1.0.12 to 1.0.14.
- [Release notes](https://github.com/libp2p/js-libp2p-crypto/releases )
- [Changelog](https://github.com/libp2p/js-libp2p-crypto/blob/master/CHANGELOG.md )
- [Commits](https://github.com/libp2p/js-libp2p-crypto/compare/v1.0.12...v1.0.14 )
---
updated-dependencies:
- dependency-name: "@libp2p/crypto"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 02:25:11 +00:00
dependabot[bot]
a159e3ca62
chore(deps)(deps-dev): bump @libp2p/interface-peer-routing
...
Bumps [@libp2p/interface-peer-routing](https://github.com/libp2p/js-libp2p-interfaces ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/libp2p/js-libp2p-interfaces/releases )
- [Commits](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-routing-v1.0.7...@libp2p/interface-peer-routing-v1.0.8 )
---
updated-dependencies:
- dependency-name: "@libp2p/interface-peer-routing"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 00:43:39 +00:00
fryorcraken.eth
bd983ea48e
feat!: enable encoding of `meta` field
2023-03-14 11:21:09 +11:00
fryorcraken.eth
497588bc36
chore: make topics arbitrary data
2023-03-14 11:21:08 +11:00
fryorcraken.eth
560c393662
fix: add payload to relay ping messages to avoid poor relay peer scoring
...
Note that this keep alive mechanism should probably be removed.
2023-03-14 11:14:52 +11:00
fryorcraken.eth
b3228a2dfe
chore: refactor delete undefined logic
2023-03-14 11:07:57 +11:00
fryorcraken.eth
5a8de54d50
chore: remove some code duplication
2023-03-14 11:07:57 +11:00
Sasha
4d7b3e39e6
fix: prettier and cspell ignore CHANGELOG ( #1235 )
2023-03-13 23:40:41 +01:00
fryorcraken.eth
628ac50d71
feat!: expose pubsub topic in `IDecodedMessage`
...
Needed for deterministic message hash.
Ref: #1208
2023-03-13 13:49:24 +11:00
fryorcraken.eth
96847374d6
feat(relay): validate waku message at gossip layer
2023-03-13 13:04:24 +11:00
dependabot[bot]
930e54c292
chore(deps)(deps-dev): bump @types/uuid from 9.0.0 to 9.0.1
...
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid ) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid )
---
updated-dependencies:
- dependency-name: "@types/uuid"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 16:08:28 +00:00
fryorcraken.eth
5a42efcd8d
chore: rename: peer exchange peers are not bootstrap peers
2023-03-10 10:23:40 +11:00
fryorcraken.eth
1181eadcf8
doc: fix references in comments
2023-03-10 10:23:39 +11:00
fryorcraken.eth
81ad14cad3
chore: segregate basic access to fields and more advanced logic
...
Move basic access to ENR fields (with conversion) to `RawEnr`
`ENR` inherits from `RawEnr` and add a layer of logic.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
6dbcde041a
chore!: directly convert from ENR to `PeerInfo`, remove unneeded utility
2023-03-10 10:23:39 +11:00
fryorcraken.eth
84f114bfa4
chore: extract and simplify `getLocationMultiaddr`
...
Using switch/case when appropriate.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
af5c5733a5
chore: split functions
2023-03-10 10:23:39 +11:00
fryorcraken.eth
22ffcf571a
chore!: extract encoder code
...
Separation of concerns by moving encoding logic in new class.
2023-03-10 10:23:39 +11:00
fryorcraken.eth
130c49b636
chore!: extract decoder code
...
Separation of concerns by moving decoding logic in new class.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
8fd1455122
chore: extract test code
...
createFrom* functions are only used in test.
By extracting them in different class it should help
bundlers.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
031f4c0c21
chore: improve function name
...
By describe why one would use it.
2023-03-10 10:23:38 +11:00
fryorcraken.eth
a513087637
chore: remove functions not used in prod
2023-03-10 10:23:38 +11:00
fryorcraken.eth
93ba160791
chore: remove unused keypair api
2023-03-10 10:23:38 +11:00
fryorcraken.eth
46a020c6b4
chore: split function as one part was only used in test
2023-03-10 10:23:38 +11:00
fryorcraken.eth
05b122e646
chore: remove unnecessary functions
2023-03-10 10:23:38 +11:00
dependabot[bot]
9e03644f48
chore(deps)(deps-dev): bump cspell from 6.26.3 to 6.28.0
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 6.26.3 to 6.28.0.
- [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.26.3...v6.28.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 23:18:07 +00:00
fryorcraken.eth
952aadd7bb
fix(dns-discovery/peer-exchange): check if peer is already tagged
...
If we `continue` when the peer is already known by the `peerStore` then
the next step of checking the tags is useless (no tags if peer is not
known).
There are two ways around it:
1. either do nothing if peer is already in peer store
2. OR, do nothing if peer is in peer store and is already tagged
I opted for the second approach to ensure all peers are tagged properly.
2023-03-10 10:09:10 +11:00
fryorcraken.eth
da1b18d995
feat: export `Decoder`, `Encoder` and `DecodedMessage` types from root
...
Fixes #1010
2023-03-08 09:52:27 +11:00
dependabot[bot]
b9a5032930
chore(deps)(deps-dev): bump fast-check from 3.6.3 to 3.7.0
...
Bumps [fast-check](https://github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check ) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/dubzzz/fast-check/releases )
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/CHANGELOG.md )
- [Commits](https://github.com/dubzzz/fast-check/commits/v3.7.0/packages/fast-check )
---
updated-dependencies:
- dependency-name: fast-check
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 16:10:09 +00:00
fryorcraken.eth
56814ba740
chore: rename build-utils to avoid potential conflict
2023-03-07 16:44:57 +11:00
dependabot[bot]
28ec631432
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.53.0 to 5.54.1.
- [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.54.1/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-03-06 23:23:40 +00:00
dependabot[bot]
6e3953e210
chore(deps)(deps): bump @libp2p/peer-id from 2.0.1 to 2.0.2
...
Bumps [@libp2p/peer-id](https://github.com/libp2p/js-libp2p-peer-id ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/libp2p/js-libp2p-peer-id/releases )
- [Commits](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v2.0.1...@libp2p/peer-id-v2.0.2 )
---
updated-dependencies:
- dependency-name: "@libp2p/peer-id"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 16:14:08 +00:00
fryorcraken.eth
0b93fdd76d
chore: extract exports path from package.json for rollup
...
Also sort eslint to lint JavaScript ESM files successfully.
Fixes #933
2023-03-01 15:46:21 +11:00
fryorcraken.eth
1a9b13f902
chore: use `BaseProtocol` on `WakuPeerExchange`
...
Ref: https://github.com/waku-org/js-waku/pull/1137
2023-02-28 13:49:36 +11:00
fryorcraken.eth
60e866f00d
chore: remove usage of `any`
2023-02-28 12:00:53 +11:00
fryorcraken.eth
6c37ee5f19
chore: make variable used as boolean, a boolean
2023-02-28 12:00:53 +11:00
dependabot[bot]
35dab5392d
chore(deps)(deps-dev): bump eslint from 8.34.0 to 8.35.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.34.0 to 8.35.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.34.0...v8.35.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-27 16:25:16 +00:00
fryorcraken.eth
81d6638067
chore: use pascal case for class name
2023-02-27 14:00:49 +11:00
fryorcraken.eth
967e6ffc7e
chore!: update store.proto
...
Ref: https://github.com/vacp2p/waku
2023-02-27 14:00:33 +11:00
fryorcraken.eth
5cf8ed2030
chore!: update message.proto: payload and content topic are always defined
...
Ref: https://github.com/vacp2p/waku
2023-02-27 14:00:33 +11:00
fryorcraken.eth
18d31381d2
chore: use pascal case for class name
2023-02-27 14:00:32 +11:00
fryorcraken.eth
3e93e8f49e
chore: update light_push.proto
...
Ref: https://github.com/vacp2p/waku/blob/main/waku/lightpush/v2beta1/lightpush.proto
2023-02-27 14:00:32 +11:00
fryorcraken.eth
d6184fb41a
fixup! chore: update filter.proto
2023-02-27 14:00:32 +11:00
fryorcraken.eth
f6130d65c9
chore: use pascal case for class name
2023-02-27 14:00:31 +11:00
fryorcraken.eth
5f0e8b72f5
chore: update filter.proto
...
Ref: https://github.com/vacp2p/waku
2023-02-27 14:00:31 +11:00
fryorcraken.eth
31740e7a3d
chore: add `build:esm` script so it can be called from root script
2023-02-27 14:00:31 +11:00
dependabot[bot]
911ccd0074
chore(deps)(deps-dev): bump puppeteer from 19.7.1 to 19.7.2
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 19.7.1 to 19.7.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.7.1...puppeteer-v19.7.2 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-26 23:12:33 +00:00
fryorcraken.eth
789bebed00
chore: add `BaseProtocol` class to req-resp protocols
...
Each protocol implementation have some common functionality.
Implements those in `BaseProtocol`, to be extended by each protocol
implementation.
2023-02-27 09:48:30 +11:00
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
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
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
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
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
f66e9835f1
test: nwaku JSON RPC API now uses base64 encoding
2023-02-16 13:45:25 +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
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
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
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
d73f2a84db
chore: remove usage of jsdom
2023-02-10 19:44:59 +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
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
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
fryorcraken.eth
12d86e6abc
chore!: bump typescript
...
`module: "nodenext"` has been introduced. Enabling it for NodeJS tests
only.
2023-02-10 13:54:41 +11:00
fryorcraken.eth
8e3795f038
chore: bump rollup dependencies
2023-02-10 13:14:02 +11:00
fryorcraken.eth
88cc76d2b8
chore!: bump all prod dependencies
2023-02-10 13:06:33 +11:00
fryorcraken.eth
f31400c8c4
chore: bump @noble dependencies
2023-02-10 11:22:25 +11:00
fryorcraken.eth
c3b01751ce
chore: fix doc generation
2023-02-10 08:32:41 +11:00
fryorcraken.eth
c2cef9a319
chore: run `npm update`
2023-02-10 08:32:41 +11:00
fryorcraken.eth
4fb3ab191d
chore: bump uint8arraylist and uint8arrays deps
2023-02-10 08:32:40 +11:00
fryorcraken.eth
3343a4acec
chore: bump multiformat deps
2023-02-10 08:32:40 +11:00
fryorcraken.eth
a3c5050c1d
chore: fix dependencies for @waku/proto` package
2023-02-10 08:32:32 +11:00
fryorcraken.eth
ab735908d3
chore: fix dependencies for @waku/peer-exchange` package
2023-02-09 19:31:12 +11:00
fryorcraken.eth
719ec8e2e7
chore: fix dev dependencies for tests package
2023-02-09 19:31:12 +11:00
fryorcraken.eth
b9f526d3ff
chore: fix dev dependencies for `@waku/message-encryption`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
9c3deccd89
chore: fix dependencies for `@waku/interfaces`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
6f3a6d00d8
chore: fix dependencies for `@waku/enr`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
81bb74fa97
chore: fix dependencies for `@waku/dns-discovery`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
a4f6d3b98e
chore: fix dependencies for `@waku/create`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
6b8779b3be
chore: fix dependencies for `@waku/core`
2023-02-09 19:31:12 +11:00
fryorcraken.eth
803ae7bd8e
chore!: bump libp2p dependencies
2023-02-09 19:30:59 +11:00
Danish Arora
3b4bc8b25b
chore: update changelog & minor improvements ( #1153 )
...
* address comments from https://github.com/waku-org/js-waku/pull/1145
* fix: typedoc
* address comments in https://github.com/waku-org/js-waku/pull/1146#pullrequestreview-1286307508
- update changelog
- change naming for `EciesEncoderOptions` and
`SymmetricEncoderOptions`
2023-02-09 13:15:23 +05:30
Danish Arora
2a7d72be14
chore: decrease delay on the peer-exchange tests ( #1141 )
...
* decrease timeouts for peer-exchange tests
* reset dns test timeout
2023-02-08 11:09:52 +05:30
Danish Arora
b33306655a
chore: move libp2p and byte utils to a single `utils` package ( #1149 )
...
* move libp2p and byte utils to a single `utils`
package
* set package version to 0.0.1
2023-02-06 11:22:36 +05:30
Danish Arora
8910a6d76a
chore: move args for `createEncoder` into non-repeating `options` & fix typedoc ( #1146 )
...
* move args for `createEncoder` into non-repeating `options` & fix typedoc
* update tests with new API
2023-02-02 11:37:28 +05:30
Danish Arora
10b3898762
chore: move protocols `CreateOptions` into interfaces ( #1145 )
...
* move protocols `CreateOptions` into interfaces and
add possible TODO
* remove: createOptions for PeerExchange
* update test with new API
2023-02-02 08:02:06 +05:30
Danish Arora
11819fc7b1
feat: DNS discovery as default bootstrap discovery ( #1114 )
...
* use DNS discovery as default bootstrap discovery
* fix: failing CI
* fix: typo
* introduce tagging, components & explicit tests
libp2p wasn't by default tagging peers with dns-discovery as
"bootstrap"
-- we are manually now tagging peers with "dns-discovery", and then
running tests according to that
* fix: package installs
* fix: typedoc CI
* change tag name from dns-discovery to bootstrap
* update tag name in test
* fix CI
* address review
* add: prod enrtree and use as default
2023-01-31 19:47:46 +05:30
fryorcraken.eth
3aed340cb2
chore: only build what is necessary to test
...
Script to build enough to run tests locally and in CI (skip bundling).
2023-01-30 20:32:43 +11:00
fryorcraken.eth
afa7262604
test: replace nwaku ip with local ip
2023-01-30 20:08:04 +11:00
fryorcraken.eth
c8fa8ea20e
chore: remove unnecessary compilation flag for nwaku
2023-01-30 20:08:04 +11:00
fryorcraken.eth
171fd1e6df
fix: randomize the first port tried by portfinder
2023-01-30 20:07:46 +11:00
Danish Arora
380ba6987a
disable tests connecting to test fleet on the CI ( #1138 )
2023-01-30 11:29:12 +05:30