@nxtedition/lib 19.5.3 → 19.5.4
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/deepstream.js +1 -1
- package/package.json +1 -1
package/deepstream.js
CHANGED
|
@@ -165,7 +165,7 @@ function query(ds, designId, params, state = ds.record.PROVIDER) {
|
|
|
165
165
|
// assert(Array.isArray(rows))
|
|
166
166
|
// assert(typeof finished === 'boolean')
|
|
167
167
|
const rows = prevRows.length ? [...prevRows, ...currRows] : currRows
|
|
168
|
-
return finished
|
|
168
|
+
return finished || currRows.length === 0
|
|
169
169
|
? rxjs.of({ rows })
|
|
170
170
|
: next(currRows.at(-1).key + '\u0000', rows, limit - currRows.length)
|
|
171
171
|
}),
|