Skip to content

Commit aabd558

Browse files
authored
Deprecate top level crypto event re-export (#4444)
1 parent 662b772 commit aabd558

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/matrix.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ export {
9393
GroupCallType,
9494
GroupCallStatsReportEvent,
9595
} from "./webrtc/groupCall.ts";
96-
export { CryptoEvent } from "./crypto/index.ts";
96+
97+
export {
98+
/** @deprecated Use {@link Crypto.CryptoEvent} instead */
99+
CryptoEvent,
100+
} from "./crypto/index.ts";
97101
export { SyncState, SetPresence } from "./sync.ts";
98102
export type { ISyncStateData as SyncStateData } from "./sync.ts";
99103
export { SlidingSyncEvent } from "./sliding-sync.ts";

0 commit comments

Comments
 (0)