mirror of
https://github.com/logos-messaging/logos-delivery-js.git
synced 2026-03-10 19:53:10 +00:00
* initialises ConnectionManager and KeepAliveManager ports from previous PR and makes necessary improvements and reductions * address: comments * map a ConnectionManager instance with a WakuNode * abstract event listeners logic * minor fix * minor cleaning * instantiate KeepAliveManager instead of extending * fix build and enable all tests * fix CI * address review * refine event handlers - only removes the previously attached callback from the event handlers while shutting down service - removes the requirement of passing around `keepAliveOptions` and `relay` inside of `ConnectionManager` * add verbosity to interface * make `dialPeer()` more readable * use set to push tags to avoid duplicates * fix: merge build * remove: logging function * rename startService and stopService * remove: future TODO added that as part of future refactor * use the new libp2p api * initialise options in constructor//fix TS error * remove stale export * address principal review * reset test timeout to master
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
export { DefaultPubSubTopic } from "./lib/constants.js";
|
|
export { DefaultUserAgent } from "./lib/waku.js";
|
|
|
|
export {
|
|
createEncoder,
|
|
createDecoder,
|
|
DecodedMessage,
|
|
} from "./lib/message/version_0.js";
|
|
export * as message from "./lib/message/index.js";
|
|
|
|
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 * as waku_light_push from "./lib/light_push/index.js";
|
|
export { wakuLightPush, LightPushCodec } from "./lib/light_push/index.js";
|
|
|
|
export * as waku_relay from "./lib/relay/index.js";
|
|
export { wakuRelay, RelayCreateOptions } from "./lib/relay/index.js";
|
|
|
|
export * as waku_store from "./lib/store/index.js";
|
|
export {
|
|
PageDirection,
|
|
wakuStore,
|
|
StoreCodec,
|
|
createCursor,
|
|
} from "./lib/store/index.js";
|
|
|
|
export { waitForRemotePeer } from "./lib/wait_for_remote_peer.js";
|
|
|
|
export { ConnectionManager } from "./lib/connection_manager.js";
|
|
|
|
export {
|
|
KeepAliveManager,
|
|
KeepAliveOptions,
|
|
} from "./lib/keep_alive_manager.js";
|