fix for v0.36 sdk #34
3 changed files with 3 additions and 6 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -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) {
|
if (fee === undefined) {
|
||||||
resolve({
|
resolve({
|
||||||
|
|
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
|
@ -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) {
|
if (fee === undefined) {
|
||||||
resolve({
|
resolve({
|
||||||
|
|
|
@ -20,10 +20,7 @@ export function doFetchCostInfoForUri(uri) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const fee =
|
const fee = claim.value ? claim.value.fee : undefined;
|
||||||
claim.value && claim.value.stream && claim.value.stream.metadata
|
|
||||||
? claim.value.stream.metadata.fee
|
|
||||||
: undefined;
|
|
||||||
|
|
||||||
if (fee === undefined) {
|
if (fee === undefined) {
|
||||||
resolve({ cost: 0, includesData: true });
|
resolve({ cost: 0, includesData: true });
|
||||||
|
|
Loading…
Reference in a new issue