diff --git a/CHANGELOG.md b/CHANGELOG.md index a952a5d..0b0fbdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # UNRELEASED +# matrix-sdk-crypto-wasm v10.1.0 + +- Update matrix-rust-sdk to `ce9dc73376b4ee` +- Update other dependencies + # matrix-sdk-crypto-wasm v10.0.0 **BREAKING CHANGES** @@ -11,7 +16,7 @@ - Rename `UserIdentity` to `OtherUserIdentity` (in line with changes to matrix-rust-sdk). -- Update matrix-rust-sdk to `#3558886b9`. +- Update matrix-rust-sdk to `3558886b9`. # matrix-sdk-crypto-wasm v9.1.0 diff --git a/Cargo.lock b/Cargo.lock index 201aaac..9b55df8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -826,7 +826,7 @@ dependencies = [ [[package]] name = "matrix-sdk-common" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#6752cf73df944ad8e62d8e1b9056680d4e1ce346" dependencies = [ "async-trait", "futures-core", @@ -847,7 +847,7 @@ dependencies = [ [[package]] name = "matrix-sdk-crypto" version = "0.7.2" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#6752cf73df944ad8e62d8e1b9056680d4e1ce346" dependencies = [ "aes", "as_variant", @@ -913,7 +913,7 @@ dependencies = [ [[package]] name = "matrix-sdk-indexeddb" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#6752cf73df944ad8e62d8e1b9056680d4e1ce346" dependencies = [ "anyhow", "async-trait", @@ -941,7 +941,7 @@ dependencies = [ [[package]] name = "matrix-sdk-qrcode" version = "0.7.1" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#6752cf73df944ad8e62d8e1b9056680d4e1ce346" dependencies = [ "byteorder", "qrcode", @@ -953,7 +953,7 @@ dependencies = [ [[package]] name = "matrix-sdk-store-encryption" version = "0.7.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk#3558886b989922e76e1969f3fe211d12258d3253" +source = "git+https://github.com/matrix-org/matrix-rust-sdk#6752cf73df944ad8e62d8e1b9056680d4e1ce346" dependencies = [ "base64", "blake3", diff --git a/package.json b/package.json index 87fa89b..88d8b55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@matrix-org/matrix-sdk-crypto-wasm", - "version": "10.0.0", + "version": "10.1.0", "homepage": "https://github.com/matrix-org/matrix-rust-sdk-wasm", "description": "WebAssembly bindings of the matrix-sdk-crypto encryption library", "license": "Apache-2.0", diff --git a/src/verification.rs b/src/verification.rs index 1ec0be8..1415fcc 100644 --- a/src/verification.rs +++ b/src/verification.rs @@ -915,7 +915,8 @@ impl VerificationRequest { #[wasm_bindgen(js_name = "getVerification")] pub fn get_verification(&self) -> JsValue { let result: Option = - if let VerificationRequestState::Transitioned { verification } = self.inner.state() { + if let VerificationRequestState::Transitioned { verification, .. } = self.inner.state() + { Verification(verification).try_into().ok() } else { None