@edgeandnode/common
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -1,2 +0,2 @@ | ||
import { BigNumberish } from 'ethers'; | ||
import { BigNumberish, BigNumber } from 'ethers'; | ||
export interface FormatUnitsOptions { | ||
@@ -56,1 +56,8 @@ decimals: number; | ||
export declare const formatNameHash: (value?: string) => string; | ||
/** | ||
* Convert number to BigNumber with provided decimals. Uses 18 decimals if none provided | ||
* @param value Number to convert | ||
* @param power Decimals to convert to | ||
* @returns N decimal BigNumber | ||
*/ | ||
export declare const toWei: (value: string, power?: number) => BigNumber; |
{ | ||
"name": "@edgeandnode/common", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Common Edge & Node utils and types", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
102617
1148