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