maint: support 0.44 SDK

This commit is contained in:
Thomas Zarebczan 2019-11-05 13:25:35 -05:00 committed by Sean Yesmunt
parent e39a070789
commit 8a1ebd33a7
5 changed files with 18 additions and 10 deletions

View file

@ -127,8 +127,8 @@
"husky": "^0.14.3",
"json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#861880a029a748bb4300bec9b16b7136ac51c5c3",
"lbryinc": "lbryio/lbryinc#f962cdf31a4c36f7bdb8b71fc403a3377d58a460",
"lbry-redux": "lbryio/lbry-redux#03d53fb4ddadc8dc469670cf75a624d0bca354f2",
"lbryinc": "lbryio/lbryinc#896fafccef1ecc711d3ca7f1e8088cc87d38b45d",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",
"lodash-es": "^4.17.14",
@ -203,7 +203,7 @@
"yarn": "^1.3"
},
"lbrySettings": {
"lbrynetDaemonVersion": "0.43.3",
"lbrynetDaemonVersion": "0.45.0",
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
"lbrynetDaemonDir": "static/daemon",
"lbrynetDaemonFileName": "lbrynet"

View file

@ -3,7 +3,7 @@ import path from 'path';
import { unpackDirectory } from 'lbry-format';
async function unpackByOutpoint(lbry, outpoint) {
const claimFiles = await lbry.file_list({ outpoint, full_status: true });
const { items: claimFiles } = await lbry.file_list({ outpoint, full_status: true, page: 1, page_size: 1 });
if (claimFiles && claimFiles.length) {
const claimFileInfo = claimFiles[0];

View file

@ -48,7 +48,11 @@ export function doUpdateLoadStatus(uri: string, outpoint: string) {
Lbry.file_list({
outpoint,
full_status: true,
}).then(([fileInfo]) => {
page: 1,
page_size: 1,
}).then(result => {
const { items: fileInfos } = result;
const fileInfo = fileInfos[0];
if (!fileInfo || fileInfo.written_bytes === 0) {
// download hasn't started yet
setNextStatusUpdate();

View file

@ -852,5 +852,9 @@
"Your %publishMessage% pending on LBRY. It will take a few minutes to appear for other users.": "Your %publishMessage% pending on LBRY. It will take a few minutes to appear for other users.",
"Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!": "Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!",
"Are you sure want to revoke this claim?": "Are you sure want to revoke this claim?",
"This will prevent others from resolving and accessing the content you published. It will return the LBC to your spendable balance, less a small transaction fee.": "This will prevent others from resolving and accessing the content you published. It will return the LBC to your spendable balance, less a small transaction fee."
"This will prevent others from resolving and accessing the content you published. It will return the LBC to your spendable balance, less a small transaction fee.": "This will prevent others from resolving and accessing the content you published. It will return the LBC to your spendable balance, less a small transaction fee.",
"No results for %query%": "No results for %query%",
"You haven't downloaded anything from LBRY yet.": "You haven't downloaded anything from LBRY yet.",
"Explore new content": "Explore new content",
"Use this address to receive LBC.": "Use this address to receive LBC."
}

View file

@ -6843,17 +6843,17 @@ lazy-val@^1.0.3, lazy-val@^1.0.4:
yargs "^13.2.2"
zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#861880a029a748bb4300bec9b16b7136ac51c5c3:
lbry-redux@lbryio/lbry-redux#ec2b44d053326fb0476facb4ab70c29e42eb7286:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/861880a029a748bb4300bec9b16b7136ac51c5c3"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/ec2b44d053326fb0476facb4ab70c29e42eb7286"
dependencies:
proxy-polyfill "0.1.6"
reselect "^3.0.0"
uuid "^3.3.2"
lbryinc@lbryio/lbryinc#f962cdf31a4c36f7bdb8b71fc403a3377d58a460:
lbryinc@lbryio/lbryinc#896fafccef1ecc711d3ca7f1e8088cc87d38b45d:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/f962cdf31a4c36f7bdb8b71fc403a3377d58a460"
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/896fafccef1ecc711d3ca7f1e8088cc87d38b45d"
dependencies:
reselect "^3.0.0"