amphora 8.4.2-dev.0 → 8.4.2-dev.1

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/lib/responses.js +7 -0
  2. package/package.json +1 -1
package/lib/responses.js CHANGED
@@ -459,6 +459,13 @@ function checkPageSize(req) {
459
459
  const sizeParam = toInt(req.query.size);
460
460
  const sizeMax = toInt(process.env.CLAY_STORAGE_MAX_PAGE_SIZE);
461
461
 
462
+ console.log(
463
+ `env.default ${
464
+ process.env.CLAY_STORAGE_DEFAULT_PAGE_SIZE
465
+ }, type ${typeof process.env
466
+ .CLAY_STORAGE_DEFAULT_PAGE_SIZE}, resolved default ${sizeDefault}, type ${typeof sizeDefault}, resolvedMax ${sizeMax}, query param ${sizeParam}`
467
+ );
468
+
462
469
  const size = sizeParam || sizeDefault;
463
470
 
464
471
  if (size) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amphora",
3
- "version": "8.4.2-dev.0",
3
+ "version": "8.4.2-dev.1",
4
4
  "description": "An API mixin for Express that saves, publishes and composes data with the key-value store of your choice.",
5
5
  "main": "index.js",
6
6
  "scripts": {