1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Namespace default secret storage key methods

This commit is contained in:
J. Ryan Stinnett
2019-11-18 15:17:06 +00:00
parent 730f7d3dff
commit 5f02c4b5ad
3 changed files with 7 additions and 7 deletions

View File

@@ -1115,7 +1115,7 @@ MatrixClient.prototype.checkEventSenderTrust = async function(event) {
* Get the current default key ID for encrypting secrets.
* The Secure Secret Storage API is currently UNSTABLE and may change without notice.
*
* @function module:client~MatrixClient#getDefaultKeyId
* @function module:client~MatrixClient#getDefaultSecretStorageKeyId
*
* @return {string} The default key ID or null if no default key ID is set
*/
@@ -1124,7 +1124,7 @@ MatrixClient.prototype.checkEventSenderTrust = async function(event) {
* Set the current default key ID for encrypting secrets.
* The Secure Secret Storage API is currently UNSTABLE and may change without notice.
*
* @function module:client~MatrixClient#setDefaultKeyId
* @function module:client~MatrixClient#setDefaultSecretStorageKeyId
* @param {string} keyId The new default key ID
*/
@@ -1134,8 +1134,8 @@ wrapCryptoFuncs(MatrixClient, [
"getSecret",
"isSecretStored",
"requestSecret",
"getDefaultKeyId",
"setDefaultKeyId",
"getDefaultSecretStorageKeyId",
"setDefaultSecretStorageKeyId",
]);
/**