Export all classes from index.ts

This commit is contained in:
RMidhunSuresh 2023-06-05 11:47:55 +05:30
parent e16d691437
commit c0928c75f8

View File

@ -24,6 +24,12 @@ import type {KeyDescriptionData} from "./common";
import type {Platform} from "../../platform/web/Platform.js"; import type {Platform} from "../../platform/web/Platform.js";
import type * as OlmNamespace from "@matrix-org/olm" import type * as OlmNamespace from "@matrix-org/olm"
// Add exports for other classes
export {SecretFetcher} from "./SecretFetcher";
export {SharedSecret} from "./SharedSecret";
export {SecretStorage} from "./SecretStorage";
type Olm = typeof OlmNamespace; type Olm = typeof OlmNamespace;
const SSSS_KEY = `${SESSION_E2EE_KEY_PREFIX}ssssKey`; const SSSS_KEY = `${SESSION_E2EE_KEY_PREFIX}ssssKey`;