Skip to content
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

Replace neon by napi #1578

Merged
merged 10 commits into from
Nov 6, 2023
Merged

Replace neon by napi #1578

merged 10 commits into from
Nov 6, 2023

Conversation

Thoralf-M
Copy link
Member

Description of change

Replace neon by napi. With this we get better error handling, less and cleaner code.
Also might help in the future if we want to implement traits in bindings like this bf43fb3, because it's also easy to await on Promises from the JS side

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How the change has been tested

Running examples

Alex6323
Alex6323 previously approved these changes Nov 6, 2023
Copy link
Contributor

@Alex6323 Alex6323 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks nice!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed?

Copy link
Member Author

@Thoralf-M Thoralf-M Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, but not 100% sure, don't have something with Windows ready to test

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

annoying

@thibault-martinez thibault-martinez merged commit 16d7f9a into iotaledger:2.0 Nov 6, 2023
26 of 30 checks passed
@Thoralf-M Thoralf-M deleted the napi branch February 19, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants