Exposed isBytes and isBytesLike in ethers.utils.

This commit is contained in:
Richard Moore 2020-01-29 21:32:34 -05:00
parent c11e7c348e
commit 99329b013c
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
import { AbiCoder, defaultAbiCoder, EventFragment, FormatTypes, Fragment, FunctionFragment, Indexed, Interface, ParamType } from "@ethersproject/abi";
import { getAddress, getCreate2Address, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import * as base64 from "@ethersproject/base64";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isBytes, isBytesLike, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { hashMessage, id, isValidName, namehash } from "@ethersproject/hash";
import { defaultPath, entropyToMnemonic, HDNode, isValidMnemonic, mnemonicToEntropy, mnemonicToSeed } from "@ethersproject/hdnode";
import { getJsonWalletAddress } from "@ethersproject/json-wallets";
@ -71,6 +71,9 @@ export {
stripZeros,
zeroPad,
isBytes,
isBytesLike,
defaultPath,
HDNode,
SigningKey,