From 3f16ec67b754862612e2f09ac3a3b16dcf24fa03 Mon Sep 17 00:00:00 2001 From: Richard Janis Goldschmidt Date: Thu, 12 Dec 2024 14:42:24 +0100 Subject: [PATCH] fix: bump serde-wasm-bindgen, js-sys to fix broken compile --- .../bug-fixes/1481-bump-deps-to-fix-broken-compile.md | 2 ++ light-client-js/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/unreleased/bug-fixes/1481-bump-deps-to-fix-broken-compile.md diff --git a/.changelog/unreleased/bug-fixes/1481-bump-deps-to-fix-broken-compile.md b/.changelog/unreleased/bug-fixes/1481-bump-deps-to-fix-broken-compile.md new file mode 100644 index 000000000..32d3f1692 --- /dev/null +++ b/.changelog/unreleased/bug-fixes/1481-bump-deps-to-fix-broken-compile.md @@ -0,0 +1,2 @@ +- [tendermint-light-client-js] bump `serde-wasm-bindgen` to `v0.6.5` and `js-sys` to `=v0.3.70` to + fix compilation failure of `wasm-bindgen-test`. ([\#1481](https://github.com/informalsystems/tendermint-rs/pull/1481)) diff --git a/light-client-js/Cargo.toml b/light-client-js/Cargo.toml index a27daee31..f32984a6a 100644 --- a/light-client-js/Cargo.toml +++ b/light-client-js/Cargo.toml @@ -25,7 +25,8 @@ serde_json = { version = "1.0", default-features = false } tendermint = { version = "0.40.0", default-features = false, path = "../tendermint" } tendermint-light-client-verifier = { version = "0.40.0", features = ["rust-crypto"], default-features = false, path = "../light-client-verifier" } wasm-bindgen = { version = "0.2.63", default-features = false, features = [ "serde-serialize" ] } -serde-wasm-bindgen = { version = "0.4.5", default-features = false } +serde-wasm-bindgen = { version = "0.6.5", default-features = false } +js-sys = { version = "=0.3.70", default-features = false } # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires