@nxtedition/lib 17.2.20 → 17.2.21

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 -1
  2. package/package.json +1 -1
package/couch.js CHANGED
@@ -283,7 +283,7 @@ export function makeCouch(opts) {
283
283
 
284
284
  async function* normal() {
285
285
  const batchSize =
286
- options.batch_size ?? options.batchSize ?? (params.include_docs ? 256 : 1024)
286
+ options.batch_size ?? options.batchSize ?? (params.include_docs ? 512 : 4096)
287
287
  let remaining = parseInt(options.limit) || Infinity
288
288
 
289
289
  const next = async () => {
@@ -846,6 +846,9 @@ export function makeCouch(opts) {
846
846
  }
847
847
 
848
848
  return {
849
+ get url() {
850
+ return config.url
851
+ },
849
852
  request,
850
853
  bulkDocs,
851
854
  allDocs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "17.2.20",
3
+ "version": "17.2.21",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",