mirror of
https://github.com/bitwarden/jslib
synced 2025-12-30 07:03:21 +00:00
The keySuffix options don't work with saving serialized json as a storage object - use cases simply overwrite each other in state. This commit breaks Auto and Biometric keys into distinct storage items and adjusts logic accordingly.
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
import { HtmlStorageLocation } from '../../enums/htmlStorageLocation';
|
|
import { StorageLocation } from '../../enums/storageLocation';
|
|
|
|
export type StorageOptions = {
|
|
storageLocation?: StorageLocation;
|
|
useSecureStorage?: boolean;
|
|
userId?: string;
|
|
htmlStorageLocation?: HtmlStorageLocation;
|
|
};
|