From f4b6f91ee2ff154a1093ba8c2112139b0116d767 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 1 Dec 2023 12:05:13 +0000 Subject: [PATCH] Bump `matrix-rust-sdk-crypto-wasm` to v3.2.0 (#3933) * Bump `matrix-rust-sdk-crypto-wasm` to v3.2.0 * Reinstate timeout on `getUserDevices` call Turns out that this used to have a timeout of 1 second in the wasm bindings, which it no longer does. Reinstate it here. --- package.json | 2 +- src/rust-crypto/rust-crypto.ts | 5 ++++- yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1e263e317..b81f08e65 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ ], "dependencies": { "@babel/runtime": "^7.12.5", - "@matrix-org/matrix-sdk-crypto-wasm": "^3.1.0", + "@matrix-org/matrix-sdk-crypto-wasm": "^3.2.0", "another-json": "^0.2.0", "bs58": "^5.0.0", "content-type": "^1.0.4", diff --git a/src/rust-crypto/rust-crypto.ts b/src/rust-crypto/rust-crypto.ts index 9e8694ef0..fe8b80146 100644 --- a/src/rust-crypto/rust-crypto.ts +++ b/src/rust-crypto/rust-crypto.ts @@ -525,7 +525,10 @@ export class RustCrypto extends TypedEventEmitter