unstoppabledomains / resolution

A library to resolve blockchain domain names.
MIT License
222 stars 66 forks source link

Replaces node-fetch with cross-fetch #183

Closed sudoryan closed 3 years ago

sudoryan commented 3 years ago

Replaces node-fetch and window.fetch with cross-fetch

It's better to rely on a fetch library to handle detecting the runtime environment. For example Ionic framework sets process.versions.node = false which wasn't handled properly. As a result it was using node-fetch which crashes the Ionic runtime.

DeRain commented 3 years ago

@sudoryan Please don't forget to add @unstoppabledomains/developer-tools-team as reviewer