@nxtedition/lib 19.10.2 → 19.10.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.
Files changed (2) hide show
  1. package/couch.js +4 -2
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -231,8 +231,10 @@ export function makeCouch(opts) {
231
231
  client,
232
232
  })) {
233
233
  yield changes
234
- count += changes.length
235
- remaining -= changes.length
234
+ if (changes != null) {
235
+ count += changes.length
236
+ remaining -= changes.length
237
+ }
236
238
  }
237
239
  assert(remaining >= 0)
238
240
  if (!live && count < socketCount) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.10.2",
3
+ "version": "19.10.3",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",