Merge pull request #34 from lbryio/sdk

fix for v0.36 sdk
This commit is contained in:
Sean Yesmunt 2019-04-23 10:35:58 -04:00 committed by GitHub
commit bb6be90560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

2
dist/bundle.es.js vendored
View file

@ -1805,7 +1805,7 @@ function doFetchCostInfoForUri(uri) {
});
}
const fee = claim.value && claim.value.stream && claim.value.stream.metadata ? claim.value.stream.metadata.fee : undefined;
const fee = claim.value ? claim.value.fee : undefined;
if (fee === undefined) {
resolve({

2
dist/bundle.js vendored
View file

@ -3157,7 +3157,7 @@ function doFetchCostInfoForUri(uri) {
});
}
var fee = claim.value && claim.value.stream && claim.value.stream.metadata ? claim.value.stream.metadata.fee : undefined;
var fee = claim.value ? claim.value.fee : undefined;
if (fee === undefined) {
resolve({

View file

@ -20,10 +20,7 @@ export function doFetchCostInfoForUri(uri) {
});
}
const fee =
claim.value && claim.value.stream && claim.value.stream.metadata
? claim.value.stream.metadata.fee
: undefined;
const fee = claim.value ? claim.value.fee : undefined;
if (fee === undefined) {
resolve({ cost: 0, includesData: true });