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
Danish Arora
8deab11890
chore(lightpush)!: move protocol implementation opinions to @waku/sdk ( #1887 )
...
* chore: restructure @waku/sdk
* chore: introduce `BaseProtocolCore` and `BaseProtocolSDK`
* chore: introduce `LightPushCore` and `LightPushSDK`
* chore: update `relay` for new types
* chore(sdk): update structure
* chore(filter): add `numPeersToUse`
* chore: update tests
* update: size-limit
* chore: update more tests
* attach issue link to TODOs
2024-03-11 18:50:34 +05:30
Sasha
9f198dd149
feat: add bootstrapPeers option and refactor sdk ( #1871 )
...
* move relay related code
* move libp2p to utils
* define CreateWakuNodeOptions
* improve options
* make libp2p use from create function
* add bootstrapPeers option
* fix lint
* fix types, imports
* fix exports
* use bootstrap along default bootstrap
* fix test as REST does not return peer though connection is made
* rollback condition change
* enable gossipSub back for every node
2024-03-04 10:56:20 +01:00