js-waku/packages/sdk
Danish Arora b2efce5ec2
feat(filter): enhancing protocol peer management with mutex locks (#2137)
* chore: improvements

* chore: add logs for subscription maintenance

* chore: update logging

* chore: trimming down BaseProtocolCore

* chore: track peers in a hashmap instead of array

* chore: peer mgmt responds to conenction/disconnection and improve logging

* feat: add mutex locks to tackle race conditions over shared state

* fix: build

* chore: some mutex lock-release improvements

* feat: peer manager

* chore: rm tests for remove internal util

* chore: update HealthManager updates

* chore: update tests

* rm: only

* fix: hasPeers management

* chore: add modularity to getting connected peers

* chore: improve logs & add debug

* chore: renewal doesnt disconnect, only removes

* chore: await for sequential operations

* chore: add TODO

* chore: minor improvements

* chore: fix rebase

* chore: update playright

* chore: remove additional arg

* chore: update interafce

* feat(peer-manager): unit tests

* chore: improve hasPeers()

* chore: update lockfile

* feat: Filter reacts to peer:disconnect event, add tests

* chore: fix lock

* chore: update playright

* chore: update protocol health for lightpush

* chore: remove .only

* chore: address comments and improvements

* fix: tsconfig
2024-10-10 23:47:12 +02:00
..
src feat(filter): enhancing protocol peer management with mutex locks (#2137) 2024-10-10 23:47:12 +02:00
.eslintrc.cjs chore: upgrade libp2p and related deps (#1482) 2023-08-16 20:18:13 +05:30
.mocha.reporters.json feat: replace `waitForRemotePeers()` with `waku.waitForPeer()` method (#2161) 2024-10-09 00:43:34 +02:00
.mocharc.cjs feat: replace `waitForRemotePeers()` with `waku.waitForPeer()` method (#2161) 2024-10-09 00:43:34 +02:00
CHANGELOG.md chore: release master (#2122) 2024-09-06 01:42:16 +02:00
package.json feat(filter): enhancing protocol peer management with mutex locks (#2137) 2024-10-10 23:47:12 +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