From 231813520bdb60eb07ea043fa7818c88b036da96 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Mon, 7 Oct 2024 15:35:12 +0200 Subject: [PATCH] Deprecate top level crypto event re-export --- src/matrix.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/matrix.ts b/src/matrix.ts index 67cc9d23249..fb59f1e66ad 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";