-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isHexString function not exported by library #367
Comments
You can access TypeScriptimport { isHexString } from 'ethers/utils/bytes'; Nodeconst { isHexString } = require('ethers/utils/bytes'); Not quite sure what @ricmoo has in mind, but perhaps he did not want to re-export every exportable function in export * from 'bytes'; |
I do recall not exporting it on purpose, but I can't think of a good reason... I'll take a look to see what else is not being exported too. It is probably useful to export. |
This function is now exported. There are several places in the code that currently use These functions will probably be juggled around a bit in v5. Just a heads up. :) Thanks! :) |
isHexString function is not exported by ethers.js
It seems that problem is located in src.ts/utils/index.ts
index.ts:
The text was updated successfully, but these errors were encountered: