@aurigami/sdk 1.12.0-beta5 → 1.12.1-beta1
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.
- package/dist/sdk.cjs.development.js +3 -10
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +3 -10
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/a.ts.log +29 -0
- package/src/interactors/Referral.ts +4 -10
|
@@ -5284,10 +5284,9 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
5284
5284
|
refereeAddress: null
|
|
5285
5285
|
};
|
|
5286
5286
|
});
|
|
5287
|
-
items = [referralRewardDummy1, referralRewardDummy2].concat(items);
|
|
5288
5287
|
return _context5.abrupt("return", items);
|
|
5289
5288
|
|
|
5290
|
-
case
|
|
5289
|
+
case 5:
|
|
5291
5290
|
case "end":
|
|
5292
5291
|
return _context5.stop();
|
|
5293
5292
|
}
|
|
@@ -5479,19 +5478,13 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
5479
5478
|
|
|
5480
5479
|
_proto.isOnAuroraPlus = /*#__PURE__*/function () {
|
|
5481
5480
|
var _isOnAuroraPlus = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(address) {
|
|
5482
|
-
var resp;
|
|
5483
5481
|
return runtime_1.wrap(function _callee10$(_context10) {
|
|
5484
5482
|
while (1) {
|
|
5485
5483
|
switch (_context10.prev = _context10.next) {
|
|
5486
5484
|
case 0:
|
|
5487
|
-
_context10.
|
|
5488
|
-
return axios.get(AURORA_PLUS_API_PREFIX + address);
|
|
5485
|
+
return _context10.abrupt("return", true);
|
|
5489
5486
|
|
|
5490
|
-
case
|
|
5491
|
-
resp = _context10.sent;
|
|
5492
|
-
return _context10.abrupt("return", resp.data.status == 'active');
|
|
5493
|
-
|
|
5494
|
-
case 4:
|
|
5487
|
+
case 1:
|
|
5495
5488
|
case "end":
|
|
5496
5489
|
return _context10.stop();
|
|
5497
5490
|
}
|