Merge pull request #37 from lbryio/claimlist

changes claim_list_mine to claim_list
This commit is contained in:
Sean Yesmunt 2019-05-07 14:31:47 -04:00 committed by GitHub
commit 43d382d9b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

4
dist/bundle.es.js vendored
View file

@ -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) {

4
dist/bundle.js vendored
View file

@ -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';
});

View file

@ -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 =>