mirror of https://github.com/waku-org/js-waku.git
Export BootstrapOptions
This commit is contained in:
parent
284644b822
commit
4bfe060064
|
@ -1,4 +1,10 @@
|
||||||
export { getNodesFromHostedJson, getPseudoRandomSubset } from './lib/discovery';
|
export {
|
||||||
|
getNodesFromHostedJson,
|
||||||
|
getPseudoRandomSubset,
|
||||||
|
parseBootstrap,
|
||||||
|
BootstrapOptions,
|
||||||
|
BootstrapFn,
|
||||||
|
} from './lib/discovery';
|
||||||
|
|
||||||
export * as utils from './lib/utils';
|
export * as utils from './lib/utils';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { shuffle } from 'libp2p-gossipsub/src/utils';
|
import { shuffle } from 'libp2p-gossipsub/src/utils';
|
||||||
|
|
||||||
export { getNodesFromHostedJson } from './hosted_json';
|
export { getNodesFromHostedJson } from './hosted_json';
|
||||||
export { parseBootstrap } from './bootstrap';
|
export { parseBootstrap, BootstrapOptions, BootstrapFn } from './bootstrap';
|
||||||
|
|
||||||
export function getPseudoRandomSubset<T>(
|
export function getPseudoRandomSubset<T>(
|
||||||
values: T[],
|
values: T[],
|
||||||
|
|
Loading…
Reference in New Issue