Closed AndyTitu closed 7 months ago
✅ Did a manual test as described in the PR description and the code works well! We can also test it from multiple worker threads, but let's do that as a follow-up as it is not strictly needed for the first version of this SDK.
Also tested that the finalizer gets invoked correctly. Everything works well 👍
This PR adds the WASM core wrapped by wasm-bindgen generated functions.
This PR also integrates calling the WASM logic into the user facing JS code
How to test
export OP_SERVICE_ACCOUNT_TOKEN=<your token>
npm install
npm test
npm run esm-example
npm run commonjs-example
You should be able to see the secret you configured the secret reference for in-line in the
examples
code.