@sumaris-net/ngx-components 2.4.58 → 2.4.60

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.4.58",
4
+ "version": "2.4.60",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -15,6 +15,7 @@ import { OverlayEventDetail } from '@ionic/core';
15
15
  import { AppManifest, NodeInfo } from './network.utils';
16
16
  import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
17
17
  import { ConnectionType, NetworkEventType } from './network.types';
18
+ import { ILoggingService } from '../../shared/logging/logger.model';
18
19
  import * as i0 from "@angular/core";
19
20
  export declare const PEER_URL_REGEXP: RegExp;
20
21
  export declare class NetworkService extends StartableObservableService<Peer, Peer> {
@@ -27,6 +28,7 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
27
28
  private cache;
28
29
  private http;
29
30
  protected environment: any;
31
+ private loggingService;
30
32
  private network;
31
33
  private translate;
32
34
  private toastController;
@@ -34,6 +36,7 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
34
36
  onNetworkStatusChanges: BehaviorSubject<ConnectionType>;
35
37
  onResetNetworkCache: EventEmitter<any>;
36
38
  private readonly _mobile;
39
+ private readonly _logger;
37
40
  private _timerSubscription;
38
41
  private readonly _timerRefreshPeriod;
39
42
  private readonly _timerRefreshCondition;
@@ -45,7 +48,7 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
45
48
  get connectionType(): ConnectionType;
46
49
  get peer(): Peer;
47
50
  set peer(peer: Peer);
48
- constructor(_document: any, platform: Platform, modalCtrl: ModalController, cryptoService: CryptoService, storage: Storage, settings: LocalSettingsService, cache: CacheService, http: HttpClient, environment: any, network: Network, translate: TranslateService, toastController: ToastController);
51
+ constructor(_document: any, platform: Platform, modalCtrl: ModalController, cryptoService: CryptoService, storage: Storage, settings: LocalSettingsService, cache: CacheService, http: HttpClient, environment: any, loggingService: ILoggingService, network: Network, translate: TranslateService, toastController: ToastController);
49
52
  /**
50
53
  * Register to network event
51
54
  *
@@ -141,6 +144,6 @@ export declare class NetworkService extends StartableObservableService<Peer, Pee
141
144
  protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
142
145
  protected addListener<T = any>(name: NetworkEventType, callback: (data?: T) => Promise<void>): Subscription;
143
146
  protected emit<T = any>(name: NetworkEventType, data?: T): Promise<void[]>;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
147
+ static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
145
148
  static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
146
149
  }