From 8c31e7359c9f15bc49ac0bbcd409e23fa61ce2c8 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 17 Jan 2025 18:32:16 +0000 Subject: [PATCH 1/2] Fix documentation on `CryptoEvent` `CryptoApi` itself does not emit events (or at least, its public type information does not allow you to listen for events emitted by CryptoApi). --- src/crypto-api/CryptoEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto-api/CryptoEvent.ts b/src/crypto-api/CryptoEvent.ts index 9ddf26476b5..f0c435320c0 100644 --- a/src/crypto-api/CryptoEvent.ts +++ b/src/crypto-api/CryptoEvent.ts @@ -15,7 +15,7 @@ */ /** - * Events emitted by the {@link CryptoApi} + * Cryptography-related events emitted by the {@link MatrixClient}. */ export enum CryptoEvent { /** From 53bed99721758a2a88bfa260f6af5fc41dbcc710 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 20 Jan 2025 17:00:20 +0000 Subject: [PATCH 2/2] fix link --- src/crypto-api/CryptoEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto-api/CryptoEvent.ts b/src/crypto-api/CryptoEvent.ts index f0c435320c0..296277bfeeb 100644 --- a/src/crypto-api/CryptoEvent.ts +++ b/src/crypto-api/CryptoEvent.ts @@ -15,7 +15,7 @@ */ /** - * Cryptography-related events emitted by the {@link MatrixClient}. + * Cryptography-related events emitted by the {@link matrix.MatrixClient}. */ export enum CryptoEvent { /**