@pioneer-platform/pioneer-balance 8.3.35 → 8.3.36
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/lib/index.js +4 -4
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -226,7 +226,7 @@ var Balance = /** @class */ (function () {
|
|
226
226
|
case 4:
|
227
227
|
console.log(tag, 'Tendermint transaction');
|
228
228
|
if (!(asset.caip === 'cosmos:mayachain-mainnet-v1/slip44:931')) return [3 /*break*/, 6];
|
229
|
-
return [4 /*yield*/, this.networks.networks.mayachain.getBalance(pubkey.
|
229
|
+
return [4 /*yield*/, this.networks.networks.mayachain.getBalance(pubkey.pubkey)];
|
230
230
|
case 5:
|
231
231
|
result = _c.sent();
|
232
232
|
asset.balance = result;
|
@@ -234,7 +234,7 @@ var Balance = /** @class */ (function () {
|
|
234
234
|
_c.label = 6;
|
235
235
|
case 6:
|
236
236
|
if (!(asset.caip === 'cosmos:osmosis-1/slip44:118')) return [3 /*break*/, 8];
|
237
|
-
return [4 /*yield*/, this.networks.networks.osmosis.getBalance(pubkey.
|
237
|
+
return [4 /*yield*/, this.networks.networks.osmosis.getBalance(pubkey.pubkey)];
|
238
238
|
case 7:
|
239
239
|
result = _c.sent();
|
240
240
|
console.log(tag, 'result: ', result);
|
@@ -242,7 +242,7 @@ var Balance = /** @class */ (function () {
|
|
242
242
|
_c.label = 8;
|
243
243
|
case 8:
|
244
244
|
if (!(asset.caip === 'cosmos:cosmoshub-4/slip44:118')) return [3 /*break*/, 10];
|
245
|
-
return [4 /*yield*/, this.networks.networks.cosmos.getBalance(pubkey.
|
245
|
+
return [4 /*yield*/, this.networks.networks.cosmos.getBalance(pubkey.pubkey)];
|
246
246
|
case 9:
|
247
247
|
result = _c.sent();
|
248
248
|
console.log(tag, 'result: ', result);
|
@@ -250,7 +250,7 @@ var Balance = /** @class */ (function () {
|
|
250
250
|
_c.label = 10;
|
251
251
|
case 10:
|
252
252
|
if (!(asset.caip === 'cosmos:thorchain-mainnet-v1/slip44:931')) return [3 /*break*/, 12];
|
253
|
-
return [4 /*yield*/, this.networks.networks.thorchain.getBalance(pubkey.
|
253
|
+
return [4 /*yield*/, this.networks.networks.thorchain.getBalance(pubkey.pubkey)];
|
254
254
|
case 11:
|
255
255
|
result = _c.sent();
|
256
256
|
console.log(tag, 'result: ', result);
|