1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/app/pages/send/send-content/add-recipient
ty b04120dd0f
Warn users when an ENS name contains 'confusable' characters (#9187)
* Add warning system for 'confusable' ENS names (#9129)

Uses unicode.org's TR39 confusables.txt to display a warning when
'confusable' unicode points are detected.

Currently only the `AddRecipient` component has been updated, but the new
`Confusable` component could be used elsewhere

The new `unicode-confusables` dependency adds close to 100KB to the
bundle size, and around 30KB when gzipped.

Adds 'tag' prop to the tooltop-v2 component

Use $Red-500 for confusable ens warning

Lint Tooltip component

Update copy for confusing ENS domain warning.

* Fix prop type

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-02-27 01:56:04 -03:30
..
tests Warn users when an ENS name contains 'confusable' characters (#9187) 2021-02-27 01:56:04 -03:30
add-recipient.component.js Warn users when an ENS name contains 'confusable' characters (#9187) 2021-02-27 01:56:04 -03:30
add-recipient.container.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
add-recipient.js Warn users when an ENS name contains 'confusable' characters (#9187) 2021-02-27 01:56:04 -03:30
ens-input.component.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
ens-input.container.js use chain id for enabling ENS IPFS resolution (#10507) 2021-02-25 05:40:57 -06:00
ens-input.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00