@resolveio/client-lib-core 21.0.42 → 21.0.44

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/client-lib-core",
3
- "version": "21.0.42",
3
+ "version": "21.0.44",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -225,6 +225,8 @@ declare class AlertService {
225
225
  constructor(_toastr: ToastrService);
226
226
  clearAlert(id?: any): void;
227
227
  private registerTapToClear;
228
+ private titleForType;
229
+ updateAlert(existing: ActiveToast<any> | undefined, message: string, type?: alertType, timer?: number): ActiveToast<any>;
228
230
  setAlert(type: alertType, message: string, timer?: number): ActiveToast<any>;
229
231
  static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
230
232
  static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
@@ -326,8 +328,8 @@ declare class OfflineManagerService {
326
328
  find(collectionName: string, query: Object, options?: {}, total?: boolean): any;
327
329
  findOne(collectionName: string, query: Object): any;
328
330
  insertDocument(collectionName: string, data: Object, expiresDate?: Date): string;
329
- updateDocument(collectionName: string, data: Object): 1 | 0;
330
- updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 1 | 0;
331
+ updateDocument(collectionName: string, data: Object): 0 | 1;
332
+ updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 0 | 1;
331
333
  removeDocument(collectionName: string, id: string): void;
332
334
  dropCollection(collectionName: any): void;
333
335
  static ɵfac: i0.ɵɵFactoryDeclaration<OfflineManagerService, never>;
@@ -1767,7 +1769,7 @@ interface CanComponentDeactivate {
1767
1769
  canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
1768
1770
  }
1769
1771
  declare class CanDeactivateGuard {
1770
- canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
1772
+ canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
1771
1773
  static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
1772
1774
  static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
1773
1775
  }