1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Tests pass 1

This commit is contained in:
Travis Ralston
2021-06-01 21:47:47 -06:00
parent 40f55b2964
commit 71dc0bac56
4 changed files with 58 additions and 53 deletions

View File

@@ -101,10 +101,10 @@ export interface ICreateSecretStorageOpts {
/**
* Function called to get the user's
* current key backup passphrase. Should return a promise that resolves with a Buffer
* current key backup passphrase. Should return a promise that resolves with a Uint8Array
* containing the key, or rejects if the key cannot be obtained.
*/
getKeyBackupPassphrase?: () => Promise<Buffer>;
getKeyBackupPassphrase?: () => Promise<Uint8Array>;
}
export interface ISecretStorageKey {