Skip to content

Commit

Permalink
chore: export FilterCodecs (#1532)
Browse files Browse the repository at this point in the history
* export FilterCodecs

* root export
  • Loading branch information
danisharora099 authored Sep 5, 2023
1 parent aea9634 commit 9fc79f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export * as waku from "./lib/waku.js";
export { WakuNode, WakuOptions } from "./lib/waku.js";

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

export * as waku_light_push from "./lib/light_push/index.js";
export { wakuLightPush, LightPushCodec } from "./lib/light_push/index.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/filter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type SubscriptionCallback<T extends IDecodedMessage> = {
callback: Callback<T>;
};

const FilterCodecs = {
export const FilterCodecs = {
SUBSCRIBE: "/vac/waku/filter-subscribe/2.0.0-beta1",
PUSH: "/vac/waku/filter-push/2.0.0-beta1"
};
Expand Down

0 comments on commit 9fc79f6

Please sign in to comment.