Package Exports
- @lit-protocol/wasm
- @lit-protocol/wasm/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lit-protocol/wasm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
WASM
Core lit utilities implemented in Rust and compiled to WebAssembly through wasm-pack implementations within this package wrap the compiled implementations from rust and provides functionality for converting the compiled artifact to a base64 encoded string for binding to the generated bridge. the functionality contained within this package exposes the functinoality provided from the wasm utilities.
For information on implementations see the rust directory.
Building
This package contanis scripts for building the rust souce into WebAssembly and correctly encoding the binary artifact.
To perform the entire build / encoding operations you can run rust:build. If you wish to only produce the WebAssembly binding you can see the rust README for build information.