@aurigami/sdk 1.6.9 → 1.6.10
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.d.ts +2 -2
- package/dist/contracts/misc.d.ts +2 -2
- package/dist/sdk.cjs.development.js +15 -12
- 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 +15 -12
- package/dist/sdk.esm.js.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/SDK.ts +3 -3
- package/src/contracts/misc.ts +7 -4
- package/src/types/index.ts +5 -0
package/dist/sdk.esm.js
CHANGED
|
@@ -3940,8 +3940,8 @@ var MiscRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3940
3940
|
return getPlyCirculatingSupply;
|
|
3941
3941
|
}();
|
|
3942
3942
|
|
|
3943
|
-
_proto.
|
|
3944
|
-
var
|
|
3943
|
+
_proto.getUtilisation = /*#__PURE__*/function () {
|
|
3944
|
+
var _getUtilisation = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(userAddr) {
|
|
3945
3945
|
var accountDetail, sumBorrow, sumCol;
|
|
3946
3946
|
return runtime_1.wrap(function _callee4$(_context4) {
|
|
3947
3947
|
while (1) {
|
|
@@ -3964,11 +3964,11 @@ var MiscRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3964
3964
|
}, _callee4, this);
|
|
3965
3965
|
}));
|
|
3966
3966
|
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
3967
|
+
function getUtilisation(_x3) {
|
|
3968
|
+
return _getUtilisation.apply(this, arguments);
|
|
3969
3969
|
}
|
|
3970
3970
|
|
|
3971
|
-
return
|
|
3971
|
+
return getUtilisation;
|
|
3972
3972
|
}();
|
|
3973
3973
|
|
|
3974
3974
|
_proto.sneakAccounts = /*#__PURE__*/function () {
|
|
@@ -4046,7 +4046,10 @@ var MiscRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4046
4046
|
break;
|
|
4047
4047
|
|
|
4048
4048
|
case 30:
|
|
4049
|
-
res.push(
|
|
4049
|
+
res.push({
|
|
4050
|
+
address: addr,
|
|
4051
|
+
tokens: infos
|
|
4052
|
+
});
|
|
4050
4053
|
|
|
4051
4054
|
case 31:
|
|
4052
4055
|
_context5.next = 12;
|
|
@@ -4517,13 +4520,13 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4517
4520
|
return getPlyCirculatingSupply;
|
|
4518
4521
|
}();
|
|
4519
4522
|
|
|
4520
|
-
_proto.
|
|
4521
|
-
var
|
|
4523
|
+
_proto.getUtilisation = /*#__PURE__*/function () {
|
|
4524
|
+
var _getUtilisation = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee8(userAddr) {
|
|
4522
4525
|
return runtime_1.wrap(function _callee8$(_context8) {
|
|
4523
4526
|
while (1) {
|
|
4524
4527
|
switch (_context8.prev = _context8.next) {
|
|
4525
4528
|
case 0:
|
|
4526
|
-
return _context8.abrupt("return", this._misc.
|
|
4529
|
+
return _context8.abrupt("return", this._misc.getUtilisation(userAddr));
|
|
4527
4530
|
|
|
4528
4531
|
case 1:
|
|
4529
4532
|
case "end":
|
|
@@ -4533,11 +4536,11 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
4533
4536
|
}, _callee8, this);
|
|
4534
4537
|
}));
|
|
4535
4538
|
|
|
4536
|
-
function
|
|
4537
|
-
return
|
|
4539
|
+
function getUtilisation(_x6) {
|
|
4540
|
+
return _getUtilisation.apply(this, arguments);
|
|
4538
4541
|
}
|
|
4539
4542
|
|
|
4540
|
-
return
|
|
4543
|
+
return getUtilisation;
|
|
4541
4544
|
}();
|
|
4542
4545
|
|
|
4543
4546
|
_proto.sneakAccounts = /*#__PURE__*/function () {
|