@cryptorubic/core 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/core",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "bignumber.js": "9.1.2",
@@ -8,7 +8,7 @@ class TokenAmount extends token_1.Token {
8
8
  return this._weiAmount;
9
9
  }
10
10
  get stringWeiAmount() {
11
- return this._weiAmount.toString();
11
+ return this._weiAmount.toFixed(0);
12
12
  }
13
13
  get tokenAmount() {
14
14
  const divider = new bignumber_js_1.default(10).pow(this.decimals);