You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can the Formatter class be exported from the @ethersproject/providers package in version 5?
I need to override a few functions in the Formatter class in order to implement the EEA client extension. As the Formatter class is not exported, I've got to copy 427 lines of the class to my extension project. This makes ongoing maintenance harder.
The Formatter class also uses the FormatFunc, FormatFuncs and Formats functions so it'd be good if these can also be exported.
Thanks
Nick
The text was updated successfully, but these errors were encountered:
Ah yes! It absolutely should be. I want to move away from package relative imports in all of ethers, since it breaks so many bundling tools. I’ll write a quick regex later to find them all and export them. :)
Can the
Formatter
class be exported from the@ethersproject/providers
package in version 5?I need to override a few functions in the
Formatter
class in order to implement the EEA client extension. As theFormatter
class is not exported, I've got to copy 427 lines of the class to my extension project. This makes ongoing maintenance harder.The Formatter class also uses the
FormatFunc
,FormatFuncs
andFormats
functions so it'd be good if these can also be exported.Thanks
Nick
The text was updated successfully, but these errors were encountered: