bigval
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,8 @@ | ||
## [1.1.1](https://github.com/erdDEVcode/bigval/compare/v1.1.0...v1.1.1) (2021-01-09) | ||
### Bug Fixes | ||
* method name ([824cebd](https://github.com/erdDEVcode/bigval/commit/824cebd9a259a515ef536c7c34ee91aae04ac501)) | ||
# [1.1.0](https://github.com/erdDEVcode/bigval/compare/v1.0.2...v1.1.0) (2021-01-09) | ||
@@ -2,0 +9,0 @@ |
@@ -113,5 +113,5 @@ import { Decimal } from 'decimal.js'; | ||
*/ | ||
tominScale(): BigVal; | ||
toMinScale(): BigVal; | ||
/** | ||
* Convert to normal scale. | ||
* Convert to 'coins' scale. | ||
*/ | ||
@@ -118,0 +118,0 @@ toCoinsScale(): BigVal; |
@@ -133,3 +133,3 @@ "use strict"; | ||
*/ | ||
tominScale() { | ||
toMinScale() { | ||
if (this._scale === SCALE.min) { | ||
@@ -145,3 +145,3 @@ return this; | ||
/** | ||
* Convert to normal scale. | ||
* Convert to 'coins' scale. | ||
*/ | ||
@@ -167,3 +167,3 @@ toCoinsScale() { | ||
case SCALE.min: | ||
return this.tominScale(); | ||
return this.toMinScale(); | ||
case SCALE.coins: | ||
@@ -170,0 +170,0 @@ return this.toCoinsScale(); |
@@ -113,5 +113,5 @@ import { Decimal } from 'decimal.js'; | ||
*/ | ||
tominScale(): BigVal; | ||
toMinScale(): BigVal; | ||
/** | ||
* Convert to normal scale. | ||
* Convert to 'coins' scale. | ||
*/ | ||
@@ -118,0 +118,0 @@ toCoinsScale(): BigVal; |
@@ -130,3 +130,3 @@ import { Decimal } from 'decimal.js'; | ||
*/ | ||
tominScale() { | ||
toMinScale() { | ||
if (this._scale === SCALE.min) { | ||
@@ -142,3 +142,3 @@ return this; | ||
/** | ||
* Convert to normal scale. | ||
* Convert to 'coins' scale. | ||
*/ | ||
@@ -164,3 +164,3 @@ toCoinsScale() { | ||
case SCALE.min: | ||
return this.tominScale(); | ||
return this.toMinScale(); | ||
case SCALE.coins: | ||
@@ -167,0 +167,0 @@ return this.toCoinsScale(); |
{ | ||
"name": "bigval", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": ".", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is too big to display
259201