@dereekb/rxjs 12.0.0 → 12.0.2
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 -4
- package/index.esm.js +3 -4
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -5968,9 +5968,8 @@ class ItemPageIterationInstance {
|
|
|
5968
5968
|
this._maxPageLoadLimit.next(limit);
|
|
5969
5969
|
}
|
|
5970
5970
|
nextPage(request = {}) {
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
_this._nextFinished$.pipe(rxjs.exhaustMap(() => _this.latestPageResultState$), rxjs.defaultIfEmpty({
|
|
5971
|
+
return new Promise((resolve, reject) => {
|
|
5972
|
+
this._nextFinished$.pipe(rxjs.exhaustMap(() => this.latestPageResultState$), rxjs.defaultIfEmpty({
|
|
5974
5973
|
error: undefined,
|
|
5975
5974
|
page: -1
|
|
5976
5975
|
}), rxjs.first()).subscribe({
|
|
@@ -5985,7 +5984,7 @@ class ItemPageIterationInstance {
|
|
|
5985
5984
|
reject(error);
|
|
5986
5985
|
}
|
|
5987
5986
|
});
|
|
5988
|
-
|
|
5987
|
+
this.next(request);
|
|
5989
5988
|
});
|
|
5990
5989
|
}
|
|
5991
5990
|
next(request = {}) {
|
package/index.esm.js
CHANGED
|
@@ -5966,9 +5966,8 @@ class ItemPageIterationInstance {
|
|
|
5966
5966
|
this._maxPageLoadLimit.next(limit);
|
|
5967
5967
|
}
|
|
5968
5968
|
nextPage(request = {}) {
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
_this._nextFinished$.pipe(exhaustMap(() => _this.latestPageResultState$), defaultIfEmpty({
|
|
5969
|
+
return new Promise((resolve, reject) => {
|
|
5970
|
+
this._nextFinished$.pipe(exhaustMap(() => this.latestPageResultState$), defaultIfEmpty({
|
|
5972
5971
|
error: undefined,
|
|
5973
5972
|
page: -1
|
|
5974
5973
|
}), first()).subscribe({
|
|
@@ -5983,7 +5982,7 @@ class ItemPageIterationInstance {
|
|
|
5983
5982
|
reject(error);
|
|
5984
5983
|
}
|
|
5985
5984
|
});
|
|
5986
|
-
|
|
5985
|
+
this.next(request);
|
|
5987
5986
|
});
|
|
5988
5987
|
}
|
|
5989
5988
|
next(request = {}) {
|