@ngxs/storage-plugin 3.8.1 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ngxs-storage-plugin.umd.js +771 -632
- package/bundles/ngxs-storage-plugin.umd.js.map +1 -1
- package/esm2015/src/engines.js +8 -6
- package/esm2015/src/internals/final-options.js +3 -2
- package/esm2015/src/storage.module.js +3 -2
- package/esm2015/src/storage.plugin.js +49 -51
- package/esm2015/src/symbols.js +4 -3
- package/fesm2015/ngxs-storage-plugin.js +62 -60
- package/fesm2015/ngxs-storage-plugin.js.map +1 -1
- package/package.json +3 -3
- package/src/engines.d.ts +2 -2
- package/src/symbols.d.ts +1 -4
package/src/symbols.d.ts
CHANGED
|
@@ -62,9 +62,6 @@ export interface NgxsStoragePluginOptions {
|
|
|
62
62
|
export declare const NGXS_STORAGE_PLUGIN_OPTIONS: InjectionToken<unknown>;
|
|
63
63
|
export declare const STORAGE_ENGINE: InjectionToken<StorageEngine>;
|
|
64
64
|
export interface StorageEngine {
|
|
65
|
-
readonly length: number;
|
|
66
65
|
getItem(key: string): any;
|
|
67
|
-
setItem(key: string,
|
|
68
|
-
removeItem(key: string): void;
|
|
69
|
-
clear(): void;
|
|
66
|
+
setItem(key: string, value: any): void;
|
|
70
67
|
}
|