mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +01:00
[chore] Update jslib (#459)
This commit is contained in:
parent
68548d8db9
commit
3718f35efd
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit e372bf242b24f55c1142e33693ad2c801ab74c93
|
||||
Subproject commit 92a65b7b368a8dbf55350657674c90169b04c30b
|
11
src/bw.ts
11
src/bw.ts
@ -50,7 +50,11 @@ import { Program } from "./program";
|
||||
import { SendProgram } from "./send.program";
|
||||
import { VaultProgram } from "./vault.program";
|
||||
|
||||
import { Account, AccountFactory } from "jslib-common/models/domain/account";
|
||||
import { Account } from "jslib-common/models/domain/account";
|
||||
import { GlobalState } from "jslib-common/models/domain/globalState";
|
||||
|
||||
import { GlobalStateFactory } from "jslib-common/factories/globalStateFactory";
|
||||
import { StateFactory } from "jslib-common/factories/stateFactory";
|
||||
|
||||
// Polyfills
|
||||
(global as any).DOMParser = new jsdom.JSDOM().window.DOMParser;
|
||||
@ -131,7 +135,8 @@ export class Main {
|
||||
|
||||
this.stateMigrationService = new StateMigrationService(
|
||||
this.storageService,
|
||||
this.secureStorageService
|
||||
this.secureStorageService,
|
||||
new GlobalStateFactory(GlobalState)
|
||||
);
|
||||
|
||||
this.stateService = new StateService(
|
||||
@ -139,7 +144,7 @@ export class Main {
|
||||
this.secureStorageService,
|
||||
this.logService,
|
||||
this.stateMigrationService,
|
||||
new AccountFactory(Account)
|
||||
new StateFactory(GlobalState, Account)
|
||||
);
|
||||
|
||||
this.cryptoService = new CryptoService(
|
||||
|
Loading…
Reference in New Issue
Block a user