1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

Fix/lowdb no cache (#443)

* Add jslib prettier commit to client ignore hashes

* Remove lowdb caching

* Fix state service remove being set to null

* Await in-memory key retrieval

* Fix key loading and unlock requests.

* Linter fixes

* linter fixes

* linter fixes
This commit is contained in:
Matt Gibson
2022-01-13 12:03:19 -05:00
committed by GitHub
parent b962af303a
commit 3b1ccb409e
4 changed files with 38 additions and 31 deletions

View File

@@ -120,7 +120,7 @@ export class Main {
(level) => process.env.BITWARDENCLI_DEBUG !== "true" && level <= LogLevelType.Info
);
this.cryptoFunctionService = new NodeCryptoFunctionService();
this.storageService = new LowdbStorageService(this.logService, null, p, true);
this.storageService = new LowdbStorageService(this.logService, null, p, false);
this.secureStorageService = new NodeEnvSecureStorageService(
this.storageService,
this.logService,