JavaScript implementation of Waku v2 https://js.waku.org
Go to file
Sasha d37e0245cf
feat: confirm metadata and protocols needed in waitForRemotePeer (#2160)
* fix comment of default number of peers

* export default number of peers from base protocol sdk

* rename to light_push, move class to separate file

* move waitForRemotePeer to sdk package

* add todo to move waitForGossipSubPeerInMesh into @waku/relay

* clean up waitForRemotePeer, split metadata await from event and optimise, decouple from protocol implementations

* simplify and rename ILightPush interface

* use only connected peers in light push based on connections instead of peer renewal mechanism

* improve readability of result processing in light push

* fix check & update tests

* address tests, add new test cases, fix racing condition in StreamManager

* use libp2p.getPeers

* feat: confirm metadata and protocols needed in waitForRemotePeer

* rely on passed protocols and fallback to mounted

* imrpove iteration for existing connections

* address protocol adverisement in CI

* add protocols needed

* add missing protocols

* make lightpush and filter default for tests

* up
2024-10-05 01:49:54 +02:00
.github Update CODEOWNERS to reference correct team 2024-09-17 21:57:54 -07:00
.husky chore: update husky to new api (#2102) 2024-08-22 18:01:29 +02:00
.vscode chore: use updated flag for eslint (#1831) 2024-02-08 12:25:00 +05:30
ci feat: add ability to pre release (#1664) 2023-11-01 16:15:24 +01:00
packages feat: confirm metadata and protocols needed in waitForRemotePeer (#2160) 2024-10-05 01:49:54 +02:00
.cspell.json feat: local discovery (#1811) 2024-02-16 20:06:27 +05:30
.editorconfig Initial commit 2021-03-05 09:34:01 +11:00
.eslintrc.json fix: peer renewal connection drop & stream management (#2145) 2024-10-01 12:54:55 +02:00
.gitignore feat!: @waku/discovery (#1876) 2024-03-12 15:56:49 +05:30
.prettierignore chore: use root .prettierignore (#1285) 2023-04-03 23:39:59 +02:00
.release-please-manifest.json chore: release master (#2122) 2024-09-06 01:42:16 +02:00
.size-limit.cjs chore(lightpush)!: move protocol implementation to `@waku/sdk` (1/n) (#1964) 2024-04-19 17:20:34 +05:30
CONTRIBUTING.md chore: make pre-release manual (#1702) 2023-11-06 10:39:06 +01:00
LICENSE-APACHE-v2 Apply MIT or Apache V2.0 License 2021-04-28 21:27:26 +10:00
LICENSE-MIT Apply MIT or Apache V2.0 License 2021-04-28 21:27:26 +10:00
README.md chore: README.md: fix quick start link (#1607) 2023-09-22 17:32:34 +02:00
bors.toml chore: must always build first now 2022-11-02 14:16:31 +11:00
karma.conf.cjs remove webkit from running (#1621) 2023-09-27 15:15:07 +05:30
package-lock.json feat(lightPush): improve peer usage and improve readability (#2155) 2024-10-04 10:50:58 +02:00
package.json chore: remove relay from sdk package (#2040) 2024-08-31 15:18:51 +02:00
release-please-config.json chore: remove forced version config (#1944) 2024-04-09 14:44:55 +03:00
tsconfig.dev.json chore: update typescript (#1528) 2023-09-21 10:57:37 +02:00
tsconfig.json chore: update typescript (#1528) 2023-09-21 10:57:37 +02:00
typedoc.base.json chore: update typescript (#1528) 2023-09-21 10:57:37 +02:00
typedoc.cjs chore: update typescript (#1528) 2023-09-21 10:57:37 +02:00

README.md

GitHub Action Code Climate Discord chat

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

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 us 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.