warp-wasm
v1.8.0
Published
Web Assembly TypeScript library for interfacing with Warp.
Keywords
Readme
warp-wasm
Web Assembly TypeScript library for interfacing with Warp.
Setup
1 - Install Rust: https://www.rust-lang.org/tools/install
2 - Install wasm-pack:
cargo install wasm-pack3 - Run examples
cargo run --example from-jsUpdating Warp
1 - Get a new commit hash from Warp repo. Set the same hash for both Warp and warp-ipfs in the Cargo.toml of this repo.
2 - Fix any issues and push a new version to npm
Publishing to npm
1 - Make sure jq is installed (used for bumping version in package.json)
brew install jq2 - Build (specify version to bump: [major/minor/patch])
sh build.sh minor3 - Publish to npm
cd pkg
npm publish