mirror of https://github.com/waku-org/js-waku.git
chore: export `FilterCodecs` (#1532)
* export FilterCodecs * root export
This commit is contained in:
parent
aea96349d4
commit
9fc79f6853
|
@ -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";
|
||||
|
|
|
@ -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"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue