Commit Graph

2551 Commits

Author SHA1 Message Date
fryorcraken.eth 9b6448bf63
chore: release master (#1253) 2023-03-24 00:10:41 +01:00
fryorcraken.eth bfc51af258
Merge pull request #1257 from waku-org/fix/peer-exchange-dep
fix: @waku/create should not depend on @waku/peer-exchange
2023-03-24 09:58:49 +11: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
Sasha 0824345f0e
chore: make latest default tag for publishing (#1260) 2023-03-23 14:27:26 +01: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 3059a652dc
Merge pull request #1252 from waku-org/chore/nwaku-v0.16.0 2023-03-23 15:28:14 +11:00
fryorcraken.eth de0a2e595c
test: bump nwaku to v0.16.0 2023-03-23 14:51:10 +11:00
fryorcraken.eth b78479983c
Merge pull request #1255 from waku-org/dependabot/npm_and_yarn/fast-check-3.7.1 2023-03-23 14:48:09 +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 b8f7db21c7
Merge pull request #1244 from waku-org/chore/peer-exchange 2023-03-21 10:00:29 +11: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
fryorcraken.eth 7621fab48e
Merge pull request #1250 from waku-org/dependabot/npm_and_yarn/multiformats/multiaddr-12.0.0 2023-03-21 08:59:18 +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 47560793dc
Merge pull request #1239 from waku-org/chore/badges 2023-03-20 16:12:20 +11:00
fryorcraken.eth 56d3cce402
chore: add code climate maintainability badge 2023-03-20 16:06:51 +11:00
fryorcraken.eth 077f4a863f
chore: fix Discord invite link 2023-03-20 16:06:50 +11:00
fryorcraken.eth 98549d3acc
chore: fix build badge
Ref: https://github.com/badges/shields/issues/8671
2023-03-20 16:06:50 +11:00
fryorcraken.eth 437f72fae0
Merge pull request #1246 from waku-org/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.55.0 2023-03-20 15:52:22 +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
Sasha e1a87fe1a3
chore: fix release-please output var & update package-lock (#1248) 2023-03-16 21:05:19 +01:00
fryorcraken.eth b3546ae692
chore: release master (#1237) 2023-03-16 20:29:40 +01:00
fryorcraken.eth 483e7fa663
Merge pull request #1243 from waku-org/dependabot/npm_and_yarn/libp2p/interface-content-routing-2.0.2 2023-03-16 12:30:34 +11: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
fryorcraken.eth 8c4dfe566c
Merge pull request #1234 from waku-org/dependabot/npm_and_yarn/libp2p/crypto-1.0.14 2023-03-14 13:30:03 +11:00
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
fryorcraken.eth 99155e619f
Merge pull request #1236 from waku-org/dependabot/npm_and_yarn/libp2p/interface-peer-routing-1.0.8 2023-03-14 13:22:15 +11: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 09407d7ba9
Merge pull request #1238 from waku-org/feat/message-meta-simple 2023-03-14 11:26:25 +11: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 dbaf89831f
Merge pull request #1228 from waku-org/fix/keep-alive-payload 2023-03-14 11:20:35 +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 e359ab8616
Merge pull request #1229 from waku-org/chore/remove-code-dupe-enr 2023-03-14 11:14:27 +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
fryorcraken.eth a2966c2e9b
Merge pull request #1226 from waku-org/chore/dependabot 2023-03-14 10:59:14 +11:00
fryorcraken.eth 82b210961a
chore: update dependabot reviewers and number of max PRs
Dependabot is working well now that config was fixed for monorepo so we
can increase the number of ongoing PRs for deps.
2023-03-14 10:45:40 +11:00
Sasha 4d7b3e39e6
fix: prettier and cspell ignore CHANGELOG (#1235) 2023-03-13 23:40:41 +01:00
fryorcraken.eth 809681aee8
Merge pull request #1231 from waku-org/feat/pubsub-topic-message 2023-03-13 14:00:57 +11: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 0c63b291f7
Merge pull request #1227 from waku-org/feat/gossipsub-waku-message-validation 2023-03-13 13:43:51 +11:00
fryorcraken.eth 96847374d6
feat(relay): validate waku message at gossip layer 2023-03-13 13:04:24 +11:00
fryorcraken.eth 9debf5aea7
Merge pull request #1232 from waku-org/dependabot/npm_and_yarn/types/uuid-9.0.1 2023-03-13 13:00:20 +11:00