@rxap/ngx-memory 19.0.3 → 19.0.4-dev.0
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/CHANGELOG.md +4 -0
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +2 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +95 -95
- package/docs/html/classes/EphemeralStorageService.html +3 -3
- package/docs/html/classes/LocalStorageService.html +3 -3
- package/docs/html/classes/MockStorage.html +8 -8
- package/docs/html/classes/SessionStorageService.html +3 -3
- package/docs/html/classes/StorageService.html +3 -3
- package/docs/html/functions/LocalStorage.html +2 -2
- package/docs/html/functions/SessionStorage.html +2 -2
- package/docs/html/functions/StorageGet.html +1 -1
- package/docs/html/functions/StorageHas.html +1 -1
- package/docs/html/functions/StorageKey.html +1 -1
- package/docs/html/functions/StorageRemove.html +1 -1
- package/docs/html/functions/StorageSet.html +1 -1
- package/docs/html/functions/WebStorage.html +1 -1
- package/docs/html/functions/getExpired.html +1 -1
- package/docs/html/functions/stringify.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ExpiredUnit.html +2 -2
- package/docs/html/variables/isBrowser.html +2 -2
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/EphemeralStorageService.md +8 -8
- package/docs/markdown/classes/LocalStorageService.md +8 -8
- package/docs/markdown/classes/MockStorage.md +9 -9
- package/docs/markdown/classes/SessionStorageService.md +8 -8
- package/docs/markdown/classes/StorageService.md +8 -8
- package/docs/markdown/functions/LocalStorage.md +2 -2
- package/docs/markdown/functions/SessionStorage.md +2 -2
- package/docs/markdown/functions/StorageGet.md +2 -2
- package/docs/markdown/functions/StorageHas.md +2 -2
- package/docs/markdown/functions/StorageKey.md +2 -2
- package/docs/markdown/functions/StorageRemove.md +2 -2
- package/docs/markdown/functions/StorageSet.md +2 -2
- package/docs/markdown/functions/WebStorage.md +2 -2
- package/docs/markdown/functions/getExpired.md +2 -2
- package/docs/markdown/functions/stringify.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/ExpiredUnit.md +2 -2
- package/docs/markdown/variables/isBrowser.md +2 -2
- package/docs/wiki/Class.EphemeralStorageService.md +7 -7
- package/docs/wiki/Class.LocalStorageService.md +7 -7
- package/docs/wiki/Class.MockStorage.md +8 -8
- package/docs/wiki/Class.SessionStorageService.md +7 -7
- package/docs/wiki/Class.StorageService.md +7 -7
- package/docs/wiki/Function.LocalStorage.md +1 -1
- package/docs/wiki/Function.SessionStorage.md +1 -1
- package/docs/wiki/Function.StorageGet.md +1 -1
- package/docs/wiki/Function.StorageHas.md +1 -1
- package/docs/wiki/Function.StorageKey.md +1 -1
- package/docs/wiki/Function.StorageRemove.md +1 -1
- package/docs/wiki/Function.StorageSet.md +1 -1
- package/docs/wiki/Function.WebStorage.md +1 -1
- package/docs/wiki/Function.getExpired.md +1 -1
- package/docs/wiki/Function.stringify.md +1 -1
- package/docs/wiki/TypeAlias.ExpiredUnit.md +1 -1
- package/docs/wiki/Variable.isBrowser.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-memory.mjs +12 -12
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ExpiredUnit**: `"s"` \| `"m"` \| `"h"` \| `"d"` \| `"w"` \| `"y"` \| `"t"`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:11](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/memory/src/lib/storage-utility.ts#L11)
|
|
8
8
|
|
|
9
9
|
Expiration time unit
|
|
10
10
|
s: seconds
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **isBrowser**: `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:18](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/memory/src/lib/storage-utility.ts#L18)
|
|
8
8
|
|
|
9
9
|
Determining if an Angular application is rendered in the browser
|
|
10
10
|
The Angular `PLATFORM_ID` identifier cannot be used directly by the `decorator`.
|
package/docs/wiki/globals.md
CHANGED
|
@@ -223,10 +223,10 @@ class StorageService {
|
|
|
223
223
|
clear() {
|
|
224
224
|
this.storage?.clear();
|
|
225
225
|
}
|
|
226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
227
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: StorageService, deps: [{ token: Storage }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
227
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: StorageService }); }
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: StorageService, decorators: [{
|
|
230
230
|
type: Injectable
|
|
231
231
|
}], ctorParameters: () => [{ type: Storage }] });
|
|
232
232
|
|
|
@@ -234,10 +234,10 @@ class EphemeralStorageService extends StorageService {
|
|
|
234
234
|
constructor() {
|
|
235
235
|
super(new MockStorage());
|
|
236
236
|
}
|
|
237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
238
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EphemeralStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
238
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EphemeralStorageService, providedIn: 'root' }); }
|
|
239
239
|
}
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EphemeralStorageService, decorators: [{
|
|
241
241
|
type: Injectable,
|
|
242
242
|
args: [{ providedIn: 'root' }]
|
|
243
243
|
}], ctorParameters: () => [] });
|
|
@@ -246,10 +246,10 @@ class LocalStorageService extends StorageService {
|
|
|
246
246
|
constructor() {
|
|
247
247
|
super(isBrowser ? localStorage : null);
|
|
248
248
|
}
|
|
249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
250
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LocalStorageService, providedIn: 'root' }); }
|
|
251
251
|
}
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: LocalStorageService, decorators: [{
|
|
253
253
|
type: Injectable,
|
|
254
254
|
args: [{ providedIn: 'root' }]
|
|
255
255
|
}], ctorParameters: () => [] });
|
|
@@ -258,10 +258,10 @@ class SessionStorageService extends StorageService {
|
|
|
258
258
|
constructor() {
|
|
259
259
|
super(isBrowser ? sessionStorage : null);
|
|
260
260
|
}
|
|
261
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
262
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1
|
|
261
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
262
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SessionStorageService, providedIn: 'root' }); }
|
|
263
263
|
}
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SessionStorageService, decorators: [{
|
|
265
265
|
type: Injectable,
|
|
266
266
|
args: [{ providedIn: 'root' }]
|
|
267
267
|
}], ctorParameters: () => [] });
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.0.
|
|
2
|
+
"version": "19.0.4-dev.0",
|
|
3
3
|
"name": "@rxap/ngx-memory",
|
|
4
4
|
"description": "This package provides Angular services and decorators for interacting with web storage (localStorage and sessionStorage) and in-memory storage. It offers a simple way to manage data persistence with expiration options and provides decorators for binding class properties directly to storage values. The package includes services for local storage, session storage, and ephemeral (in-memory) storage.\n",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nx/devkit": "20.
|
|
7
|
+
"@nx/devkit": "20.5.0",
|
|
8
8
|
"tslib": "2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/core": "^19.1
|
|
11
|
+
"@angular/core": "^19.2.1"
|
|
12
12
|
},
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Merzough Münker",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"packageGroup": [
|
|
34
34
|
{
|
|
35
35
|
"package": "@angular/core",
|
|
36
|
-
"version": "19.1
|
|
36
|
+
"version": "19.2.1"
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"schematics": "./generators.json",
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "e4552670b179901abc7ce57cc3ff490ac705b867",
|
|
52
52
|
"module": "fesm2022/rxap-ngx-memory.mjs",
|
|
53
53
|
"typings": "index.d.ts",
|
|
54
54
|
"exports": {
|