1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-10 21:23:02 +03:00

quick clean

This commit is contained in:
Valere
2025-04-10 10:41:48 +02:00
parent 1511643f17
commit 2185d2e2b3

View File

@@ -30,6 +30,8 @@ type DeviceInfo = {
deviceId: string; deviceId: string;
}; };
export type ParticipantId = string;
type OutboundEncryptionSession = { type OutboundEncryptionSession = {
key: Uint8Array; key: Uint8Array;
creationTS: number; creationTS: number;
@@ -41,13 +43,11 @@ type OutboundEncryptionSession = {
type InboundEncryptionSession = { type InboundEncryptionSession = {
key: Uint8Array; key: Uint8Array;
participantId: string; participantId: ParticipantId;
keyId: number; keyId: number;
creationTS: number; creationTS: number;
}; };
export type ParticipantId = string;
/** /**
* A simple encryption manager. * A simple encryption manager.
* This manager is basic becasue it will rotate the keys for any membership change. * This manager is basic becasue it will rotate the keys for any membership change.