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]
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]
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
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
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
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
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
fryorcraken.eth
9b6448bf63
chore: release master ( #1253 )
2023-03-24 00:10:41 +01: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]
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
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
fryorcraken.eth
bd983ea48e
feat!: enable encoding of `meta` field
2023-03-14 11:21:09 +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
6dbcde041a
chore!: directly convert from ENR to `PeerInfo`, remove unneeded utility
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
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
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
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
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
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
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
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
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
Sasha
dcb5908d5b
chore: update note in CHANGELOG and add missing ( #1178 )
2023-02-14 01:11:40 +01:00
fryorcraken.eth
cb6d464021
chore: bump cspell
2023-02-10 16:09:05 +11:00
fryorcraken.eth
6b4dc1acf2
chore: bump eslint, prettier and related plugins
2023-02-10 15:18:29 +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
9c3deccd89
chore: fix dependencies for `@waku/interfaces`
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
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
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
a5ff788eed
feat: codec as a property of the protocol implementations
...
For easy access from `@waku/core` without the need to depend on package
implementing the protocol.
2023-01-27 09:08:02 +11:00
fryorcraken.eth
b0c1a8a4a6
chore: release @waku/interfaces@0.0.7
2023-01-18 15:16:00 +11:00