js-waku/packages/sdk
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
..
src feat: confirm metadata and protocols needed in waitForRemotePeer (#2160) 2024-10-05 01:49:54 +02:00
.eslintrc.cjs chore: upgrade libp2p and related deps (#1482) 2023-08-16 20:18:13 +05:30
CHANGELOG.md chore: release master (#2122) 2024-09-06 01:42:16 +02:00
package.json feat(lightPush): improve peer usage and improve readability (#2155) 2024-10-04 10:50:58 +02:00
rollup.config.js fix: make rollup replace env var (#1951) 2024-04-09 13:43:28 +03:00
tsconfig.dev.json feat!: rename package from @waku/create to @waku/sdk (#1386) 2023-06-05 13:40:13 +02:00
tsconfig.json feat!: rename package from @waku/create to @waku/sdk (#1386) 2023-06-05 13:40:13 +02:00
typedoc.json chore: update typescript (#1528) 2023-09-21 10:57:37 +02:00