You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library uses browser field of package.json in order to avoid including a shim and uses own implementation otherwise. That however creates problems when used in Electron (main process) because there it loads a own implementation which native APIs like fetch reject with error like:
TypeError: Failed to execute 'fetch' on 'Window': member signal is not of type AbortSignal.
It would be nice if implementation still checked for presence of native AbortSignal just in case it exists.
The text was updated successfully, but these errors were encountered:
This library uses
browser
field ofpackage.json
in order to avoid including a shim and uses own implementation otherwise. That however creates problems when used in Electron (main process) because there it loads a own implementation which native APIs likefetch
reject with error like:It would be nice if implementation still checked for presence of native
AbortSignal
just in case it exists.The text was updated successfully, but these errors were encountered: