You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Element-R: Add current version of the rust-sdk and vodozemac (#3825)
* Add current version of the rust-sdk and vodozemac * Return OlmVersion in `CryptoApi#getVersion` for old crypto * Add `Olm` prefix * Fix documentation * Review changes
This commit is contained in:
@@ -132,6 +132,12 @@ describe("initRustCrypto", () => {
|
||||
});
|
||||
|
||||
describe("RustCrypto", () => {
|
||||
it("getVersion() should return the current version of the rust sdk and vodozemac", async () => {
|
||||
const rustCrypto = await makeTestRustCrypto();
|
||||
const versions = RustSdkCryptoJs.getVersions();
|
||||
expect(rustCrypto.getVersion()).toBe(`Rust SDK ${versions.matrix_sdk_crypto}, Vodozemac ${versions.vodozemac}`);
|
||||
});
|
||||
|
||||
describe(".importRoomKeys and .exportRoomKeys", () => {
|
||||
let rustCrypto: RustCrypto;
|
||||
|
||||
|
Reference in New Issue
Block a user