Merge pull request #156 from lbryio/valid_channel_signatures_rename
claim_search --valid_channel_signatures was renamed to --valid_channel_signature
This commit is contained in:
commit
3c862e72b3
3 changed files with 3 additions and 12 deletions
10
dist/bundle.es.js
vendored
10
dist/bundle.es.js
vendored
|
@ -2000,11 +2000,7 @@ function doResolveUris(uris, returnCachedClaims = false) {
|
||||||
result.stream = uriResolveInfo;
|
result.stream = uriResolveInfo;
|
||||||
if (uriResolveInfo.signing_channel) {
|
if (uriResolveInfo.signing_channel) {
|
||||||
result.channel = uriResolveInfo.signing_channel;
|
result.channel = uriResolveInfo.signing_channel;
|
||||||
<<<<<<< HEAD
|
|
||||||
result.claimsInChannel = uriResolveInfo.signing_channel.meta && uriResolveInfo.signing_channel.meta.claims_in_channel || 0;
|
result.claimsInChannel = uriResolveInfo.signing_channel.meta && uriResolveInfo.signing_channel.meta.claims_in_channel || 0;
|
||||||
=======
|
|
||||||
result.claimsInChannel = uriResolveInfo.meta && uriResolveInfo.meta.claims_in_channel || 0;
|
|
||||||
>>>>>>> add tags
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
|
@ -2125,11 +2121,7 @@ function doFetchClaimsByChannel(uri, page = 1) {
|
||||||
|
|
||||||
lbryProxy.claim_search({
|
lbryProxy.claim_search({
|
||||||
channel: uri,
|
channel: uri,
|
||||||
<<<<<<< HEAD
|
valid_channel_signature: true,
|
||||||
valid_channel_signatures: true,
|
|
||||||
=======
|
|
||||||
is_controlling: true,
|
|
||||||
>>>>>>> add tags
|
|
||||||
page: page || 1,
|
page: page || 1,
|
||||||
order_by: ['release_time']
|
order_by: ['release_time']
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
|
3
dist/flow-typed/Claim.js
vendored
3
dist/flow-typed/Claim.js
vendored
|
@ -3,8 +3,7 @@
|
||||||
declare type Claim = StreamClaim | ChannelClaim;
|
declare type Claim = StreamClaim | ChannelClaim;
|
||||||
|
|
||||||
declare type ChannelClaim = GenericClaim & {
|
declare type ChannelClaim = GenericClaim & {
|
||||||
is_channel_signature_valid?: boolean, // we may have signed channels in the future, fixes some flow issues for now.
|
is_channel_signature_valid?: boolean, // we may have signed channels in the future
|
||||||
signing_channel?: ChannelClaim,
|
|
||||||
value: ChannelMetadata,
|
value: ChannelMetadata,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ export function doFetchClaimsByChannel(uri: string, page: number = 1) {
|
||||||
|
|
||||||
Lbry.claim_search({
|
Lbry.claim_search({
|
||||||
channel: uri,
|
channel: uri,
|
||||||
valid_channel_signatures: true,
|
valid_channel_signature: true,
|
||||||
page: page || 1,
|
page: page || 1,
|
||||||
order_by: ['release_time'],
|
order_by: ['release_time'],
|
||||||
}).then((result: ClaimSearchResponse) => {
|
}).then((result: ClaimSearchResponse) => {
|
||||||
|
|
Loading…
Reference in a new issue