@nxtedition/lib 18.0.4 → 18.0.5

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 +1 -1
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -375,7 +375,7 @@ export function makeCouch(opts) {
375
375
  }
376
376
  return
377
377
  } catch (err) {
378
- if (err.name === 'AbortError') {
378
+ if (err.name === 'AbortError' || client.destroyed) {
379
379
  throw err
380
380
  } else if (typeof retry === 'function') {
381
381
  const retryState = { since: params.since }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "18.0.4",
3
+ "version": "18.0.5",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",