Revert "connection_status is dead, long live connected"
This reverts commit 74ab5bbf84
.
This commit is contained in:
parent
87e67aa714
commit
f449d7916c
2 changed files with 8 additions and 2 deletions
5
dist/flow-typed/Lbry.js
vendored
5
dist/flow-typed/Lbry.js
vendored
|
@ -7,6 +7,10 @@ declare type StatusResponse = {
|
||||||
download_progress: number,
|
download_progress: number,
|
||||||
downloading_headers: boolean,
|
downloading_headers: boolean,
|
||||||
},
|
},
|
||||||
|
connection_status: {
|
||||||
|
code: string,
|
||||||
|
message: string,
|
||||||
|
},
|
||||||
dht: {
|
dht: {
|
||||||
node_id: string,
|
node_id: string,
|
||||||
peers_in_routing_table: number,
|
peers_in_routing_table: number,
|
||||||
|
@ -41,7 +45,6 @@ declare type StatusResponse = {
|
||||||
redirects: {},
|
redirects: {},
|
||||||
},
|
},
|
||||||
wallet: ?{
|
wallet: ?{
|
||||||
connected: string,
|
|
||||||
best_blockhash: string,
|
best_blockhash: string,
|
||||||
blocks: number,
|
blocks: number,
|
||||||
blocks_behind: number,
|
blocks_behind: number,
|
||||||
|
|
5
flow-typed/Lbry.js
vendored
5
flow-typed/Lbry.js
vendored
|
@ -7,6 +7,10 @@ declare type StatusResponse = {
|
||||||
download_progress: number,
|
download_progress: number,
|
||||||
downloading_headers: boolean,
|
downloading_headers: boolean,
|
||||||
},
|
},
|
||||||
|
connection_status: {
|
||||||
|
code: string,
|
||||||
|
message: string,
|
||||||
|
},
|
||||||
dht: {
|
dht: {
|
||||||
node_id: string,
|
node_id: string,
|
||||||
peers_in_routing_table: number,
|
peers_in_routing_table: number,
|
||||||
|
@ -41,7 +45,6 @@ declare type StatusResponse = {
|
||||||
redirects: {},
|
redirects: {},
|
||||||
},
|
},
|
||||||
wallet: ?{
|
wallet: ?{
|
||||||
connected: string,
|
|
||||||
best_blockhash: string,
|
best_blockhash: string,
|
||||||
blocks: number,
|
blocks: number,
|
||||||
blocks_behind: number,
|
blocks_behind: number,
|
||||||
|
|
Loading…
Reference in a new issue