js-waku/packages/core
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: fix eslint config for lint-staged 2022-10-31 09:32:46 +11:00
.mocharc.json chore: remove usage of jsdom 2023-02-10 19:44:59 +11:00
.prettierignore chore: use prettierignore to select files to format 2022-10-31 09:32:46 +11:00
CHANGELOG.md chore: update note in CHANGELOG and add missing (#1178) 2023-02-14 01:11:40 +01:00
README.md doc: update readmes 2022-10-31 12:36:39 +11:00
karma.conf.cjs chore: fix tests test + karma tests 2022-11-03 22:40:42 +11: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
rollup.config.js refactor: remove `waku_` from module names 2022-12-12 22:36:13 +11: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

README.md

NPM

GitHub Action Discord chat

@waku/core

Core components of js-waku, a TypeScript implementation of the Waku v2 protocol.

Documentation

API Documentation can also be generated locally:

git clone https://github.com/waku-org/js-waku.git
cd js-waku
npm install
npm run doc

Changelog

Release changelog can be found in CHANGELOG.md.

Bugs, Questions & Features

If you encounter any bug or would like to propose new features, feel free to open an issue.

For general discussion, get help or latest news, join #js-waku on Vac Discord or the Waku Telegram Group.

Roadmap

You can track progress on the project board.

Contributing

See CONTRIBUTING.md.

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.