chore: export `FilterCodecs` (#1532)

* export FilterCodecs

* root export
This commit is contained in:
Danish Arora 2023-09-05 15:38:02 +05:30 committed by GitHub
parent aea96349d4
commit 9fc79f6853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ export * as waku from "./lib/waku.js";
export { WakuNode, WakuOptions } from "./lib/waku.js"; export { WakuNode, WakuOptions } from "./lib/waku.js";
export * as waku_filter from "./lib/filter/index.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 * as waku_light_push from "./lib/light_push/index.js";
export { wakuLightPush, LightPushCodec } from "./lib/light_push/index.js"; export { wakuLightPush, LightPushCodec } from "./lib/light_push/index.js";

View File

@ -41,7 +41,7 @@ type SubscriptionCallback<T extends IDecodedMessage> = {
callback: Callback<T>; callback: Callback<T>;
}; };
const FilterCodecs = { export const FilterCodecs = {
SUBSCRIBE: "/vac/waku/filter-subscribe/2.0.0-beta1", SUBSCRIBE: "/vac/waku/filter-subscribe/2.0.0-beta1",
PUSH: "/vac/waku/filter-push/2.0.0-beta1" PUSH: "/vac/waku/filter-push/2.0.0-beta1"
}; };