Compare commits
1 commit
master
...
channel_si
Author | SHA1 | Date | |
---|---|---|---|
|
b2cd195b14 |
5 changed files with 24 additions and 9 deletions
1
dist/bundle.es.js
vendored
1
dist/bundle.es.js
vendored
|
@ -1064,6 +1064,7 @@ const Lbry = {
|
||||||
stream_abandon: params => daemonCallWithResult('stream_abandon', params),
|
stream_abandon: params => daemonCallWithResult('stream_abandon', params),
|
||||||
stream_list: params => daemonCallWithResult('stream_list', params),
|
stream_list: params => daemonCallWithResult('stream_list', params),
|
||||||
channel_abandon: params => daemonCallWithResult('channel_abandon', params),
|
channel_abandon: params => daemonCallWithResult('channel_abandon', params),
|
||||||
|
channel_sign: params => daemonCallWithResult('channel_sign', params),
|
||||||
support_create: params => daemonCallWithResult('support_create', params),
|
support_create: params => daemonCallWithResult('support_create', params),
|
||||||
support_list: params => daemonCallWithResult('support_list', params),
|
support_list: params => daemonCallWithResult('support_list', params),
|
||||||
stream_repost: params => daemonCallWithResult('stream_repost', params),
|
stream_repost: params => daemonCallWithResult('stream_repost', params),
|
||||||
|
|
14
dist/flow-typed/Lbry.js
vendored
14
dist/flow-typed/Lbry.js
vendored
|
@ -137,8 +137,8 @@ declare type CommentListResponse = {
|
||||||
|
|
||||||
declare type MyReactions = {
|
declare type MyReactions = {
|
||||||
// Keys are the commentId
|
// Keys are the commentId
|
||||||
[string]: Array<string>
|
[string]: Array<string>,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type OthersReactions = {
|
declare type OthersReactions = {
|
||||||
// Keys are the commentId
|
// Keys are the commentId
|
||||||
|
@ -146,12 +146,12 @@ declare type OthersReactions = {
|
||||||
// Keys are the reaction_type, e.g. 'like'
|
// Keys are the reaction_type, e.g. 'like'
|
||||||
[string]: number,
|
[string]: number,
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentReactListResponse = {
|
declare type CommentReactListResponse = {
|
||||||
my_reactions: Array<MyReactions>,
|
my_reactions: Array<MyReactions>,
|
||||||
others_reactions: Array<OthersReactions>,
|
others_reactions: Array<OthersReactions>,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentHideResponse = {
|
declare type CommentHideResponse = {
|
||||||
// keyed by the CommentIds entered
|
// keyed by the CommentIds entered
|
||||||
|
@ -176,6 +176,11 @@ declare type ChannelListResponse = {
|
||||||
total_pages: number,
|
total_pages: number,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type ChannelSignResponse = {
|
||||||
|
signature: string,
|
||||||
|
signing_ts: string,
|
||||||
|
};
|
||||||
|
|
||||||
declare type FileListResponse = {
|
declare type FileListResponse = {
|
||||||
items: Array<FileListItem>,
|
items: Array<FileListItem>,
|
||||||
page: number,
|
page: number,
|
||||||
|
@ -285,6 +290,7 @@ declare type LbryTypes = {
|
||||||
channel_update: (params: {}) => Promise<ChannelUpdateResponse>,
|
channel_update: (params: {}) => Promise<ChannelUpdateResponse>,
|
||||||
channel_import: (params: {}) => Promise<string>,
|
channel_import: (params: {}) => Promise<string>,
|
||||||
channel_list: (params: {}) => Promise<ChannelListResponse>,
|
channel_list: (params: {}) => Promise<ChannelListResponse>,
|
||||||
|
channel_sign: (params: {}) => Promise<ChannelSignResponse>,
|
||||||
stream_abandon: (params: {}) => Promise<GenericTxResponse>,
|
stream_abandon: (params: {}) => Promise<GenericTxResponse>,
|
||||||
stream_list: (params: {}) => Promise<StreamListResponse>,
|
stream_list: (params: {}) => Promise<StreamListResponse>,
|
||||||
channel_abandon: (params: {}) => Promise<GenericTxResponse>,
|
channel_abandon: (params: {}) => Promise<GenericTxResponse>,
|
||||||
|
|
14
flow-typed/Lbry.js
vendored
14
flow-typed/Lbry.js
vendored
|
@ -137,8 +137,8 @@ declare type CommentListResponse = {
|
||||||
|
|
||||||
declare type MyReactions = {
|
declare type MyReactions = {
|
||||||
// Keys are the commentId
|
// Keys are the commentId
|
||||||
[string]: Array<string>
|
[string]: Array<string>,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type OthersReactions = {
|
declare type OthersReactions = {
|
||||||
// Keys are the commentId
|
// Keys are the commentId
|
||||||
|
@ -146,12 +146,12 @@ declare type OthersReactions = {
|
||||||
// Keys are the reaction_type, e.g. 'like'
|
// Keys are the reaction_type, e.g. 'like'
|
||||||
[string]: number,
|
[string]: number,
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentReactListResponse = {
|
declare type CommentReactListResponse = {
|
||||||
my_reactions: Array<MyReactions>,
|
my_reactions: Array<MyReactions>,
|
||||||
others_reactions: Array<OthersReactions>,
|
others_reactions: Array<OthersReactions>,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentHideResponse = {
|
declare type CommentHideResponse = {
|
||||||
// keyed by the CommentIds entered
|
// keyed by the CommentIds entered
|
||||||
|
@ -176,6 +176,11 @@ declare type ChannelListResponse = {
|
||||||
total_pages: number,
|
total_pages: number,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type ChannelSignResponse = {
|
||||||
|
signature: string,
|
||||||
|
signing_ts: string,
|
||||||
|
};
|
||||||
|
|
||||||
declare type FileListResponse = {
|
declare type FileListResponse = {
|
||||||
items: Array<FileListItem>,
|
items: Array<FileListItem>,
|
||||||
page: number,
|
page: number,
|
||||||
|
@ -285,6 +290,7 @@ declare type LbryTypes = {
|
||||||
channel_update: (params: {}) => Promise<ChannelUpdateResponse>,
|
channel_update: (params: {}) => Promise<ChannelUpdateResponse>,
|
||||||
channel_import: (params: {}) => Promise<string>,
|
channel_import: (params: {}) => Promise<string>,
|
||||||
channel_list: (params: {}) => Promise<ChannelListResponse>,
|
channel_list: (params: {}) => Promise<ChannelListResponse>,
|
||||||
|
channel_sign: (params: {}) => Promise<ChannelSignResponse>,
|
||||||
stream_abandon: (params: {}) => Promise<GenericTxResponse>,
|
stream_abandon: (params: {}) => Promise<GenericTxResponse>,
|
||||||
stream_list: (params: {}) => Promise<StreamListResponse>,
|
stream_list: (params: {}) => Promise<StreamListResponse>,
|
||||||
channel_abandon: (params: {}) => Promise<GenericTxResponse>,
|
channel_abandon: (params: {}) => Promise<GenericTxResponse>,
|
||||||
|
|
|
@ -86,6 +86,7 @@ const Lbry: LbryTypes = {
|
||||||
stream_abandon: params => daemonCallWithResult('stream_abandon', params),
|
stream_abandon: params => daemonCallWithResult('stream_abandon', params),
|
||||||
stream_list: params => daemonCallWithResult('stream_list', params),
|
stream_list: params => daemonCallWithResult('stream_list', params),
|
||||||
channel_abandon: params => daemonCallWithResult('channel_abandon', params),
|
channel_abandon: params => daemonCallWithResult('channel_abandon', params),
|
||||||
|
channel_sign: params => daemonCallWithResult('channel_sign', params),
|
||||||
support_create: params => daemonCallWithResult('support_create', params),
|
support_create: params => daemonCallWithResult('support_create', params),
|
||||||
support_list: params => daemonCallWithResult('support_list', params),
|
support_list: params => daemonCallWithResult('support_list', params),
|
||||||
stream_repost: params => daemonCallWithResult('stream_repost', params),
|
stream_repost: params => daemonCallWithResult('stream_repost', params),
|
||||||
|
|
|
@ -10,6 +10,7 @@ import {
|
||||||
selectClaimsByUri,
|
selectClaimsByUri,
|
||||||
selectMyChannelClaims,
|
selectMyChannelClaims,
|
||||||
selectPendingIds,
|
selectPendingIds,
|
||||||
|
selectClaimsById,
|
||||||
} from 'redux/selectors/claims';
|
} from 'redux/selectors/claims';
|
||||||
import { doFetchTxoPage } from 'redux/actions/wallet';
|
import { doFetchTxoPage } from 'redux/actions/wallet';
|
||||||
import { selectSupportsByOutpoint } from 'redux/selectors/wallet';
|
import { selectSupportsByOutpoint } from 'redux/selectors/wallet';
|
||||||
|
@ -64,7 +65,7 @@ export function doResolveUris(
|
||||||
} = {};
|
} = {};
|
||||||
|
|
||||||
return Lbry.resolve({ urls: urisToResolve, ...options }).then(
|
return Lbry.resolve({ urls: urisToResolve, ...options }).then(
|
||||||
async(result: ResolveResponse) => {
|
async (result: ResolveResponse) => {
|
||||||
let repostedResults = {};
|
let repostedResults = {};
|
||||||
const repostsToResolve = [];
|
const repostsToResolve = [];
|
||||||
const fallbackResolveInfo = {
|
const fallbackResolveInfo = {
|
||||||
|
|
Loading…
Reference in a new issue