From cfbf86e95d5e9183588015281f2eccc29003e24b Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 24 Jun 2019 15:42:53 -0400 Subject: [PATCH 1/2] claim_search --valid_channel_signatures was renamed to --valid_channel_signature --- src/redux/actions/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/actions/claims.js b/src/redux/actions/claims.js index 4ad3728..518f02e 100644 --- a/src/redux/actions/claims.js +++ b/src/redux/actions/claims.js @@ -200,7 +200,7 @@ export function doFetchClaimsByChannel(uri: string, page: number = 1) { Lbry.claim_search({ channel: uri, - valid_channel_signatures: true, + valid_channel_signature: true, page: page || 1, order_by: ['release_time'], }).then((result: ClaimSearchResponse) => { From 9b6912e51f478382d2193ee0d55869c68ed9f23c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 25 Jun 2019 02:37:31 -0400 Subject: [PATCH 2/2] run build --- dist/bundle.es.js | 10 +--------- dist/flow-typed/Claim.js | 3 +-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index bc5368f..71bf2e5 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2000,11 +2000,7 @@ function doResolveUris(uris, returnCachedClaims = false) { result.stream = uriResolveInfo; if (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.meta && uriResolveInfo.meta.claims_in_channel || 0; ->>>>>>> add tags } } // $FlowFixMe @@ -2125,11 +2121,7 @@ function doFetchClaimsByChannel(uri, page = 1) { lbryProxy.claim_search({ channel: uri, -<<<<<<< HEAD - valid_channel_signatures: true, -======= - is_controlling: true, ->>>>>>> add tags + valid_channel_signature: true, page: page || 1, order_by: ['release_time'] }).then(result => { diff --git a/dist/flow-typed/Claim.js b/dist/flow-typed/Claim.js index 20b8ff0..1c61c10 100644 --- a/dist/flow-typed/Claim.js +++ b/dist/flow-typed/Claim.js @@ -3,8 +3,7 @@ declare type Claim = StreamClaim | ChannelClaim; declare type ChannelClaim = GenericClaim & { - is_channel_signature_valid?: boolean, // we may have signed channels in the future, fixes some flow issues for now. - signing_channel?: ChannelClaim, + is_channel_signature_valid?: boolean, // we may have signed channels in the future value: ChannelMetadata, };