mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-13 05:54:54 +00:00
refactor: move predefined nodes out of dns discovery
This commit is contained in:
parent
5f1ac595b6
commit
11e60aadd5
@ -15,7 +15,7 @@ module.exports = [
|
||||
{
|
||||
name: "Asymmetric, symmetric encryption and signature",
|
||||
path: "bundle/index.js",
|
||||
import: "{ waku_message }",
|
||||
import: "{ WakuMessage }",
|
||||
},
|
||||
{
|
||||
name: "DNS discovery",
|
||||
|
@ -6,8 +6,8 @@ import { all as filterAll } from "@libp2p/websockets/filters";
|
||||
import { createLibp2p, Libp2pOptions } from "libp2p";
|
||||
import type { Libp2p } from "libp2p";
|
||||
|
||||
import { getPredefinedBootstrapNodes } from "./peer_discovery_dns/predefined";
|
||||
import { PeerDiscoveryStaticPeers } from "./peer_discovery_static_list";
|
||||
import { getPredefinedBootstrapNodes } from "./predefined_bootstrap_nodes";
|
||||
import { Waku, WakuOptions } from "./waku";
|
||||
import { WakuFilter } from "./waku_filter";
|
||||
import { WakuLightPush } from "./waku_light_push";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Multiaddr } from "@multiformats/multiaddr";
|
||||
|
||||
import { getPseudoRandomSubset } from "../random_subset";
|
||||
import { getPseudoRandomSubset } from "./random_subset";
|
||||
|
||||
export const DefaultWantedNumber = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user