@nxtedition/lib 19.0.13 → 19.0.15

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 +2 -2
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -257,7 +257,7 @@ export function makeCouch(opts) {
257
257
 
258
258
  return stream.pipeline(
259
259
  res.body,
260
- split2({ writableHighWaterMark: highWaterMark ?? 128 * 1024 }),
260
+ split2('\n', { writableHighWaterMark: highWaterMark ?? 128 * 1024 }),
261
261
  () => {},
262
262
  )
263
263
  }
@@ -312,7 +312,7 @@ export function makeCouch(opts) {
312
312
  params.since = data.last_seq
313
313
  } else {
314
314
  params.since = data.seq || params.since
315
- this.push(data)
315
+ changes.push(data)
316
316
  }
317
317
  } else {
318
318
  // NOTE: This makes some assumptions about the format of the JSON.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.0.13",
3
+ "version": "19.0.15",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",