1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

PM-5273 Initial migration work for localData

This commit is contained in:
Carlos Gonçalves
2024-02-29 18:01:20 +00:00
parent b17239595d
commit 60ac34182d
10 changed files with 248 additions and 9 deletions

View File

@@ -571,6 +571,7 @@ export default class MainBackground {
this.encryptService,
this.cipherFileUploadService,
this.configService,
this.stateProvider,
);
this.folderService = new FolderService(
this.cryptoService,

View File

@@ -42,6 +42,7 @@ import {
i18nServiceFactory,
I18nServiceInitOptions,
} from "../../../platform/background/service-factories/i18n-service.factory";
import { stateProviderFactory } from "../../../platform/background/service-factories/state-provider.factory";
import {
stateServiceFactory,
StateServiceInitOptions,
@@ -81,6 +82,7 @@ export function cipherServiceFactory(
await encryptServiceFactory(cache, opts),
await cipherFileUploadServiceFactory(cache, opts),
await configServiceFactory(cache, opts),
await stateProviderFactory(cache, opts),
),
);
}

View File

@@ -460,6 +460,7 @@ export class Main {
this.encryptService,
this.cipherFileUploadService,
this.configService,
this.stateProvider,
);
this.folderService = new FolderService(