Skip to content

Commit e6b7a1f

Browse files
authored
Remove unused crypto type and missing doc (#4696)
* chore(crypto): remove unused types * doc(crypto): add missing link
1 parent 664e3fd commit e6b7a1f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/@types/crypto.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ limitations under the License.
1616

1717
import type { ISignatures } from "./signed.ts";
1818

19-
export type OlmGroupSessionExtraData = {
20-
untrusted?: boolean;
21-
sharedHistory?: boolean;
22-
};
23-
2419
// Backwards compatible re-export
2520
export type { EventDecryptionResult as IEventDecryptionResult } from "../common-crypto/CryptoBackend.ts";
2621

src/rust-crypto/backup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class RustBackupManager extends TypedEventEmitter<RustBackupCryptoEvents,
118118
/**
119119
* Determine if a key backup can be trusted.
120120
*
121-
* @param info - key backup info.
121+
* @param info - key backup info dict from {@link CryptoApi.getKeyBackupInfo}.
122122
*/
123123
public async isKeyBackupTrusted(info: KeyBackupInfo): Promise<BackupTrustInfo> {
124124
const signatureVerification: SignatureVerification = await this.olmMachine.verifyBackup(info);

0 commit comments

Comments
 (0)