You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tlsn-js is tightly coupled to the browser environment, but people may want to use it in node such as an electron app. Provide a build config which supports node.
The text was updated successfully, but these errors were encountered:
Hi @sinui0, when I was working on this issue I found out that the use of wasm_bindgen_rayon::init_thread_pool in lib and prover is preventing wasm-pack to build with --target nodejs.
It is possible to run the protocol single threaded, but it will be quite slow. To try it out you can patch in this branch for the tlsn-utils-aio dependency and enable the single-threaded feature to remove the use of rayon: tlsnotary/tlsn-utils@3cb9cfb
Our next release will include the ability to force single threaded execution. I haven't looked into how else to support multi-threading when running in a node runtime.
tlsn-js
is tightly coupled to the browser environment, but people may want to use it in node such as an electron app. Provide a build config which supports node.The text was updated successfully, but these errors were encountered: