Sasha
5cfe9327b6
chore: remove relay from sdk package ( #2040 )
...
* remove full node
* remove relay from sdk
* comment node counter check
* try using logline
* up comment
2024-08-31 15:18:51 +02:00
Sasha
04bd518210
chore: remove content_topic specific API ( #2081 )
2024-07-23 17:25:36 +02:00
Sasha
2b02f829c2
chore: throw if more than one network config is passed ( #2056 )
...
* chore: throw if more than one network config is passed
* up
* update init
* up message
* improve project structure
* address nit
2024-07-19 19:35:00 +02:00
Sasha
5b03709dfe
feat: lift contentTopics and make shardInfo mandatory for createLight… ( #1959 )
...
* feat: lift contentTopics and make shardInfo mandatory for createLightNode
* add default shard info and wanring
* fix
* fix lint
* fix
* fix types
* remove breaking changes
2024-04-30 01:47:45 +02:00
Danish Arora
5fb100602b
chore(lightpush)!: move protocol implementation to @waku/sdk (1/n) ( #1964 )
...
* chore: decouple `Filter` between `core` and `sdk`
moves `SubscriptionManager` to `sdk` side
* chore: update package dependencies
also update peer deps in sdk
* chore: update imports
* chore: update tests
* chore(side-change): update lightpush
* chore: update size-limit import
* chore(sdk): update dependencies
2024-04-19 17:20:34 +05:30
Danish Arora
bf42c8f53a
chore(store)!: move protocol implementation opinions to @waku/sdk ( #1913 )
...
* refactor the Store protocol into Core and SDK, simplify `queryGenerator()`
* update imports & types
* chore: `@noble/hashes` moves to `sdk`
* chore: update tests
* chore: update size-limit import path
* fix: cursor tests, use `Cursor` type from `proto.Index` instead of redefining
* export wakuStore from sdk
* fix: imports
* chore: use specific version for package
* chore: handle error for peer access
* use type instead of interface
* rm: comment
* add TODO
* chore!: remove deprecated function definition
* chore: improve logging
2024-04-01 16:47:47 +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
Arseniy Klempner
ee2d4176f8
feat: create node and subscription by content topic
2024-02-27 15:37:57 -08:00
Danish Arora
87717981eb
chore: upgrade libp2p and related deps ( #1482 )
...
* chore: update noise
* update: package.lock
* update: @chainsafe/libp2p-gossipsub
* rm unwanted libp2p interface deps & bump up libp2p
* refactor code for new deps
* update: new package.lock
* setup prettier, refactor eslint and rm trailing commas
* update package.lock
* fix build
* import type for interface
* fix imports for merge
* update typedoc exports
* add: CustomEvent import
* use new libp2p interface
* add aegir as dev dep for tests
2023-08-16 20:18:13 +05:30
Sasha
0d9265aaf1
feat: export interfaces and relay from sdk ( #1409 )
2023-06-28 18:12:44 +02:00
Danish Arora
951ebdac9d
feat!: rename package from @waku/create to @waku/sdk ( #1386 )
...
* feat!(@waku/sdk): rename package from @waku/create to @waku/sdk
* feat: proxy @waku/core and @waku/utils through @waku/sdk
* address comments
* update package-lock
* Update .size-limit.cjs
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
* integrate to release please
---------
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
Co-authored-by: Sasha <oleksandr@status.im>
2023-06-05 13:40:13 +02:00