diff --git a/.github/workflows/publish-web-client-next.yml b/.github/workflows/publish-web-client-next.yml index 179cdfa6a..289f1beac 100644 --- a/.github/workflows/publish-web-client-next.yml +++ b/.github/workflows/publish-web-client-next.yml @@ -27,14 +27,14 @@ jobs: node-version: '20' registry-url: 'https://registry.npmjs.org/' - - name: Set up Rust and wasm target - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - profile: minimal - override: true - target: wasm32-unknown-unknown - components: rust-src + - name: Set up Rust and wasm target + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + target: wasm32-unknown-unknown + components: rust-src - name: Install & build web-client run: | diff --git a/crates/web-client/package.json b/crates/web-client/package.json index 67e38af51..f217327f0 100644 --- a/crates/web-client/package.json +++ b/crates/web-client/package.json @@ -1,6 +1,6 @@ { "name": "@demox-labs/miden-sdk", - "version": "0.12.0-next.17", + "version": "0.12.0-next.18", "description": "Miden Wasm SDK", "collaborators": [ "Miden", diff --git a/crates/web-client/rollup.config.js b/crates/web-client/rollup.config.js index 51a1de690..b00e75d53 100644 --- a/crates/web-client/rollup.config.js +++ b/crates/web-client/rollup.config.js @@ -17,7 +17,7 @@ const baseCargoArgs = [ "--features", "testing", "--config", - `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296"]`, + `build.rustflags=["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "link-arg=--max-memory=4294967296", "-C", "panic=abort"]`, "--no-default-features", ];