@ngx-pwa/local-storage
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "@ngx-pwa/local-storage", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Efficient local storage module for Angular apps and PWA: simple API based on native localStorage API, but internally stored via the asynchronous IndexedDB API for performance, and wrapped in RxJS observables to be homogeneous with other Angular modules.", | ||
@@ -5,0 +5,0 @@ "main": "./bundles/local-storage.umd.js", |
@@ -40,3 +40,3 @@ # Async local storage for Angular | ||
If you already use the previous `angular-async-local-storage` package, see the [migration guide](https://github.com/cyrilletuzi/angular-async-local-storage/MIGRATION.md). | ||
If you already use the previous `angular-async-local-storage` package, see the [migration guide](https://github.com/cyrilletuzi/angular-async-local-storage/blob/master/MIGRATION.md). | ||
@@ -53,2 +53,5 @@ ## Getting started | ||
npm install @ngx-pwa/local-storage@4 | ||
# For Angular 6 (next): | ||
npm install @ngx-pwa/local-storage@next | ||
``` | ||
@@ -186,3 +189,3 @@ | ||
This lib major version is aligned to the major version of Angular. Meaning for Angular 4 you need version 4, | ||
for Angular 5 you need version 5, and so on. | ||
for Angular 5 you need version 5, for Angular 6 you need version 6, and so on. | ||
@@ -189,0 +192,0 @@ We follow [Angular LTS support](https://github.com/angular/angular/blob/master/docs/RELEASE_SCHEDULE.md), |
@@ -20,3 +20,3 @@ import { Observable } from 'rxjs/Observable'; | ||
*/ | ||
getItem<T = any>(key: string, options?: LSGetItemOptions): Observable<any>; | ||
getItem<T = any>(key: string, options?: LSGetItemOptions): Observable<T | null>; | ||
/** | ||
@@ -23,0 +23,0 @@ * Sets an item in local storage |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
272373
260