ensdomains / ensjs

ENS javascript library for contract interaction
MIT License
120 stars 56 forks source link

getRecords only returns the resolver address #188

Closed xdamman closed 1 week ago

xdamman commented 1 month ago

Try running the example in your own documentation: https://github.com/ensdomains/ensjs/blob/main/docs/public/function.getRecords.md

This is what you get:

Screenshot 2024-08-07 at 12 39 39 PM
xdamman commented 1 month ago

Here is the solution:

Screenshot 2024-08-07 at 3 06 48 PM

Your documentation needs an update.

Would be great to have a method to get all records instead of having to specify which ones we want (we may not know in advance what records they have set up)