init state service

This commit is contained in:
Robyn MacCallum 2021-11-17 10:14:19 -05:00
parent fc2256ce1b
commit b0c095450a
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ export default class MainBackground {
this.organizationService = new OrganizationService(this.stateService);
this.policyService = new PolicyService(this.stateService, this.organizationService, this.apiService);
this.keyConnectorSerivce = new KeyConnectorService(this.stateService, this.cryptoService,
this.apiService, this.environmentService, this.tokenService, this.logService, this.organizationService);
this.apiService, this.tokenService, this.logService, this.organizationService);
const vaultTimeoutServiceCallbacks = {
locked: async () => {
@ -322,6 +322,7 @@ export default class MainBackground {
await this.runtimeBackground.init();
await this.notificationBackground.init();
await this.commandsBackground.init();
await this.stateService.init();
await this.tabsBackground.init();
await this.contextMenusBackground.init();

View File

@ -14,7 +14,6 @@ import { LogService } from 'jslib-common/abstractions/log.service';
import { PasswordGenerationService } from 'jslib-common/abstractions/passwordGeneration.service';
import { PlatformUtilsService } from 'jslib-common/abstractions/platformUtils.service';
import { StateService } from 'jslib-common/abstractions/state.service';
import { StorageService } from 'jslib-common/abstractions/storage.service';
import { SyncService } from 'jslib-common/abstractions/sync.service';
import { VaultTimeoutService } from 'jslib-common/abstractions/vaultTimeout.service';