diff --git a/src/client.ts b/src/client.ts index 2306844be5..bc7bf99938 100644 --- a/src/client.ts +++ b/src/client.ts @@ -80,7 +80,6 @@ import { CryptoEventHandlerMap as LegacyCryptoEventHandlerMap, fixBackupKey, ICheckOwnCrossSigningTrustOpts, - ICryptoCallbacks, IRoomKeyRequestBody, isCryptoAvailable, } from "./crypto/index.ts"; @@ -229,6 +228,7 @@ import { ImportRoomKeysOpts, CryptoEvent, CryptoEventHandlerMap, + CryptoCallbacks, } from "./crypto-api/index.ts"; import { DeviceInfoMap } from "./crypto/DeviceList.ts"; import { @@ -437,7 +437,7 @@ export interface ICreateClientOpts { /** * Crypto callbacks provided by the application */ - cryptoCallbacks?: ICryptoCallbacks; + cryptoCallbacks?: CryptoCallbacks; /** * Method to generate room names for empty rooms and rooms names based on membership. @@ -1253,7 +1253,7 @@ export class MatrixClient extends TypedEventEmitter