mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-24 00:23:06 +00:00
* SDS: pushOutgoingMessage is actually sync * SDS: ensure that `ContentMessage` class is stored in local history with `valueOf` method * feat: introduce reliable channels Easy to use Scalable Data Sync (SDS, e2e reliability) wrapper, that includes: - store queries upon connection to store nodes - store queries to retrieve missing messages * remove `channel` prefix * attempt to improve performance when processing a lot of incoming messages * test: split test file * use index.ts for re-export only. * improve if condition * use getter for isStarted * waku node already auto-start * rename send * fix lightPush.send type post rebase * test: remove extra console.log * SDS: emit messages as missing as soon as they are received * make configurable elapse time for task process * typo * use string instead of enum for event types * ReliableChannel.send returns the message id
25 lines
643 B
TypeScript
25 lines
643 B
TypeScript
export { createEncoder, createDecoder } from "@waku/core";
|
|
export {
|
|
DecodedMessage,
|
|
Decoder,
|
|
Encoder
|
|
} from "@waku/core/lib/message/version_0";
|
|
|
|
export { utf8ToBytes, bytesToUtf8 } from "@waku/utils/bytes";
|
|
|
|
export * from "./waku/index.js";
|
|
|
|
export {
|
|
createLightNode,
|
|
defaultLibp2p,
|
|
createLibp2pAndUpdateOptions
|
|
} from "./create/index.js";
|
|
export { LightPush } from "./light_push/index.js";
|
|
export { Filter } from "./filter/index.js";
|
|
export { Store } from "./store/index.js";
|
|
export * from "./reliable_channel/index.js";
|
|
|
|
export * as waku from "@waku/core";
|
|
export * as utils from "@waku/utils";
|
|
export * from "@waku/interfaces";
|