diff --git a/Cargo.lock b/Cargo.lock index de8ac4d..2514690 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1058,7 +1058,7 @@ dependencies = [ [[package]] name = "matrix-sdk-base" version = "0.6.1" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "async-trait", "bitflags 2.3.3", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "matrix-sdk-common" version = "0.6.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "futures-core", "futures-util", @@ -1096,7 +1096,7 @@ dependencies = [ [[package]] name = "matrix-sdk-crypto" version = "0.6.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "aes", "async-std", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "matrix-sdk-crypto-wasm" -version = "0.1.0-alpha.0" +version = "0.0.0" dependencies = [ "anyhow", "console_error_panic_hook", @@ -1153,7 +1153,7 @@ dependencies = [ [[package]] name = "matrix-sdk-indexeddb" version = "0.2.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "anyhow", "async-trait", @@ -1178,7 +1178,7 @@ dependencies = [ [[package]] name = "matrix-sdk-qrcode" version = "0.4.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "byteorder", "qrcode", @@ -1190,7 +1190,7 @@ dependencies = [ [[package]] name = "matrix-sdk-store-encryption" version = "0.2.0" -source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=51ba4483c08520b9763d2d860d7c918de0359f73#51ba4483c08520b9763d2d860d7c918de0359f73" +source = "git+https://github.com/matrix-org/matrix-rust-sdk?rev=24e3ccfbb33b78bfbdc832e50acc43fa12b5a718#24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" dependencies = [ "blake3", "chacha20poly1305", diff --git a/Cargo.toml b/Cargo.toml index f7251a6..cfdf44f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,9 +40,9 @@ console_error_panic_hook = "0.1.7" futures-util = "0.3.27" http = "0.2.6" js-sys = "0.3.49" -matrix-sdk-common = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "51ba4483c08520b9763d2d860d7c918de0359f73", features = ["js"] } -matrix-sdk-indexeddb = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "51ba4483c08520b9763d2d860d7c918de0359f73" } -matrix-sdk-qrcode = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "51ba4483c08520b9763d2d860d7c918de0359f73", optional = true } +matrix-sdk-common = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "24e3ccfbb33b78bfbdc832e50acc43fa12b5a718", features = ["js"] } +matrix-sdk-indexeddb = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" } +matrix-sdk-qrcode = { git = "https://github.com/matrix-org/matrix-rust-sdk", rev = "24e3ccfbb33b78bfbdc832e50acc43fa12b5a718", optional = true } serde_json = "1.0.91" tracing = { version = "0.1.36", default-features = false, features = ["std"] } tracing-subscriber = { version = "0.3.14", default-features = false, features = ["registry", "std"] } @@ -52,6 +52,6 @@ zeroize = "1.3.0" [dependencies.matrix-sdk-crypto] git = "https://github.com/matrix-org/matrix-rust-sdk" -rev = "51ba4483c08520b9763d2d860d7c918de0359f73" +rev = "24e3ccfbb33b78bfbdc832e50acc43fa12b5a718" default_features = false features = ["js", "automatic-room-key-forwarding"] diff --git a/tests/machine.test.js b/tests/machine.test.js index 3b2c47a..0fdb5a1 100644 --- a/tests/machine.test.js +++ b/tests/machine.test.js @@ -63,7 +63,7 @@ describe(OlmMachine.name, () => { expect(databases).toHaveLength(2); expect(databases).toStrictEqual([ { name: `${store_name}::matrix-sdk-crypto-meta`, version: 1 }, - { name: `${store_name}::matrix-sdk-crypto`, version: 3 }, + { name: `${store_name}::matrix-sdk-crypto`, version: 4 }, ]); // Creating a new Olm machine, with the stored state. @@ -154,7 +154,7 @@ describe(OlmMachine.name, () => { expect(databases).toHaveLength(2); expect(databases).toStrictEqual([ { name: `${store_name}::matrix-sdk-crypto-meta`, version: 1 }, - { name: `${store_name}::matrix-sdk-crypto`, version: 3 }, + { name: `${store_name}::matrix-sdk-crypto`, version: 4 }, ]); // Let's force to close the `OlmMachine`.