@pisell/pisellos 0.0.82 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -525,27 +525,29 @@ export var AccountListModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
525
525
|
});
|
|
526
526
|
case 5:
|
|
527
527
|
res = _context9.sent;
|
|
528
|
+
this.store.accountList = [];
|
|
529
|
+
this.store.accounts = [];
|
|
528
530
|
if (!(res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && (_res$data = _res$data.list) !== null && _res$data !== void 0 && _res$data.length)) {
|
|
529
|
-
_context9.next =
|
|
531
|
+
_context9.next = 11;
|
|
530
532
|
break;
|
|
531
533
|
}
|
|
532
|
-
_context9.next =
|
|
534
|
+
_context9.next = 11;
|
|
533
535
|
return this.addHolderAccounts({
|
|
534
536
|
holders: res.data.list,
|
|
535
537
|
customerId: customer_id
|
|
536
538
|
});
|
|
537
|
-
case 9:
|
|
538
|
-
_context9.next = 14;
|
|
539
|
-
break;
|
|
540
539
|
case 11:
|
|
541
|
-
_context9.
|
|
540
|
+
_context9.next = 16;
|
|
541
|
+
break;
|
|
542
|
+
case 13:
|
|
543
|
+
_context9.prev = 13;
|
|
542
544
|
_context9.t0 = _context9["catch"](2);
|
|
543
545
|
console.error(_context9.t0);
|
|
544
|
-
case
|
|
546
|
+
case 16:
|
|
545
547
|
case "end":
|
|
546
548
|
return _context9.stop();
|
|
547
549
|
}
|
|
548
|
-
}, _callee9, this, [[2,
|
|
550
|
+
}, _callee9, this, [[2, 13]]);
|
|
549
551
|
}));
|
|
550
552
|
function fetchHolderAccounts(_x11) {
|
|
551
553
|
return _fetchHolderAccounts.apply(this, arguments);
|
|
@@ -300,6 +300,8 @@ var AccountListModule = class extends import_BaseModule.BaseModule {
|
|
|
300
300
|
num: num || 100,
|
|
301
301
|
skip: skip || 1
|
|
302
302
|
});
|
|
303
|
+
this.store.accountList = [];
|
|
304
|
+
this.store.accounts = [];
|
|
303
305
|
if ((_b = (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.list) == null ? void 0 : _b.length) {
|
|
304
306
|
await this.addHolderAccounts({
|
|
305
307
|
holders: res.data.list,
|