mirror of https://github.com/waku-org/js-waku.git
fixup! chore: new @waku/create package
This commit is contained in:
parent
80d16346e0
commit
8a84cd07b3
|
@ -3,6 +3,15 @@ import type { PeerDiscovery } from "@libp2p/interface-peer-discovery";
|
||||||
import { Mplex } from "@libp2p/mplex";
|
import { Mplex } from "@libp2p/mplex";
|
||||||
import { WebSockets } from "@libp2p/websockets";
|
import { WebSockets } from "@libp2p/websockets";
|
||||||
import { all as filterAll } from "@libp2p/websockets/filters";
|
import { all as filterAll } from "@libp2p/websockets/filters";
|
||||||
|
import {
|
||||||
|
waku,
|
||||||
|
waku_relay,
|
||||||
|
WakuFilter,
|
||||||
|
WakuLightPush,
|
||||||
|
WakuNode,
|
||||||
|
WakuRelay,
|
||||||
|
WakuStore,
|
||||||
|
} from "@waku/core";
|
||||||
import type {
|
import type {
|
||||||
Waku,
|
Waku,
|
||||||
WakuFull,
|
WakuFull,
|
||||||
|
@ -11,17 +20,12 @@ import type {
|
||||||
} from "@waku/core/lib/interfaces";
|
} from "@waku/core/lib/interfaces";
|
||||||
import { PeerDiscoveryStaticPeers } from "@waku/core/lib/peer_discovery_static_list";
|
import { PeerDiscoveryStaticPeers } from "@waku/core/lib/peer_discovery_static_list";
|
||||||
import { getPredefinedBootstrapNodes } from "@waku/core/lib/predefined_bootstrap_nodes";
|
import { getPredefinedBootstrapNodes } from "@waku/core/lib/predefined_bootstrap_nodes";
|
||||||
import { WakuNode, WakuOptions } from "@waku/core/lib/waku.js";
|
|
||||||
import { WakuFilter } from "@waku/core/lib/waku_filter";
|
|
||||||
import { WakuLightPush } from "@waku/core/lib/waku_light_push";
|
|
||||||
import {
|
|
||||||
CreateOptions as RelayCreateOptions,
|
|
||||||
WakuRelay,
|
|
||||||
} from "@waku/core/lib/waku_relay";
|
|
||||||
import { WakuStore } from "@waku/core/lib/waku_store";
|
|
||||||
import type { Libp2p } from "libp2p";
|
import type { Libp2p } from "libp2p";
|
||||||
import { createLibp2p, Libp2pOptions } from "libp2p";
|
import { createLibp2p, Libp2pOptions } from "libp2p";
|
||||||
|
|
||||||
|
type WakuOptions = waku.WakuOptions;
|
||||||
|
type RelayCreateOptions = waku_relay.CreateOptions;
|
||||||
|
|
||||||
export interface CreateOptions {
|
export interface CreateOptions {
|
||||||
/**
|
/**
|
||||||
* The PubSub Topic to use.
|
* The PubSub Topic to use.
|
||||||
|
|
Loading…
Reference in New Issue