@nxtedition/lib 19.9.3 → 19.9.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 (2) hide show
  1. package/couch.js +1 -4
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -717,11 +717,8 @@ export function makeCouch(opts) {
717
717
  }
718
718
 
719
719
  async function up(params, body, { client = defaultClient, signal = null } = {}) {
720
- const res = await request({
721
- path: '/_up',
722
- method: 'GET',
720
+ const res = await undiciRequest(new URL('/_up', dbOrigin), {
723
721
  signal,
724
- throwOnError: true,
725
722
  dispatcher: client,
726
723
  })
727
724
  return await res.body.json()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "19.9.3",
3
+ "version": "19.9.4",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",