From aabd558bce599569e93dce41b6823d2f2fa8c57d Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Tue, 15 Oct 2024 17:00:43 +0200 Subject: [PATCH] Deprecate top level crypto event re-export (#4444) --- src/matrix.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/matrix.ts b/src/matrix.ts index 67cc9d2324..29c619fa82 100644 --- a/src/matrix.ts +++ b/src/matrix.ts @@ -93,7 +93,11 @@ export { GroupCallType, GroupCallStatsReportEvent, } from "./webrtc/groupCall.ts"; -export { CryptoEvent } from "./crypto/index.ts"; + +export { + /** @deprecated Use {@link Crypto.CryptoEvent} instead */ + CryptoEvent, +} from "./crypto/index.ts"; export { SyncState, SetPresence } from "./sync.ts"; export type { ISyncStateData as SyncStateData } from "./sync.ts"; export { SlidingSyncEvent } from "./sliding-sync.ts";