-
-
Notifications
You must be signed in to change notification settings - Fork 2
-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Blake3Hasher is not a constructor when using in the worker threads #29
Comments
Please provide the reproduce codes |
I've tested
|
Tested on |
@sureshvenkata12 do you have any codes or git branch I can debug? |
In |
Do you have any idea what might be the issue? I will look into it deeper if you have any pointers. I've tried napi-rs/canvas package in the worker, it worked well. |
@sureshvenkata12 thanks for your investigation, I'll dig into this issue when I have time. |
@sureshvenkata12 Please try the https://github.com/Brooooooklyn/blake-hash/releases/tag/v1.3.1. It should fix this bug. |
v1.3.1 works based on my testing, thanks for the update! |
@dguenther btw, how did you find out me trying "blake-hash" for ironfish? I guess, you will incorporate this into the main, and I will not have any advantage over others now :) |
It was just a coincidence! We wanted to test a native addon replacement for |
@dguenther You can consider https://napi.rs/ to replace neon in |
When using Blake3Hasher in the worker threads, I get the following error:
TypeError [Error]: blake_hash_1.Blake3Hasher is not a constructor
The text was updated successfully, but these errors were encountered: