1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-27 21:53:14 +00:00
addison e8970725be [bug] Keep up with entire state in storage instead of just accounts and globals
Not having access to the last active user was creating issues across clients when restarting the process.
For example: when refreshing the page on web we no longer maintain an understanding of who is logged in.

To resolve this I converted all storage save operations to get and save an entire state object, instead of specifying accounts and globals.
This allows for more flexible saving, like saving activeUserId as a top level storage item.
2021-11-11 16:27:40 -05:00
2021-10-27 19:00:34 +10:00
2018-04-20 10:59:35 -04:00
2018-04-10 22:05:36 -04:00
2018-04-17 16:15:19 -04:00
2018-01-26 16:07:38 -05:00
2021-05-26 21:45:23 +02:00
2018-02-27 14:19:31 -05:00

Github Workflow build on master

Bitwarden JavaScript Library

Common code referenced across Bitwarden JavaScript projects.

Requirements

  • Node.js v14.17 or greater
  • NPM v7
  • Git
  • node-gyp

Windows

  • Microsoft Build Tools 2015 in Visual Studio Installer
  • Windows 10 SDK 17134 either by downloading it seperately or through the Visual Studio Installer.
Description
No description provided
Readme 19 MiB
Languages
TypeScript 98.5%
SCSS 0.8%
JavaScript 0.3%
HTML 0.2%
CSS 0.2%