-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Support sample application using haveno-ts library [3 XMR] #1482
Comments
There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people whose solution is accepted and merged. In some cases, we may assign the issue to specific contributors. We expect contributors to provide a PR in a reasonable time frame or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task. Read the full conditions and details of our bounty system. |
Would like to help here. But I'm seeing these errors on doing
Would appreciate some help |
@woodser can you please review the fix? it should now package Although it results in a small error during buildtime as |
I would like to point out this introduces vulnerabilities, per npm audit |
@im-adithya Can you open the PR on https://github.com/haveno-dex/haveno-ts please? |
@bl4ck-cod3 What do you think about @everoddandeven's solution here: haveno-dex/haveno-ts#338
This looks good and works well for me. Otherwise I don't know how it can be improved. |
This issue requests getting the sample Node.js application to work using the haveno-ts library.
Currently, haveno-ts does not package its dist assets correctly to be used as a NPM dependency via
npm install haveno-ts
, causing this error when used:There is a pull request in progress, haveno-dex/haveno-ts#332, to start fixing haveno-ts to be used as a NPM dependency, but it's only meant as a starting point.
Apply the PR to haveno-ts and run these steps to test the latest fixes in the sample application:
cd haveno-ts
npm install
npm pack
cd ~/git/haveno-sample-app
npm install ../haveno-ts/haveno-ts-0.0.30.tgz
npm run start
With the fixes from the PR applied, you should see this output in the sample application for further debugging:
The text was updated successfully, but these errors were encountered: