@waku/sdk
Version:
A unified SDK for easy creation and management of js-waku nodes.
4 lines (3 loc) • 316 B
TypeScript
import type { PeerDiscovery } from "@libp2p/interface";
import { CreateNodeOptions, type Libp2pComponents } from "@waku/interfaces";
export declare function getPeerDiscoveries(enabled?: CreateNodeOptions["discovery"], peerCache?: CreateNodeOptions["peerCache"]): ((components: Libp2pComponents) => PeerDiscovery)[];