From 953ddd82e48dd206cef5ac94456549aed13b3ad5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 17 Nov 2023 23:25:29 +0100 Subject: Updated 30 files and deleted 2976 files (automated) --- .../matrix-js-sdk/lib/crypto/dehydration.d.ts | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 includes/external/matrix/node_modules/matrix-js-sdk/lib/crypto/dehydration.d.ts (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/crypto/dehydration.d.ts') diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/crypto/dehydration.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/crypto/dehydration.d.ts deleted file mode 100644 index 2087b6a..0000000 --- a/includes/external/matrix/node_modules/matrix-js-sdk/lib/crypto/dehydration.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Crypto } from "./index"; -import { SecretStorageKeyDescription } from "../secret-storage"; -export interface IDehydratedDevice { - device_id: string; - device_data: SecretStorageKeyDescription & { - algorithm: string; - account: string; - }; -} -export interface IDehydratedDeviceKeyInfo { - passphrase?: string; -} -export declare const DEHYDRATION_ALGORITHM = "org.matrix.msc2697.v1.olm.libolm_pickle"; -export declare class DehydrationManager { - private readonly crypto; - private inProgress; - private timeoutId; - private key?; - private keyInfo?; - private deviceDisplayName?; - constructor(crypto: Crypto); - getDehydrationKeyFromCache(): Promise; - /** set the key, and queue periodic dehydration to the server in the background */ - setKeyAndQueueDehydration(key: Uint8Array, keyInfo?: { - [props: string]: any; - }, deviceDisplayName?: string): Promise; - setKey(key: Uint8Array, keyInfo?: { - [props: string]: any; - }, deviceDisplayName?: string): Promise; - /** returns the device id of the newly created dehydrated device */ - dehydrateDevice(): Promise; - stop(): void; -} -//# sourceMappingURL=dehydration.d.ts.map \ No newline at end of file -- cgit