mirror of https://github.com/waku-org/js-waku.git
commit
023e175267
|
@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- **breaking**: `DecryptionParams` may be passed when using `queryHistory` instead of just keys.
|
- **breaking**: `DecryptionParams` may be passed when using `queryHistory` instead of just keys.
|
||||||
- Examples have been moved to https://github.com/waku-org/js-waku-examples.
|
- Examples have been moved to https://github.com/waku-org/js-waku-examples.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- doc: add missing modules.
|
||||||
|
|
||||||
## [0.25.0] - 2022-09-5
|
## [0.25.0] - 2022-09-5
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -23,15 +23,13 @@ export interface Options {
|
||||||
/**
|
/**
|
||||||
* The interval between emitting addresses in milliseconds.
|
* The interval between emitting addresses in milliseconds.
|
||||||
*
|
*
|
||||||
* @default {@link PeerDiscoveryEvents.DefaultInterval}
|
* @default {@link PeerDiscoveryStaticPeers.DefaultInterval}
|
||||||
*/
|
*/
|
||||||
interval?: number;
|
interval?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse options and expose function to return bootstrap peer addresses.
|
* Pass a list of multiaddr that will be used to bootstrap a node.
|
||||||
*
|
|
||||||
* @throws if an invalid combination of options is passed, see [[BootstrapOptions]] for details.
|
|
||||||
*/
|
*/
|
||||||
export class PeerDiscoveryStaticPeers
|
export class PeerDiscoveryStaticPeers
|
||||||
extends EventEmitter<PeerDiscoveryEvents>
|
extends EventEmitter<PeerDiscoveryEvents>
|
||||||
|
|
|
@ -15,7 +15,7 @@ export enum Fleet {
|
||||||
* Default behavior is to return nodes of the nwaku Status Prod fleet.
|
* Default behavior is to return nodes of the nwaku Status Prod fleet.
|
||||||
*
|
*
|
||||||
* @param fleet The fleet to be returned. Defaults to production fleet.
|
* @param fleet The fleet to be returned. Defaults to production fleet.
|
||||||
* @param wantedNumber The number of connections desired. Defaults to [[DefaultWantedNumber]].
|
* @param wantedNumber The number of connections desired. Defaults to {@link DefaultWantedNumber}.
|
||||||
*
|
*
|
||||||
* @returns An array of multiaddresses.
|
* @returns An array of multiaddresses.
|
||||||
*/
|
*/
|
||||||
|
|
11
typedoc.json
11
typedoc.json
|
@ -1,7 +1,14 @@
|
||||||
{
|
{
|
||||||
"entryPoints": ["./src/index.ts", "./src/lib/create_waku.ts"],
|
"entryPoints": [
|
||||||
|
"./src/index.ts",
|
||||||
|
"./src/lib/create_waku.ts",
|
||||||
|
"./src/lib/peer_discovery_dns.ts",
|
||||||
|
"./src/lib/peer_discovery_static_list.ts",
|
||||||
|
"./src/lib/predefined_bootstrap_nodes.ts",
|
||||||
|
"./src/lib/wait_for_remote_peer.ts"
|
||||||
|
],
|
||||||
"out": "build/docs",
|
"out": "build/docs",
|
||||||
"exclude": "**/*.spec.ts",
|
"exclude": ["**/*.spec.ts"],
|
||||||
"excludeInternal": true,
|
"excludeInternal": true,
|
||||||
"validation": {
|
"validation": {
|
||||||
"invalidLink": true,
|
"invalidLink": true,
|
||||||
|
|
Loading…
Reference in New Issue