Skip to content

Commit

Permalink
chore(lightpush)!: move protocol implementation to @waku/sdk (1/n) (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
danisharora099 authored Apr 19, 2024
1 parent e5e8cd5 commit 5fb1006
Show file tree
Hide file tree
Showing 18 changed files with 538 additions and 519 deletions.
2 changes: 1 addition & 1 deletion .size-limit.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = [
},
{
name: "Waku Filter",
path: "packages/core/bundle/index.js",
path: "packages/sdk/bundle/index.js",
import: "{ wakuFilter }",
},
{
Expand Down
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"@libp2p/ping": "^1.0.12",
"@waku/enr": "^0.0.22",
"@waku/interfaces": "0.0.23",
"@waku/message-hash": "^0.1.12",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.16",
"debug": "^4.3.4",
Expand Down Expand Up @@ -111,7 +110,6 @@
"libp2p": "^1.1.2",
"@waku/enr": "^0.0.21",
"@waku/interfaces": "0.0.22",
"@waku/message-hash": "^0.1.11",
"@waku/proto": "0.0.6",
"@waku/utils": "0.0.15"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type {
export * as message from "./lib/message/index.js";

export * as waku_filter from "./lib/filter/index.js";
export { wakuFilter, FilterCodecs } from "./lib/filter/index.js";
export { FilterCore, FilterCodecs } from "./lib/filter/index.js";

export * as waku_light_push from "./lib/light_push/index.js";
export { LightPushCodec, LightPushCore } from "./lib/light_push/index.js";
Expand Down
Loading

0 comments on commit 5fb1006

Please sign in to comment.