From af9b8b94f8112182191a3ff6eee3db0b442cfff3 Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 3 Feb 2022 14:08:45 -0500 Subject: [PATCH] Update jslib (#462) --- jslib | 2 +- src/bw.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jslib b/jslib index 92a65b7..448856c 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 92a65b7b368a8dbf55350657674c90169b04c30b +Subproject commit 448856cc22510086bfddc99e3f1022ee28727694 diff --git a/src/bw.ts b/src/bw.ts index 79d5b7e..da3f408 100644 --- a/src/bw.ts +++ b/src/bw.ts @@ -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(