@nxtedition/lib 19.10.2 → 19.10.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.
Files changed (3) hide show
  1. package/app.js +1 -1
  2. package/couch.js +4 -2
  3. package/package.json +1 -1
package/app.js CHANGED
@@ -350,7 +350,7 @@ export function makeApp(appConfig, onTerminate) {
350
350
 
351
351
  dsConfig = {
352
352
  maxReconnectAttempts: Infinity,
353
- maxReconnectInterval: 10e3,
353
+ maxReconnectInterval: 1e3,
354
354
  ...dsConfig,
355
355
  credentials: {
356
356
  username: userName,
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.4",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",