From 7c6730b4a35ed18e6f02f72aab5937de996a784f Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 11 May 2021 13:35:53 +1000 Subject: [PATCH] Remove `declare` keyword which removes the values from generated JS --- src/lib/waku_relay/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/waku_relay/constants.ts b/src/lib/waku_relay/constants.ts index cba56b1b7c..9cfee5660c 100644 --- a/src/lib/waku_relay/constants.ts +++ b/src/lib/waku_relay/constants.ts @@ -16,7 +16,7 @@ export const RelayDefaultTopic = '/waku/2/default-waku/proto'; * We will send gossip to RelayGossipFactor * (total number of non-mesh peers), or * RelayDlazy, whichever is greater. */ -export declare const RelayGossipFactor = 0.25; +export const RelayGossipFactor = 0.25; /** * GossipsubHeartbeatInitialDelay is the short delay before the heartbeat timer begins @@ -74,4 +74,4 @@ export const RelayOpportunisticGraftPeers = 2; * default if your system is pushing more than 5000 messages in GossipsubHistoryGossip heartbeats; * with the defaults this is 1666 messages/s. */ -export declare const RelayMaxIHaveLength = 5000; +export const RelayMaxIHaveLength = 5000;