@aurigami/sdk 1.12.1-beta1 → 1.12.1
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 +8 -2
- 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 +8 -2
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/interactors/Referral.ts +4 -4
|
@@ -5478,13 +5478,19 @@ var ReferralRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
5478
5478
|
|
|
5479
5479
|
_proto.isOnAuroraPlus = /*#__PURE__*/function () {
|
|
5480
5480
|
var _isOnAuroraPlus = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(address) {
|
|
5481
|
+
var resp;
|
|
5481
5482
|
return runtime_1.wrap(function _callee10$(_context10) {
|
|
5482
5483
|
while (1) {
|
|
5483
5484
|
switch (_context10.prev = _context10.next) {
|
|
5484
5485
|
case 0:
|
|
5485
|
-
|
|
5486
|
+
_context10.next = 2;
|
|
5487
|
+
return axios.get(AURORA_PLUS_API_PREFIX + address);
|
|
5486
5488
|
|
|
5487
|
-
case
|
|
5489
|
+
case 2:
|
|
5490
|
+
resp = _context10.sent;
|
|
5491
|
+
return _context10.abrupt("return", resp.data.status == 'active');
|
|
5492
|
+
|
|
5493
|
+
case 4:
|
|
5488
5494
|
case "end":
|
|
5489
5495
|
return _context10.stop();
|
|
5490
5496
|
}
|