Bump IDB crypto store version (#2705)

* Bump IDB crypto store version

* lint fix
This commit is contained in:
Faye Duxovni
2022-09-28 10:39:37 -04:00
committed by GitHub
parent 0403e4bedc
commit 4ba083e6af
4 changed files with 5 additions and 5 deletions
-1
View File
@@ -251,7 +251,6 @@ describe("Secrets", function() {
osborne2.client.crypto.deviceList.storeDevicesForUser("@alice:example.com", {
"VAX": {
verified: 0,
known: false,
algorithms: [olmlib.OLM_ALGORITHM, olmlib.MEGOLM_ALGORITHM],
keys: {
+2 -2
View File
@@ -573,7 +573,7 @@ describe("SAS verification", function() {
null,
null,
{ "ed25519:Dynabook": "bob+base64+ed25519+key" },
);
);
expect(bob.client.crypto.setDeviceVerification)
.toHaveBeenCalledWith(
alice.client.getUserId(),
@@ -582,7 +582,7 @@ describe("SAS verification", function() {
null,
null,
{ "ed25519:Osborne2": "alice+base64+ed25519+key" },
);
);
});
});
});
+2 -1
View File
@@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { REFERENCE_RELATION } from "matrix-events-sdk";
import { MatrixEvent } from "../../../src";
import { M_BEACON_INFO } from "../../../src/@types/beacon";
import {
@@ -22,7 +24,6 @@ import {
BeaconEvent,
} from "../../../src/models/beacon";
import { makeBeaconEvent, makeBeaconInfoEvent } from "../../test-utils/beacon";
import { REFERENCE_RELATION } from "matrix-events-sdk";
jest.useFakeTimers();
@@ -34,7 +34,7 @@ import { IRoomEncryption } from "../RoomList";
import { InboundGroupSessionData } from "../OlmDevice";
import { IEncryptedPayload } from "../aes";
export const VERSION = 10;
export const VERSION = 11;
const PROFILE_TRANSACTIONS = false;
/**