Merge pull request #37 from lbryio/claimlist
changes claim_list_mine to claim_list
This commit is contained in:
commit
43d382d9b7
3 changed files with 6 additions and 6 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -400,7 +400,7 @@ rewards.claimReward = (type, rewardParams) => {
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case rewards.TYPE_FIRST_CHANNEL:
|
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');
|
const claim = claims.find(foundClaim => foundClaim.name.length && foundClaim.name[0] === '@' && foundClaim.txid.length && foundClaim.type === 'claim');
|
||||||
|
|
||||||
if (claim) {
|
if (claim) {
|
||||||
|
@ -413,7 +413,7 @@ rewards.claimReward = (type, rewardParams) => {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case rewards.TYPE_FIRST_PUBLISH:
|
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');
|
const claim = claims.find(foundClaim => foundClaim.name.length && foundClaim.name[0] !== '@' && foundClaim.txid.length && foundClaim.type === 'claim');
|
||||||
|
|
||||||
if (claim) {
|
if (claim) {
|
||||||
|
|
4
dist/bundle.js
vendored
4
dist/bundle.js
vendored
|
@ -1081,7 +1081,7 @@ rewards.claimReward = function (type, rewardParams) {
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case rewards.TYPE_FIRST_CHANNEL:
|
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) {
|
var claim = claims.find(function (foundClaim) {
|
||||||
return foundClaim.name.length && foundClaim.name[0] === '@' && foundClaim.txid.length && foundClaim.type === 'claim';
|
return foundClaim.name.length && foundClaim.name[0] === '@' && foundClaim.txid.length && foundClaim.type === 'claim';
|
||||||
});
|
});
|
||||||
|
@ -1096,7 +1096,7 @@ rewards.claimReward = function (type, rewardParams) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case rewards.TYPE_FIRST_PUBLISH:
|
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) {
|
var claim = claims.find(function (foundClaim) {
|
||||||
return foundClaim.name.length && foundClaim.name[0] !== '@' && foundClaim.txid.length && foundClaim.type === 'claim';
|
return foundClaim.name.length && foundClaim.name[0] !== '@' && foundClaim.txid.length && foundClaim.type === 'claim';
|
||||||
});
|
});
|
||||||
|
|
|
@ -53,7 +53,7 @@ rewards.claimReward = (type, rewardParams) => {
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case rewards.TYPE_FIRST_CHANNEL:
|
case rewards.TYPE_FIRST_CHANNEL:
|
||||||
Lbry.claim_list_mine()
|
Lbry.claim_list()
|
||||||
.then(claims => {
|
.then(claims => {
|
||||||
const claim = claims.find(
|
const claim = claims.find(
|
||||||
foundClaim =>
|
foundClaim =>
|
||||||
|
@ -73,7 +73,7 @@ rewards.claimReward = (type, rewardParams) => {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case rewards.TYPE_FIRST_PUBLISH:
|
case rewards.TYPE_FIRST_PUBLISH:
|
||||||
Lbry.claim_list_mine()
|
Lbry.claim_list()
|
||||||
.then(claims => {
|
.then(claims => {
|
||||||
const claim = claims.find(
|
const claim = claims.find(
|
||||||
foundClaim =>
|
foundClaim =>
|
||||||
|
|
Loading…
Reference in a new issue