Skip to content

Commit

Permalink
Merge #934
Browse files Browse the repository at this point in the history
934: doc: add missing modules r=fryorcraken a=fryorcraken



Co-authored-by: fryorcraken.eth <[email protected]>
  • Loading branch information
status-bors-ng[bot] and fryorcraken authored Sep 7, 2022
2 parents d9d237b + 5e07b00 commit 34cd202
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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.

### Fixed

- doc: add missing modules.

## [0.25.0] - 2022-09-5

### Changed
Expand Down
6 changes: 2 additions & 4 deletions src/lib/peer_discovery_static_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ export interface Options {
/**
* The interval between emitting addresses in milliseconds.
*
* @default {@link PeerDiscoveryEvents.DefaultInterval}
* @default {@link PeerDiscoveryStaticPeers.DefaultInterval}
*/
interval?: number;
}

/**
* Parse options and expose function to return bootstrap peer addresses.
*
* @throws if an invalid combination of options is passed, see [[BootstrapOptions]] for details.
* Pass a list of multiaddr that will be used to bootstrap a node.
*/
export class PeerDiscoveryStaticPeers
extends EventEmitter<PeerDiscoveryEvents>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/predefined_bootstrap_nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export enum 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 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.
*/
Expand Down
11 changes: 9 additions & 2 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -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",
"exclude": "**/*.spec.ts",
"exclude": ["**/*.spec.ts"],
"excludeInternal": true,
"validation": {
"invalidLink": true,
Expand Down

0 comments on commit 34cd202

Please sign in to comment.