mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-02 18:17:46 +01:00
Merge pull request #2301 from bitwarden/Chore/UpdateJslib
[chore] Update jslib
This commit is contained in:
commit
3ff2147ac8
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit e372bf242b24f55c1142e33693ad2c801ab74c93
|
Subproject commit 92a65b7b368a8dbf55350657674c90169b04c30b
|
@ -1,9 +1,10 @@
|
|||||||
import { CipherRepromptType } from "jslib-common/enums/cipherRepromptType";
|
import { CipherRepromptType } from "jslib-common/enums/cipherRepromptType";
|
||||||
import { CipherType } from "jslib-common/enums/cipherType";
|
import { CipherType } from "jslib-common/enums/cipherType";
|
||||||
|
|
||||||
import { AccountFactory } from "jslib-common/models/domain/account";
|
|
||||||
import { CipherView } from "jslib-common/models/view/cipherView";
|
import { CipherView } from "jslib-common/models/view/cipherView";
|
||||||
|
|
||||||
|
import { GlobalState } from "jslib-common/models/domain/globalState";
|
||||||
|
|
||||||
import { ApiService } from "jslib-common/services/api.service";
|
import { ApiService } from "jslib-common/services/api.service";
|
||||||
import { AppIdService } from "jslib-common/services/appId.service";
|
import { AppIdService } from "jslib-common/services/appId.service";
|
||||||
import { AuditService } from "jslib-common/services/audit.service";
|
import { AuditService } from "jslib-common/services/audit.service";
|
||||||
@ -97,6 +98,9 @@ import VaultTimeoutService from "../services/vaultTimeout.service";
|
|||||||
|
|
||||||
import { Account } from "../models/account";
|
import { Account } from "../models/account";
|
||||||
|
|
||||||
|
import { GlobalStateFactory } from "jslib-common/factories/globalStateFactory";
|
||||||
|
import { StateFactory } from "jslib-common/factories/stateFactory";
|
||||||
|
|
||||||
export default class MainBackground {
|
export default class MainBackground {
|
||||||
messagingService: MessagingServiceAbstraction;
|
messagingService: MessagingServiceAbstraction;
|
||||||
storageService: StorageServiceAbstraction;
|
storageService: StorageServiceAbstraction;
|
||||||
@ -166,14 +170,15 @@ export default class MainBackground {
|
|||||||
this.logService = new ConsoleLogService(false);
|
this.logService = new ConsoleLogService(false);
|
||||||
this.stateMigrationService = new StateMigrationService(
|
this.stateMigrationService = new StateMigrationService(
|
||||||
this.storageService,
|
this.storageService,
|
||||||
this.secureStorageService
|
this.secureStorageService,
|
||||||
|
new GlobalStateFactory(GlobalState)
|
||||||
);
|
);
|
||||||
this.stateService = new StateService(
|
this.stateService = new StateService(
|
||||||
this.storageService,
|
this.storageService,
|
||||||
this.secureStorageService,
|
this.secureStorageService,
|
||||||
this.logService,
|
this.logService,
|
||||||
this.stateMigrationService,
|
this.stateMigrationService,
|
||||||
new AccountFactory(Account)
|
new StateFactory(GlobalState, Account)
|
||||||
);
|
);
|
||||||
this.platformUtilsService = new BrowserPlatformUtilsService(
|
this.platformUtilsService = new BrowserPlatformUtilsService(
|
||||||
this.messagingService,
|
this.messagingService,
|
||||||
|
Loading…
Reference in New Issue
Block a user