From 474b425545dc089eeb543a24100cfaae89b54a6f Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 15 Mar 2021 15:40:55 -0400 Subject: [PATCH] Revert "Revert "connection_status is dead, long live connected"" This reverts commit f449d7916cacb9e61f19afc84cecac6182cde6d6. --- dist/flow-typed/Lbry.js | 5 +---- flow-typed/Lbry.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/dist/flow-typed/Lbry.js b/dist/flow-typed/Lbry.js index 1790e68..326b3c6 100644 --- a/dist/flow-typed/Lbry.js +++ b/dist/flow-typed/Lbry.js @@ -7,10 +7,6 @@ declare type StatusResponse = { download_progress: number, downloading_headers: boolean, }, - connection_status: { - code: string, - message: string, - }, dht: { node_id: string, peers_in_routing_table: number, @@ -45,6 +41,7 @@ declare type StatusResponse = { redirects: {}, }, wallet: ?{ + connected: string, best_blockhash: string, blocks: number, blocks_behind: number, diff --git a/flow-typed/Lbry.js b/flow-typed/Lbry.js index 1790e68..326b3c6 100644 --- a/flow-typed/Lbry.js +++ b/flow-typed/Lbry.js @@ -7,10 +7,6 @@ declare type StatusResponse = { download_progress: number, downloading_headers: boolean, }, - connection_status: { - code: string, - message: string, - }, dht: { node_id: string, peers_in_routing_table: number, @@ -45,6 +41,7 @@ declare type StatusResponse = { redirects: {}, }, wallet: ?{ + connected: string, best_blockhash: string, blocks: number, blocks_behind: number,