Closed terranmoccasin closed 1 year ago
Hey @yugure-orca - thanks for the review! I've also added tests. Ready for another look.
Just to confirm, am I correct in understanding that the UI does not use this package directly, but uses the generated tokenlists?
Ah no, you're correct in your concern about logging in the browser. The package is intended for eventual use on both server and in web. I've removed the regular console.log statements in the normal code path!
TokenMint
to use astring
instead ofAddress
- works better with JSON filesFileSystemProvider
Readonly
type aliasesTokenFetcher
for request timeouts. When running into RPC socket hangups, the fetcher was hanging for a long time before throwing an unexpected error.TokenFetcher