@dereekb/dbx-core 9.7.0 → 9.7.3

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.
@@ -8,13 +8,23 @@ import { Maybe } from '@dereekb/util';
8
8
  * @param timeout
9
9
  * @returns
10
10
  */
11
- export declare function tapDetectChanges<T>(cdRef: ChangeDetectorRef, timeout?: number): MonoTypeOperatorFunction<T>;
11
+ export declare function tapDetectChanges<T>(cdRef: Maybe<ChangeDetectorRef>, timeout?: number): MonoTypeOperatorFunction<T>;
12
12
  /**
13
- * Triggers a detection change on the input view as long as the view has not been destroyed.
13
+ * Triggers a check for detecting any changes on the model safely to ve registered via detectChanges().
14
14
  *
15
15
  * @param cdRef
16
16
  */
17
17
  export declare function safeDetectChanges(cdRef: ChangeDetectorRef): void;
18
+ /**
19
+ * Convenience function used within observables for views that use the OnPush ChangeDetectionStrategy and needs to call markForCheck when a new observable value is pushed.
20
+ *
21
+ * NOTE: If the observable is being consumed via the "async" pipe, this may not be necessary.
22
+ *
23
+ * @param cdRef
24
+ * @param timeout
25
+ * @returns
26
+ */
27
+ export declare function tapSafeMarkForCheck<T>(cdRef: Maybe<ChangeDetectorRef>, timeout?: number): MonoTypeOperatorFunction<T>;
18
28
  /**
19
29
  * Marks the ChangeDetectorRef for changes as long as the view has not been destroyed.
20
30
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-core",
3
- "version": "9.7.0",
3
+ "version": "9.7.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0",
@@ -9,12 +9,12 @@
9
9
  "@ngrx/effects": "^14.0.0",
10
10
  "@ngrx/entity": "^14.0.0",
11
11
  "@ngrx/store": "^14.0.0",
12
- "@dereekb/util": "9.7.0",
13
- "@dereekb/rxjs": "9.7.0",
12
+ "@dereekb/util": "9.7.3",
13
+ "@dereekb/rxjs": "9.7.3",
14
14
  "@angular/platform-browser": "^14.0.0",
15
15
  "@uirouter/core": "^6.0.8",
16
16
  "date-fns": "^2.29.0",
17
- "@dereekb/date": "9.7.0",
17
+ "@dereekb/date": "9.7.3",
18
18
  "@angular/router": "^14.0.0"
19
19
  },
20
20
  "dependencies": {