Fix imports

This commit is contained in:
RMidhunSuresh 2021-11-29 13:54:44 +05:30
parent 9b8ab9fd8d
commit dd4704b818
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
import {ViewModel} from "./ViewModel.js";
import {KeyType} from "../matrix/ssss/index.js";
import {KeyType} from "../matrix/ssss/index";
import {Status} from "./session/settings/SessionBackupViewModel.js";
export class AccountSetupViewModel extends ViewModel {

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
import {ViewModel} from "../../ViewModel.js";
import {KeyType} from "../../../matrix/ssss/index.js";
import {KeyType} from "../../../matrix/ssss/index";
import {createEnum} from "../../../utils/enum";
export const Status = createEnum("Enabled", "SetupKey", "SetupPhrase", "Pending");

View file

@ -42,7 +42,7 @@ import {
writeKey as ssssWriteKey,
removeKey as ssssRemoveKey,
keyFromDehydratedDeviceKey as createSSSSKeyFromDehydratedDeviceKey
} from "./ssss/index.js";
} from "./ssss/index";
import {SecretStorage} from "./ssss/SecretStorage.js";
import {ObservableValue, RetainedObservableValue} from "../observable/ObservableValue";

View file

@ -16,7 +16,7 @@ limitations under the License.
const DEHYDRATION_LIBOLM_PICKLE_ALGORITHM = "org.matrix.msc2697.v1.olm.libolm_pickle";
import {KeyDescription} from "../ssss/common";
import {keyFromCredentialAndDescription} from "../ssss/index.js";
import {keyFromCredentialAndDescription} from "../ssss/index";
export async function getDehydratedDevice(hsApi, olm, platform, log) {
try {