@dashevo/wasm-dpp 1.7.1 → 1.8.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "wasm-dpp"
3
- version = "1.7.1"
3
+ version = "1.8.0-dev.2"
4
4
  edition = "2021"
5
5
  rust-version.workspace = true
6
6
  authors = ["Anton Suprunchuk <anton.suprunchuk@gmail.com>"]
@@ -15,7 +15,7 @@ serde_json = { version = "1.0", features = ["preserve_order"] }
15
15
  # Meantime if you want to update wasm-bindgen you also need to update version in:
16
16
  # - packages/wasm-dpp/scripts/build-wasm.sh
17
17
  # - Dockerfile
18
- wasm-bindgen = { version = "=0.2.86" }
18
+ wasm-bindgen = { version = "=0.2.99" }
19
19
  js-sys = "0.3.53"
20
20
  web-sys = { version = "0.3.6", features = ["console"] }
21
21
  thiserror = { version = "1.0.63" }
@@ -49,11 +49,11 @@ hex = { version = "0.4" }
49
49
  paste = "1.0.14"
50
50
  anyhow = { version = "1.0.75" }
51
51
  # required, cargo-machete false positive
52
- wasm-bindgen-futures = "0.4.33"
52
+ wasm-bindgen-futures = "0.4.49"
53
53
  async-trait = "0.1.59"
54
54
  bincode = "2.0.0-rc.3"
55
55
  [profile.release]
56
56
  lto = true
57
- opt-level = 's'
57
+ opt-level = 'z'
58
58
  [package.metadata.cargo-machete]
59
59
  ignored = ["wasm-bindgen-futures"]
package/README.md CHANGED
@@ -39,7 +39,7 @@ Library consumers must ignore class names minification for `@dashevo/wasm-dpp` l
39
39
 
40
40
  - Install [Rust](https://www.rust-lang.org/tools/install) v1.73+
41
41
  - Add wasm32 target: `$ rustup target add wasm32-unknown-unknown`
42
- - Install wasm-bingen-cli: `cargo install wasm-bindgen-cli@0.2.86`
42
+ - Install wasm-bingen-cli: `cargo install wasm-bindgen-cli@0.2.99`
43
43
  - *double-check that wasm-bindgen-cli version above matches wasm-bindgen version in Cargo.lock file*
44
44
  - *Depending on system, additional packages may need to be installed as a prerequisite for wasm-bindgen-cli. If anything is missing, installation will error and prompt what packages are missing (i.e. clang, llvm, libssl-dev)*
45
45
 
package/dist/index.js CHANGED
@@ -68,6 +68,6 @@ const loadDppModule = () => __awaiter(void 0, void 0, void 0, function* () {
68
68
  yield wasm_dpp_1.default(wasmUrl);
69
69
  }
70
70
  else {
71
- dpp_module.initSync(bytes);
71
+ dpp_module.initSync({ module: bytes });
72
72
  }
73
73
  });