Skip to content

Commit f10c595

Browse files
committed
Added units manipulation to utils index.
1 parent f611dba commit f10c595

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

utils/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ module.exports = {
5353
formatEther: units.formatEther,
5454
parseEther: units.parseEther,
5555

56+
formatUnits: units.formatUnits,
57+
parseUnits: units.parseUnits,
58+
5659
keccak256: keccak256,
5760
sha256: sha256,
5861

utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethers-utils",
3-
"version": "2.1.10",
3+
"version": "2.1.11",
44
"description": "Utilities for the Ethers Ethereum library.",
55
"bugs": {
66
"url": "http://github.com/ethers-io/ethers.js/issues",

0 commit comments

Comments
 (0)