@ethersproject/units
Advanced tools
Comparing version 5.4.0 to 5.5.0
@@ -1,2 +0,2 @@ | ||
export declare const version = "units/5.4.0"; | ||
export declare const version = "units/5.5.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "units/5.4.0"; | ||
export const version = "units/5.5.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "units/5.4.0"; | ||
export declare const version = "units/5.5.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "units/5.4.0"; | ||
exports.version = "units/5.5.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -67,3 +67,3 @@ "use strict"; | ||
} | ||
return bignumber_1.formatFixed(value, (unitName != null) ? unitName : 18); | ||
return (0, bignumber_1.formatFixed)(value, (unitName != null) ? unitName : 18); | ||
} | ||
@@ -81,3 +81,3 @@ exports.formatUnits = formatUnits; | ||
} | ||
return bignumber_1.parseFixed(value, (unitName != null) ? unitName : 18); | ||
return (0, bignumber_1.parseFixed)(value, (unitName != null) ? unitName : 18); | ||
} | ||
@@ -84,0 +84,0 @@ exports.parseUnits = parseUnits; |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/bignumber": "^5.4.0", | ||
"@ethersproject/constants": "^5.4.0", | ||
"@ethersproject/logger": "^5.4.0" | ||
"@ethersproject/bignumber": "^5.5.0", | ||
"@ethersproject/constants": "^5.5.0", | ||
"@ethersproject/logger": "^5.5.0" | ||
}, | ||
@@ -20,3 +20,3 @@ "description": "Unit conversion functions for Ethereum.", | ||
], | ||
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296", | ||
"gitHead": "73a46efea32c3f9a4833ed77896a216e3d3752a0", | ||
"keywords": [ | ||
@@ -44,5 +44,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x5f18b8ba836eb19a517a206427c9b331e21479e7ee7caee1909cf2547ebb65b1", | ||
"tarballHash": "0x556c2f67aa5bfbf0cb1436f4d6d62fe25403fd58a958d7d8e0b06903091dedb5", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.4.0" | ||
"version": "5.5.0" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "units/5.4.0"; | ||
export const version = "units/5.5.0"; |
Sorry, the diff of this file is not supported yet
20221