sdk
sdk copied to clipboard
Beauty punycode urls
Currently we can't beautify punicode urls, like https://xn--vi8hl0c.ws/
This could be done adding punycode or similar dependency: https://github.com/sindresorhus/normalize-url/blob/master/index.js#L112
but it's a little heavy (https://bundlephobia.com/[email protected]) so I want investigate and found a workaround first
After investigate, using Tree shaking the size is like ~1.6kB, so that's okay.
Also, we can use it for all the text inside the card, not just the url.
Need to be implemented at nanoclamp first! https://github.com/microlinkhq/nanoclamp/issues/11