1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-30 07:03:21 +00:00
Files
jslib/common/src/models/domain/storageOptions.ts
addison 4e65a5ac4f [bug] Remove keySuffix storage option and split uses into unique methods
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.
2021-11-16 09:56:01 -05:00

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;
};