Expand description
§bitwarden-wasm-internal
Note: This is only for internal use. Bitwarden will not provide any support for this crate.
Bitwarden WASM internal exposes WebAssembly bindings for the Bitwarden SDK. This crate should contain no logic but rather only handle WASM unique conversions and bindings. Business logic MUST be placed in the relevant feature crates.
§Getting Started
§Requirements
wasm32-unknown-unknown
rust target.wasm-bindgen-cli
installed.binaryen
installed forwasm-opt
andwasm2js
.
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
brew install binaryen
§Building
# dev
./build.sh
# release
./build.sh -r
Modules§
- client 🔒
- crypto 🔒
- custom_
types 🔒 - init 🔒
- pure_
crypto 🔒 - ssh 🔒
Structs§
- Bitwarden
Client - Channel
Error - Crypto
Client - Deserialize
Error - JsCommunication
Backend - JsCommunication
Backend Sender - JsIpc
Client - JsIpc
Client Subscription - JsReceive
Error - JsSend
Error