From 6af03b63813604fff872e0d50a6af0b2a3b9671f Mon Sep 17 00:00:00 2001 From: Sasha Date: Fri, 23 Jun 2023 22:21:58 +0200 Subject: [PATCH] remove declare module --- examples/web-chat/src/index.tsx | 4 ++-- examples/web-chat/src/types/types.d.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/web-chat/src/index.tsx b/examples/web-chat/src/index.tsx index 2810a93..c7317df 100644 --- a/examples/web-chat/src/index.tsx +++ b/examples/web-chat/src/index.tsx @@ -12,10 +12,10 @@ import { ENR_TREE, CONTENT_TOPIC, PROTOCOLS } from "./config"; const NODE_OPTIONS = { libp2p: { peerDiscovery: [ - wakuDnsDiscovery(ENR_TREE, { + wakuDnsDiscovery([ENR_TREE], { store: 1, filter: 2, - lightpush: 2, + lightPush: 2, }), wakuPeerExchangeDiscovery(), ], diff --git a/examples/web-chat/src/types/types.d.ts b/examples/web-chat/src/types/types.d.ts index 8974887..6109448 100644 --- a/examples/web-chat/src/types/types.d.ts +++ b/examples/web-chat/src/types/types.d.ts @@ -1,2 +1 @@ declare module "@livechat/ui-kit"; -declare module "@waku/dns-discovery";