mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Add to/fromJSON methods to State and Accounts
This is needed since all storage in manifest v3 is key-value-pair-based and session storage of most data is actually serialized into an encrypted string.
This commit is contained in:
@@ -116,8 +116,8 @@ describe("State Migration Service", () => {
|
||||
key: "orgThreeEncKey",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} as any,
|
||||
} as any,
|
||||
});
|
||||
|
||||
const migratedAccount = await (stateMigrationService as any).migrateAccountFrom4To5(
|
||||
|
||||
Reference in New Issue
Block a user