ng-easycommerce-v18 0.3.14-beta.7 → 0.3.14-beta.9

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.
@@ -1,3 +1,4 @@
1
+ import { CookieService } from 'ngx-cookie-service';
1
2
  import { Storage } from '../interfaces';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
@@ -10,7 +11,8 @@ export declare class LocalStorageService implements Storage {
10
11
  * Servicio usado para guardar los datos en las cookies
11
12
  */
12
13
  private _cookieService;
13
- constructor();
14
+ private platformId;
15
+ constructor(cookieService: CookieService);
14
16
  /**
15
17
  * Obtiene el item del Storage
16
18
  * @param key Clave para acceder al valor
@@ -35,6 +37,6 @@ export declare class LocalStorageService implements Storage {
35
37
  */
36
38
  clear(): void;
37
39
  key(index: number): string | null;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, [{ optional: true; }]>;
39
41
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
40
42
  }
@@ -1,4 +1,5 @@
1
1
  import { Storage } from '../interfaces';
2
+ import { StorageMap } from '@ngx-pwa/local-storage';
2
3
  import { Observable } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
@@ -11,7 +12,8 @@ export declare class NgxLocalStorageService implements Storage {
11
12
  * Servicio usado para guardar los datos en el localstorage.
12
13
  */
13
14
  private _storage;
14
- constructor();
15
+ private platformId;
16
+ constructor(storage: StorageMap);
15
17
  private getItemPromise;
16
18
  /**
17
19
  * Obtiene el item del Storage
@@ -37,6 +39,6 @@ export declare class NgxLocalStorageService implements Storage {
37
39
  */
38
40
  clear(): void;
39
41
  key(index: number): string | null;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxLocalStorageService, never>;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxLocalStorageService, [{ optional: true; }]>;
41
43
  static ɵprov: i0.ɵɵInjectableDeclaration<NgxLocalStorageService>;
42
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-easycommerce-v18",
3
- "version": "0.3.14-beta.7",
3
+ "version": "0.3.14-beta.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"