@arcblock/forge-util
Advanced tools
Comparing version 0.8.1 to 0.8.4
@@ -30,3 +30,3 @@ const BN = require('bn.js'); | ||
const fromArc = (input, decimal = 18, optionsInput) => { | ||
const fromArc = (input, decimal = 16, optionsInput) => { | ||
let arc = numberToBN(input); | ||
@@ -64,3 +64,3 @@ const negative = arc.lt(zero); | ||
const toArc = (input, decimal = 18) => { | ||
const toArc = (input, decimal = 16) => { | ||
let ether = numberToString(input); | ||
@@ -67,0 +67,0 @@ const base = toBN(`1${'0'.repeat(decimal)}`, 10); |
{ | ||
"name": "@arcblock/forge-util", | ||
"version": "0.8.1", | ||
"version": "0.8.4", | ||
"description": "utils shared across mutlipe forge js libs, works in both node.js and browser", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0ea1e4d982a76b6f9e13b91ac2d710198e03ba9c" | ||
"gitHead": "b27defc377839ec2a28c51285f9081641001eb3e" | ||
} |
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