js-waku/packages/interfaces
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
..
src feat!: ConnectionManager and KeepAliveManager (#1135) 2023-02-20 15:30:59 +05:30
.eslintrc.cjs chore: new @waku/interfaces package 2022-11-01 14:48:52 +11:00
.prettierignore chore: new @waku/interfaces package 2022-11-01 14:48:52 +11:00
CHANGELOG.md chore: update note in CHANGELOG and add missing (#1178) 2023-02-14 01:11:40 +01:00
package.json chore(deps)(deps-dev): bump eslint from 8.33.0 to 8.34.0 2023-02-17 16:09:45 +00:00
tsconfig.dev.json chore: merge tsconfig 2022-12-02 15:54:30 +11:00
tsconfig.json chore: merge tsconfig 2022-12-02 15:54:30 +11:00