From fda65ca83b3bbd7690fc0299c416e67a4775580f Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 13 May 2021 11:49:20 +1000 Subject: [PATCH] Fix documentation --- src/lib/waku.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/waku.ts b/src/lib/waku.ts index ee194e2a86..f73338271a 100644 --- a/src/lib/waku.ts +++ b/src/lib/waku.ts @@ -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} + * + * @param options Takes the same options than `Libp2p`. */ static async create(options: Partial): Promise { const opts = Object.assign(