@dereekb/rxjs 10.1.30 → 10.2.0
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/index.cjs.js +3 -1
- package/index.esm.js +5 -1
- package/package.json +1 -1
- package/src/lib/object.d.ts +5 -1
package/index.cjs.js
CHANGED
|
@@ -1729,7 +1729,9 @@ function emitAfterDelay(value, delayTime) {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
1731
|
/**
|
|
1732
|
-
* Equivalent to distinctUntilChanged() using
|
|
1732
|
+
* Equivalent to distinctUntilChanged() using areEqualPOJOValues().
|
|
1733
|
+
*
|
|
1734
|
+
* The compared objects should only be POJOs or compatable with the areEqualPOJOValues() function.
|
|
1733
1735
|
*/
|
|
1734
1736
|
function distinctUntilObjectValuesChanged() {
|
|
1735
1737
|
return rxjs.distinctUntilChanged((a, b) => util.areEqualPOJOValues(a, b));
|
package/index.esm.js
CHANGED
|
@@ -1803,7 +1803,9 @@ function emitAfterDelay(value, delayTime) {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
1805
|
/**
|
|
1806
|
-
* Equivalent to distinctUntilChanged() using
|
|
1806
|
+
* Equivalent to distinctUntilChanged() using areEqualPOJOValues().
|
|
1807
|
+
*
|
|
1808
|
+
* The compared objects should only be POJOs or compatable with the areEqualPOJOValues() function.
|
|
1807
1809
|
*/
|
|
1808
1810
|
function distinctUntilObjectValuesChanged() {
|
|
1809
1811
|
return distinctUntilChanged((a, b) => areEqualPOJOValues(a, b));
|
|
@@ -1811,6 +1813,8 @@ function distinctUntilObjectValuesChanged() {
|
|
|
1811
1813
|
|
|
1812
1814
|
/**
|
|
1813
1815
|
* Observable filter that filters the input if the object is unchanged/equal to the input.
|
|
1816
|
+
*
|
|
1817
|
+
* The compared objects should only be POJOs or compatable with the areEqualPOJOValues() function.
|
|
1814
1818
|
*/
|
|
1815
1819
|
|
|
1816
1820
|
function filterIfObjectValuesUnchanged(input) {
|
package/package.json
CHANGED
package/src/lib/object.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { type MonoTypeOperatorFunction, type Observable } from 'rxjs';
|
|
2
2
|
/**
|
|
3
|
-
* Equivalent to distinctUntilChanged() using
|
|
3
|
+
* Equivalent to distinctUntilChanged() using areEqualPOJOValues().
|
|
4
|
+
*
|
|
5
|
+
* The compared objects should only be POJOs or compatable with the areEqualPOJOValues() function.
|
|
4
6
|
*/
|
|
5
7
|
export declare function distinctUntilObjectValuesChanged<T>(): MonoTypeOperatorFunction<T>;
|
|
6
8
|
/**
|
|
7
9
|
* Observable filter that filters the input if the object is unchanged/equal to the input.
|
|
10
|
+
*
|
|
11
|
+
* The compared objects should only be POJOs or compatable with the areEqualPOJOValues() function.
|
|
8
12
|
*/
|
|
9
13
|
export declare function filterIfObjectValuesUnchanged<F>(inputFilter: F): MonoTypeOperatorFunction<F>;
|
|
10
14
|
export declare function filterIfObjectValuesUnchanged<F>(obs: Observable<F>): MonoTypeOperatorFunction<F>;
|