mirror of
https://github.com/bitwarden/jslib
synced 2025-12-20 02:03:50 +00:00
[bug] Make activity a top level storage key (#656)
* [bug] Make activity a top level storage key * [bug] use correct index for migration * [bug] use correct index for migration part 2
This commit is contained in:
@@ -94,7 +94,6 @@ export class AccountProfile {
|
||||
everBeenUnlocked?: boolean;
|
||||
forcePasswordReset?: boolean;
|
||||
hasPremiumPersonally?: boolean;
|
||||
lastActive?: number;
|
||||
lastSync?: string;
|
||||
userId?: string;
|
||||
usesKeyConnector?: boolean;
|
||||
|
||||
@@ -9,6 +9,7 @@ export class State<
|
||||
globals: TGlobalState;
|
||||
activeUserId: string;
|
||||
authenticatedAccounts: string[] = [];
|
||||
accountActivity: { [userId: string]: number } = {};
|
||||
|
||||
constructor(globals: TGlobalState) {
|
||||
this.globals = globals;
|
||||
|
||||
Reference in New Issue
Block a user