maint: support 0.44 SDK
This commit is contained in:
parent
e39a070789
commit
8a1ebd33a7
5 changed files with 18 additions and 10 deletions
|
@ -127,8 +127,8 @@
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"json-loader": "^0.5.4",
|
"json-loader": "^0.5.4",
|
||||||
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
||||||
"lbry-redux": "lbryio/lbry-redux#861880a029a748bb4300bec9b16b7136ac51c5c3",
|
"lbry-redux": "lbryio/lbry-redux#03d53fb4ddadc8dc469670cf75a624d0bca354f2",
|
||||||
"lbryinc": "lbryio/lbryinc#f962cdf31a4c36f7bdb8b71fc403a3377d58a460",
|
"lbryinc": "lbryio/lbryinc#896fafccef1ecc711d3ca7f1e8088cc87d38b45d",
|
||||||
"lint-staged": "^7.0.2",
|
"lint-staged": "^7.0.2",
|
||||||
"localforage": "^1.7.1",
|
"localforage": "^1.7.1",
|
||||||
"lodash-es": "^4.17.14",
|
"lodash-es": "^4.17.14",
|
||||||
|
@ -203,7 +203,7 @@
|
||||||
"yarn": "^1.3"
|
"yarn": "^1.3"
|
||||||
},
|
},
|
||||||
"lbrySettings": {
|
"lbrySettings": {
|
||||||
"lbrynetDaemonVersion": "0.43.3",
|
"lbrynetDaemonVersion": "0.45.0",
|
||||||
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
||||||
"lbrynetDaemonDir": "static/daemon",
|
"lbrynetDaemonDir": "static/daemon",
|
||||||
"lbrynetDaemonFileName": "lbrynet"
|
"lbrynetDaemonFileName": "lbrynet"
|
||||||
|
|
|
@ -3,7 +3,7 @@ import path from 'path';
|
||||||
import { unpackDirectory } from 'lbry-format';
|
import { unpackDirectory } from 'lbry-format';
|
||||||
|
|
||||||
async function unpackByOutpoint(lbry, outpoint) {
|
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) {
|
if (claimFiles && claimFiles.length) {
|
||||||
const claimFileInfo = claimFiles[0];
|
const claimFileInfo = claimFiles[0];
|
||||||
|
|
|
@ -48,7 +48,11 @@ export function doUpdateLoadStatus(uri: string, outpoint: string) {
|
||||||
Lbry.file_list({
|
Lbry.file_list({
|
||||||
outpoint,
|
outpoint,
|
||||||
full_status: true,
|
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) {
|
if (!fileInfo || fileInfo.written_bytes === 0) {
|
||||||
// download hasn't started yet
|
// download hasn't started yet
|
||||||
setNextStatusUpdate();
|
setNextStatusUpdate();
|
||||||
|
|
|
@ -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.",
|
"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!",
|
"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?",
|
"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."
|
||||||
}
|
}
|
|
@ -6843,17 +6843,17 @@ lazy-val@^1.0.3, lazy-val@^1.0.4:
|
||||||
yargs "^13.2.2"
|
yargs "^13.2.2"
|
||||||
zstd-codec "^0.1.1"
|
zstd-codec "^0.1.1"
|
||||||
|
|
||||||
lbry-redux@lbryio/lbry-redux#861880a029a748bb4300bec9b16b7136ac51c5c3:
|
lbry-redux@lbryio/lbry-redux#ec2b44d053326fb0476facb4ab70c29e42eb7286:
|
||||||
version "0.0.1"
|
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:
|
dependencies:
|
||||||
proxy-polyfill "0.1.6"
|
proxy-polyfill "0.1.6"
|
||||||
reselect "^3.0.0"
|
reselect "^3.0.0"
|
||||||
uuid "^3.3.2"
|
uuid "^3.3.2"
|
||||||
|
|
||||||
lbryinc@lbryio/lbryinc#f962cdf31a4c36f7bdb8b71fc403a3377d58a460:
|
lbryinc@lbryio/lbryinc#896fafccef1ecc711d3ca7f1e8088cc87d38b45d:
|
||||||
version "0.0.1"
|
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:
|
dependencies:
|
||||||
reselect "^3.0.0"
|
reselect "^3.0.0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue