Danish Arora
defe41bb9a
feat(peer-exchange): support continuous peer information updates ( #2088 )
...
* feat(peer-exchange): update peer info if new is found
* chore: move diff checking logic to a private function
* chore: add tests
* chore: increase verbosity for mulltiaddr
* chore: use merge for metadata nad patch for multiaddrs
* chore: use peerId from peerInfo
* chore: remove unused import
2024-07-26 17:14:55 +05:30
gabrielmer
08fc2d133a
chore: changing default pubsub topic to its static sharding version ( #2083 )
...
* changing default pubsub topic to its static sharding version
* keeping RFC's Waku Message test vectors
* reverting change in changelog
* setting pubsub topic when creating nwaku node
* adding shardInfo to runMultipleNodes call
* adding shardInfo to runMultipleNodes call in lightpush tests
* add pubsub topics to nwaku.start
* get rid of it.only that remained
* fixing compliance tests
* setting clusterId to 0
* removing unnecessary fix
* adding shardInfo when creating nodes
* fixing wait for remote peer tests
* fixing peer exchange test
* refactor
* removing unnecessary variable
* feat: create default shard info, update tests (#2085 )
* feat: create default shard info, update tests
* add link
* fix tests
* remoe only
* up tests
* up test
---------
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2024-07-26 00:21:52 +02:00
Danish Arora
a739ada33a
chore(peer-exchange): use an event listener to gauge if the service is mounted ( #2071 )
...
* chore: use service mounted event listener
* chore: update event name
* chore: change event name to isStarted
* chore: address comments
2024-07-22 18:01:15 +05:30
Danish Arora
169a09d552
chore: enforce access modifiers ( #2068 )
...
* feat: introduce eslint flag
* chore: update logger
* chore: update enr
* chore: update core
* chore: update sdk
* chore: update relay
* chore: update discovery
* chore: update message-encryption
* chore: update tests
* chore: fix modifiers
* chore(tests): fix access modifiers
* chore: fix rebase
2024-07-19 15:58:17 +05:30
Danish Arora
16e9116c7c
fix: bootstrapping with default pubsub topic ( #2031 )
...
* fix: bootstrapping into default pubsub topic
* chore: update tests
* chore: update TODO with GH issue
* chore: rename fleets
* feat: use TWN fleets, or wakuv2.prod if DefaultPubsubTopic
* chore: update imports for enrtree
2024-06-06 12:55:57 -04:00
Danish Arora
e49e7289ae
chore: improve StreamManager ( #1994 )
...
* chore: improve stream manager
* chore: some cleaning
* chore: update API
* chore: rename `getConnectionStatus` to `isConnected`
* chore: use throw/catch
* chore: remove await
* remove redundant function and rename
* chore: increase test timeout
2024-05-14 16:31:38 +05:30
Danish Arora
4eb06c64eb
feat(filter)!: return error codes instead of throwing errors ( #1971 )
...
* move protocol result type to interfaces
* chore: update type names for verbosity
* feat(filter-core): convert error throws to return types
* chore: update types & imports
* update Filter API
* chore: update createSubscription
* chore: update imports & rename
* chore: update all tests
* chore: resolve conflicts & merge (2/n)
* chore: resolve conflicts & merge (3/n)
* chore: resolve conflicts & merge (4/n)
* chore: resolve conflicts & merge (5/n)
* chore: resolve conflicts & merge (6/n)
* chore: use idiomatic approach
* chore: fix tests
* chore: address comments
* chore: fix test
* rm: only
2024-05-09 16:51:08 +05:30
Guru
e5e8cd5e17
fix: add try catch to local store ( #1956 )
2024-04-12 17:04:48 +02:00
Anton Iakimov
9f2c0ed6b5
chore: switch wakuv2 fleet to waku ( #1910 )
...
* chore: switch from decomissioned wakuv2 fleet
* chore: minor fixes + CI
* chore: fix eslint
* fix: eslint
* chore: fix test
---------
Co-authored-by: danisharora099 <danisharora099@gmail.com>
2024-04-07 15:21:00 +03:00
Danish Arora
877fe1dc1d
feat: peer-exchange uses error codes ( #1907 )
...
* setup a generic protocol result type (DRY)
* metadata: use generic
* lightpush: use generic
* peer-exchange: use error codes + generic + update tests
* add issue link to skipped test
* tests: improve while loop readability
2024-03-13 19:33:50 +05:30
Danish Arora
1e86c3d63e
feat!: @waku/discovery ( #1876 )
...
* initialise the new package
* move dns-discovery
* move peer-exchange
* move local-peer-cache-discovery
* add polyfill for node - dynamic import
* update size-limit
* update release-please
* chore: update pacakge desc
* chore: cleanup
* add peer-exchange and local peer cache to size-limit
2024-03-12 15:56:49 +05:30