@pioneer-platform/pioneer-balance 8.3.29 → 8.3.30

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 +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -221,7 +221,7 @@ var Balance = /** @class */ (function () {
221
221
  case 3:
222
222
  balance = _b.sent();
223
223
  console.log(tag, "balance: ", balance);
224
- asset.balance = balance;
224
+ asset.balance = (parseFloat(balance) / 1e8).toFixed(8);
225
225
  return [3 /*break*/, 9];
226
226
  case 4:
227
227
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-balance",
3
- "version": "8.3.29",
3
+ "version": "8.3.30",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/main.d.ts",
6
6
  "scripts": {