Comparing version 2.2.0 to 2.2.1
@@ -33,7 +33,7 @@ "use strict"; | ||
case 'mrai': | ||
return value.shiftedBy(-30).toFixed(15); | ||
return value.shiftedBy(-30).toFixed(15, 1); | ||
case 'krai': | ||
return value.shiftedBy(-27).toFixed(12); | ||
return value.shiftedBy(-27).toFixed(12, 1); | ||
case 'rai': | ||
return value.shiftedBy(-24).toFixed(9); | ||
return value.shiftedBy(-24).toFixed(9, 1); | ||
default: | ||
@@ -40,0 +40,0 @@ throw new Error("Unknown output unit " + output_unit); |
{ | ||
"name": "nanode", | ||
"version": "2.2.0", | ||
"description": "Dead simple, promise-based client for interacting and building services on top of the NANO network.", | ||
"version": "2.2.1", | ||
"description": | ||
"Dead simple, promise-based client for interacting and building services on top of the NANO network.", | ||
"main": "./dist/index.js", | ||
@@ -6,0 +7,0 @@ "types": "./dist/index.d.ts", |
@@ -36,7 +36,7 @@ import BigNumber from 'bignumber.js' | ||
case 'mrai': | ||
return value.shiftedBy(-30).toFixed(15) | ||
return value.shiftedBy(-30).toFixed(15, 1) | ||
case 'krai': | ||
return value.shiftedBy(-27).toFixed(12) | ||
return value.shiftedBy(-27).toFixed(12, 1) | ||
case 'rai': | ||
return value.shiftedBy(-24).toFixed(9) | ||
return value.shiftedBy(-24).toFixed(9, 1) | ||
default: | ||
@@ -43,0 +43,0 @@ throw new Error(`Unknown output unit ${output_unit}`) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
764156