-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guard cross-fetch by platform #246
Comments
Heyo, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This SDK uses
browser-or-node
to set the user-agent based on the javascript environment being run, however the same logic is not applied tocross-fetch
. From my understanding that is becausecross-fetch
should be platform agnostic.It looks like
cross-fetch
tries usingXmlHttpRequest
to make API calls when the environment is set to web workerThe text was updated successfully, but these errors were encountered: