MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
709 stars 546 forks source link

Update `onNameLookup` response #2484

Closed hmalik88 closed 2 weeks ago

hmalik88 commented 2 weeks ago

Updating the name lookup response object to include a domainName property to let a snap indicate which domain the returned address was resolved against. This essentially allows for fuzzy matching results to be properly displayed in the extension.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.34%. Comparing base (caf42e3) to head (274e3f5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2484 +/- ## ======================================= Coverage 94.34% 94.34% ======================================= Files 439 439 Lines 9057 9057 Branches 1392 1392 ======================================= Hits 8545 8545 Misses 512 512 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.