add new route "/vault-import" in the popup

This commit is contained in:
DEV Sam Hayes
2025-02-07 17:14:29 +01:00
parent 7f0829af09
commit 27e8d52d23
16 changed files with 230 additions and 60 deletions

View File

@@ -115,6 +115,14 @@ export class StorageService {
await deleteVault.call(this, doNotSetIsInitializedToFalse);
}
async resetExtension() {
this.assureIsInitialized();
await this.getBrowserSyncHandler().clearData();
await this.getBrowserSessionHandler().clearData();
await this.getGootiMetaHandler().clearData([]);
this.isInitialized = false;
}
async unlockVault(password: string): Promise<void> {
await unlockVault.call(this, password);
}