mirror of https://github.com/waku-org/js-waku.git
Fix documentation
This commit is contained in:
parent
b8d2dcb2c4
commit
fda65ca83b
|
@ -34,12 +34,8 @@ export class Waku {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create new waku node
|
* Create new waku node
|
||||||
* @param listenAddresses: Array of Multiaddrs on which the node should listen.
|
*
|
||||||
* If not present, the node is dial only.
|
* @param options Takes the same options than `Libp2p`.
|
||||||
* @param staticNoiseKey: A static key to use for noise,
|
|
||||||
* mainly used for test to reduce entropy usage.
|
|
||||||
* @throws If
|
|
||||||
* @returns {Promise<Waku>}
|
|
||||||
*/
|
*/
|
||||||
static async create(options: Partial<CreateOptions>): Promise<Waku> {
|
static async create(options: Partial<CreateOptions>): Promise<Waku> {
|
||||||
const opts = Object.assign(
|
const opts = Object.assign(
|
||||||
|
|
Loading…
Reference in New Issue