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
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
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
d73f2a84db
chore: remove usage of jsdom
2023-02-10 19:44:59 +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
4fb3ab191d
chore: bump uint8arraylist and uint8arrays deps
2023-02-10 08:32:40 +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
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
fryorcraken.eth
372ff6454f
chore: remove `@waku/peer-exchange` dependency
...
As per its name, `@waku/core` aims to contain, and only contains, the
minimal set of core functionalities needed for a developer to use Waku
in their webapp.
Hence, `@waku/core` should avoid depending on other Waku packages. If a
developer wishes to use functionality from other packages, they should
explicitly import such packages.
2023-01-27 09:08:28 +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
4e72cf2cff
chore: release @waku/core@0.0.10
2023-01-25 15:29:23 +11:00
weboko
5a56b6432f
add configuration to determine devDependencies, move them in package
2023-01-19 22:49:11 +01:00
weboko
913573a25a
remove no-extraneous-dependencies lint options, move packages to devDep section
2023-01-19 22:14:17 +01:00
Danish Arora
828f8b40e5
add `ephemeral: true` to relay ( #1123 )
2023-01-19 14:30:23 +05:30
fryorcraken.eth
3e19f82768
chore: release core@0.0.9
2023-01-18 09:42:58 +11:00
weboko
53dfd84d4c
chore: update changelog
2023-01-11 23:22:26 +01:00
weboko
a2d79c2551
Merge branch 'master' of github.com:waku-org/js-waku into weboko/missing-dep
2022-12-23 14:39:25 +01:00
Danish Arora
d022d8700b
chore: remove unused relay protocol identifier ( #1063 )
...
* chore: remove unused relay protocol identifier
* update: changelog
2022-12-23 17:08:41 +05:30
weboko
fb9bb35042
fix: move deps from dev deps
2022-12-23 00:24:38 +01:00
fryorcraken.eth
ac4ff5a00a
chore: fix links in docs, treat doc warnings as errors
2022-12-21 16:47:00 +11:00
dependabot[bot]
abaa29df18
build(deps-dev): bump @types/node from 17.0.45 to 18.11.17
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 17.0.45 to 18.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 13:57:43 +00:00
fryorcraken.eth
89571ff497
feat!: remove peer exchange from protocols to wait on by default
...
This is because peer exchange is still experimental and not enabled
on all prod fleets.
The issue is that we could be connected to a remote peer with relay/
filter/lightpush yet never resolve because peer exchange is missing.
This also shows the limit of this function logic which should be
addressed as we dive deeper in peer management.
2022-12-20 23:00:30 +11:00
fryorcraken.eth
b060e88c27
chore: release @waku/core@0.0.8
2022-12-19 16:54:22 +11:00
fryorcraken.eth
e0fd4433e7
fix: remove invalid re-export
2022-12-19 16:16:07 +11:00
fryorcraken.eth
803a0b4a12
fix: missing dependency declarations
2022-12-16 12:48:36 +11:00
fryorcraken.eth
3312c6134a
chore: release @waku/core@0.0.7
2022-12-15 14:47:14 +11:00
dependabot[bot]
872c9cd0df
build(deps-dev): bump cspell from 5.21.2 to 6.17.0
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 5.21.2 to 6.17.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/v5.21.2...v6.17.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 13:46:02 +11:00
fryorcraken.eth
c6b86a33bc
doc: update changelogs
2022-12-12 22:36:14 +11:00