Fix documentation

This commit is contained in:
Franck Royer 2021-05-13 11:49:20 +10:00
parent b8d2dcb2c4
commit fda65ca83b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 6 deletions

View File

@ -34,12 +34,8 @@ export class Waku {
/**
* Create new waku node
* @param listenAddresses: Array of Multiaddrs on which the node should listen.
* If not present, the node is dial only.
* @param staticNoiseKey: A static key to use for noise,
* mainly used for test to reduce entropy usage.
* @throws If
* @returns {Promise<Waku>}
*
* @param options Takes the same options than `Libp2p`.
*/
static async create(options: Partial<CreateOptions>): Promise<Waku> {
const opts = Object.assign(