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