-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: add xhr2 package #2
Conversation
@woodser please review :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All this does is override the XMLHttpRequest object that is being used with a global object. this introduces multiple other issues and does not solve the initial problem of XMLHttpRequest being called in specific places and being undefined. Furthermore global variables create a maintenance nightmare.
@woodser I thought it would be good to bundle xhr2 along so it comes with |
Moved to haveno-dex#339 |
This should fix the error described in haveno-dex/haveno#1482.
To use:
npm install
npm pack
and install the packaged file in sample app
npm install haveno-ts-0.0.30.tgz
npm run start
You will not see the
XMLHttpRequest is not defined
error anymore