Open jgornick opened 5 years ago
Currently, the library uses a global fetch implementation. However, in the node world, the global doesn't include fetch.
The library should be updated to use it's own fetch implementation (e.g. cross-fetch).
cross-fetch
In order to use this library, I had to expose cross-fetch as a global and ignore a type error because fetch is not assignable on the global object.
fetch
Thanks!
Currently, the library uses a global fetch implementation. However, in the node world, the global doesn't include fetch.
The library should be updated to use it's own fetch implementation (e.g.
cross-fetch
).In order to use this library, I had to expose
cross-fetch
as a global and ignore a type error becausefetch
is not assignable on the global object.Thanks!