@nxtedition/lib 19.0.48 → 19.0.49

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.
Files changed (2) hide show
  1. package/deepstream.js +5 -5
  2. package/package.json +1 -1
package/deepstream.js CHANGED
@@ -1,4 +1,4 @@
1
- import assert from 'node:assert'
1
+ // import assert from 'node:assert'
2
2
  import qs from 'qs'
3
3
  import cached from './util/cached.js'
4
4
  import * as rxjs from 'rxjs'
@@ -156,16 +156,16 @@ function query(ds, designId, options) {
156
156
  )
157
157
  .pipe(
158
158
  rxjs.switchMap(({ rows, finished }) => {
159
- assert(Array.isArray(rows))
160
- assert(typeof finished === 'boolean')
159
+ // assert(Array.isArray(rows))
160
+ // assert(typeof finished === 'boolean')
161
161
 
162
162
  const nextRows = prevRows.length ? [...prevRows, ...rows] : rows
163
163
  if (finished) {
164
164
  return rxjs.of({ rows: nextRows })
165
165
  } else {
166
166
  const last = rows.pop()
167
- assert(last.key)
168
- assert(rows.length > 0)
167
+ // assert(last.key)
168
+ // assert(rows.length > 0)
169
169
  return next(last.key, nextRows, limit - rows.length)
170
170
  }
171
171
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.0.48",
3
+ "version": "19.0.49",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",