doFetchTransactions: bump pageSize to 999999; remove doFetchSupport #408

Merged
infinite-persistence merged 1 commit from ip/bump-transaction-page-size into master 2021-04-26 21:11:24 +02:00
2 changed files with 2 additions and 21 deletions

20
dist/bundle.es.js vendored
View file

@ -2906,9 +2906,8 @@ function doBalanceSubscribe() {
};
}
function doFetchTransactions(page = 1, pageSize = 99999) {
function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: FETCH_TRANSACTIONS_STARTED
});
@ -2990,23 +2989,6 @@ function doUpdateTxoPageParams(params) {
};
}
function doFetchSupports(page = 1, pageSize = 99999) {
return dispatch => {
dispatch({
type: FETCH_SUPPORTS_STARTED
});
lbryProxy.support_list({ page, page_size: pageSize }).then(result => {
dispatch({
type: FETCH_SUPPORTS_COMPLETED,
data: {
supports: result.items
}
});
});
};
}
function doFetchUtxoCounts() {
return (() => {
var _ref = _asyncToGenerator(function* (dispatch) {

View file

@ -61,9 +61,8 @@ export function doBalanceSubscribe() {
};
}
export function doFetchTransactions(page = 1, pageSize = 99999) {
export function doFetchTransactions(page = 1, pageSize = 999999) {
return dispatch => {
dispatch(doFetchSupports());
dispatch({
type: ACTIONS.FETCH_TRANSACTIONS_STARTED,
});