From 145e936cfc50bb6b073491425ea420ea01738c39 Mon Sep 17 00:00:00 2001 From: jessop Date: Thu, 2 May 2019 16:22:36 -0400 Subject: [PATCH 1/2] changes claim_list_mine to claim_list --- src/rewards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rewards.js b/src/rewards.js index 2099b9d..22deb19 100644 --- a/src/rewards.js +++ b/src/rewards.js @@ -53,7 +53,7 @@ rewards.claimReward = (type, rewardParams) => { switch (type) { case rewards.TYPE_FIRST_CHANNEL: - Lbry.claim_list_mine() + Lbry.claim_list() .then(claims => { const claim = claims.find( foundClaim => @@ -73,7 +73,7 @@ rewards.claimReward = (type, rewardParams) => { break; case rewards.TYPE_FIRST_PUBLISH: - Lbry.claim_list_mine() + Lbry.claim_list() .then(claims => { const claim = claims.find( foundClaim => From 9cbf3a98923eaa670a3cba99a51012e775f3291a Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 7 May 2019 14:30:06 -0400 Subject: [PATCH 2/2] update build --- dist/bundle.es.js | 4 ++-- dist/bundle.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 3aed434..94e8a0d 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -400,7 +400,7 @@ rewards.claimReward = (type, rewardParams) => { switch (type) { case rewards.TYPE_FIRST_CHANNEL: - lbryRedux.Lbry.claim_list_mine().then(claims => { + lbryRedux.Lbry.claim_list().then(claims => { const claim = claims.find(foundClaim => foundClaim.name.length && foundClaim.name[0] === '@' && foundClaim.txid.length && foundClaim.type === 'claim'); if (claim) { @@ -413,7 +413,7 @@ rewards.claimReward = (type, rewardParams) => { break; case rewards.TYPE_FIRST_PUBLISH: - lbryRedux.Lbry.claim_list_mine().then(claims => { + lbryRedux.Lbry.claim_list().then(claims => { const claim = claims.find(foundClaim => foundClaim.name.length && foundClaim.name[0] !== '@' && foundClaim.txid.length && foundClaim.type === 'claim'); if (claim) { diff --git a/dist/bundle.js b/dist/bundle.js index d80f300..7ce97c6 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1081,7 +1081,7 @@ rewards.claimReward = function (type, rewardParams) { switch (type) { case rewards.TYPE_FIRST_CHANNEL: - lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].claim_list_mine().then(function (claims) { + lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].claim_list().then(function (claims) { var claim = claims.find(function (foundClaim) { return foundClaim.name.length && foundClaim.name[0] === '@' && foundClaim.txid.length && foundClaim.type === 'claim'; }); @@ -1096,7 +1096,7 @@ rewards.claimReward = function (type, rewardParams) { break; case rewards.TYPE_FIRST_PUBLISH: - lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].claim_list_mine().then(function (claims) { + lbry_redux__WEBPACK_IMPORTED_MODULE_0__["Lbry"].claim_list().then(function (claims) { var claim = claims.find(function (foundClaim) { return foundClaim.name.length && foundClaim.name[0] !== '@' && foundClaim.txid.length && foundClaim.type === 'claim'; });