Closed alxs closed 1 year ago
Just to confirm what's going on -- console.log(...)
will format and truncate javascript objects, like in the example. If you need JSON, you'll need to JSON.stringify(output)
. Is that what you're doing?
Yes. It just seemed like that was the intended output from the README. If it's intentional, please disregard this issue or take it as a suggestion to use console.log(JSON.stringify(abi))
in the examples.
👍
I'm running whatsabi on a Macbook Air with M2 chip, node v18.13.0, ethers v6.7.1 and whatsabi v0.7.0.
From the README:
Instead, this same code produces the following invalid JSON: