Update jslib (#462)

This commit is contained in:
Addison Beck 2022-02-03 14:08:45 -05:00 committed by GitHub
parent 3718f35efd
commit af9b8b94f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 92a65b7b368a8dbf55350657674c90169b04c30b
Subproject commit 448856cc22510086bfddc99e3f1022ee28727694

View File

@ -53,7 +53,6 @@ import { VaultProgram } from "./vault.program";
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
@ -136,7 +135,7 @@ export class Main {
this.stateMigrationService = new StateMigrationService(
this.storageService,
this.secureStorageService,
new GlobalStateFactory(GlobalState)
new StateFactory(GlobalState, Account)
);
this.stateService = new StateService(