@pioneer-platform/pioneer-balance 8.3.31 → 8.3.32

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -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.cosmos.getBalance(pubkey.address)];
237
+ return [4 /*yield*/, this.networks.networks.osmosis.getBalance(pubkey.address)];
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.thorchain.getBalance(pubkey.address)];
245
+ return [4 /*yield*/, this.networks.networks.cosmos.getBalance(pubkey.address)];
246
246
  case 9:
247
247
  result = _c.sent();
248
248
  console.log(tag, 'result: ', result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-balance",
3
- "version": "8.3.31",
3
+ "version": "8.3.32",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "scripts": {
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@pioneer-platform/pioneer-caip": "^9.2.34",
18
- "@pioneer-platform/pioneer-network": "^8.3.24",
18
+ "@pioneer-platform/pioneer-network": "^8.3.26",
19
19
  "@types/node": "^18.15.11",
20
20
  "events": "^3.3.0",
21
21
  "socket.io-client": "^4.5.4",