1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-07 23:02:56 +03:00

Rename crypto-api.ts -> crypto-api/index.ts (#4283)

I found it quite confusing having `CryptoApi` be defined so far from the
`crypto-api` folder.
This commit is contained in:
Richard van der Hoff
2024-06-26 22:02:40 +01:00
committed by GitHub
parent d629a685c2
commit 65b9c31f9b

View File

@@ -15,15 +15,15 @@ limitations under the License.
*/ */
import type { SecretsBundle } from "@matrix-org/matrix-sdk-crypto-wasm"; import type { SecretsBundle } from "@matrix-org/matrix-sdk-crypto-wasm";
import type { IMegolmSessionData } from "./@types/crypto"; import type { IMegolmSessionData } from "../@types/crypto";
import { Room } from "./models/room"; import { Room } from "../models/room";
import { DeviceMap } from "./models/device"; import { DeviceMap } from "../models/device";
import { UIAuthCallback } from "./interactive-auth"; import { UIAuthCallback } from "../interactive-auth";
import { PassphraseInfo, SecretStorageCallbacks, SecretStorageKeyDescription } from "./secret-storage"; import { PassphraseInfo, SecretStorageCallbacks, SecretStorageKeyDescription } from "../secret-storage";
import { VerificationRequest } from "./crypto-api/verification"; import { VerificationRequest } from "./verification";
import { BackupTrustInfo, KeyBackupCheck, KeyBackupInfo } from "./crypto-api/keybackup"; import { BackupTrustInfo, KeyBackupCheck, KeyBackupInfo } from "./keybackup";
import { ISignatures } from "./@types/signed"; import { ISignatures } from "../@types/signed";
import { MatrixEvent } from "./models/event"; import { MatrixEvent } from "../models/event";
/** /**
* Public interface to the cryptography parts of the js-sdk * Public interface to the cryptography parts of the js-sdk
@@ -949,5 +949,5 @@ export interface OwnDeviceKeys {
curve25519: string; curve25519: string;
} }
export * from "./crypto-api/verification"; export * from "./verification";
export * from "./crypto-api/keybackup"; export * from "./keybackup";