You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Clean up "base-apis" find&replace
This commit is contained in:
@@ -725,7 +725,7 @@ export function createCryptoStoreCacheCallbacks(store, olmdevice) {
|
|||||||
/**
|
/**
|
||||||
* Request cross-signing keys from another device during verification.
|
* Request cross-signing keys from another device during verification.
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis base Matrix API interface
|
* @param {MatrixClient} baseApis base Matrix API interface
|
||||||
* @param {string} userId The user ID being verified
|
* @param {string} userId The user ID being verified
|
||||||
* @param {string} deviceId The device ID being verified
|
* @param {string} deviceId The device ID being verified
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export const DECRYPTION_CLASSES = {};
|
|||||||
* @param {string} params.deviceId The identifier for this device.
|
* @param {string} params.deviceId The identifier for this device.
|
||||||
* @param {module:crypto} params.crypto crypto core
|
* @param {module:crypto} params.crypto crypto core
|
||||||
* @param {module:crypto/OlmDevice} params.olmDevice olm.js wrapper
|
* @param {module:crypto/OlmDevice} params.olmDevice olm.js wrapper
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis base matrix api interface
|
* @param {MatrixClient} baseApis base matrix api interface
|
||||||
* @param {string} params.roomId The ID of the room we will be sending to
|
* @param {string} params.roomId The ID of the room we will be sending to
|
||||||
* @param {object} params.config The body of the m.room.encryption event
|
* @param {object} params.config The body of the m.room.encryption event
|
||||||
*/
|
*/
|
||||||
@@ -102,7 +102,7 @@ export class EncryptionAlgorithm {
|
|||||||
* @param {string} params.userId The UserID for the local user
|
* @param {string} params.userId The UserID for the local user
|
||||||
* @param {module:crypto} params.crypto crypto core
|
* @param {module:crypto} params.crypto crypto core
|
||||||
* @param {module:crypto/OlmDevice} params.olmDevice olm.js wrapper
|
* @param {module:crypto/OlmDevice} params.olmDevice olm.js wrapper
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis base matrix api interface
|
* @param {MatrixClient} baseApis base matrix api interface
|
||||||
* @param {string=} params.roomId The ID of the room we will be receiving
|
* @param {string=} params.roomId The ID of the room we will be receiving
|
||||||
* from. Null for to-device events.
|
* from. Null for to-device events.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ const KEY_BACKUP_KEYS_PER_REQUEST = 200;
|
|||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis base matrix api interface
|
* @param {MatrixClient} baseApis base matrix api interface
|
||||||
*
|
*
|
||||||
* @param {module:store/session/webstorage~WebStorageSessionStore} sessionStore
|
* @param {module:store/session/webstorage~WebStorageSessionStore} sessionStore
|
||||||
* Store to be used for end-to-end crypto session data
|
* Store to be used for end-to-end crypto session data
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export async function encryptMessageForDevice(
|
|||||||
*
|
*
|
||||||
* @param {module:crypto/OlmDevice} olmDevice
|
* @param {module:crypto/OlmDevice} olmDevice
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis
|
* @param {MatrixClient} baseApis
|
||||||
*
|
*
|
||||||
* @param {object<string, module:crypto/deviceinfo[]>} devicesByUser
|
* @param {object<string, module:crypto/deviceinfo[]>} devicesByUser
|
||||||
* map from userid to list of devices to ensure sessions for
|
* map from userid to list of devices to ensure sessions for
|
||||||
@@ -168,7 +168,7 @@ export async function getExistingOlmSessions(
|
|||||||
*
|
*
|
||||||
* @param {module:crypto/OlmDevice} olmDevice
|
* @param {module:crypto/OlmDevice} olmDevice
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis
|
* @param {MatrixClient} baseApis
|
||||||
*
|
*
|
||||||
* @param {object<string, module:crypto/deviceinfo[]>} devicesByUser
|
* @param {object<string, module:crypto/deviceinfo[]>} devicesByUser
|
||||||
* map from userid to list of devices to ensure sessions for
|
* map from userid to list of devices to ensure sessions for
|
||||||
|
|||||||
@@ -49,9 +49,10 @@ export class VerificationBase extends EventEmitter {
|
|||||||
*
|
*
|
||||||
* @class
|
* @class
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~Channel} channel the verification channel to send verification messages over.
|
* TODO: Channel types
|
||||||
|
* @param {Channel} channel the verification channel to send verification messages over.
|
||||||
*
|
*
|
||||||
* @param {module:base-apis~MatrixBaseApis} baseApis base matrix api interface
|
* @param {MatrixClient} baseApis base matrix api interface
|
||||||
*
|
*
|
||||||
* @param {string} userId the user ID that is being verified
|
* @param {string} userId the user ID that is being verified
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user