speedly 1.2.36 → 1.2.37

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.
package/dist/cjs/db/db.js CHANGED
@@ -205,6 +205,7 @@ const usingMongoDb = (collectionName, config = { type: 'external' }) => {
205
205
  const limit = parseInt(Array.isArray(req.query.limit) ? String(req.query.limit[0]) : typeof req.query.limit === 'string' ? req.query.limit : req.query.limit !== undefined ? String(req.query.limit) : '') ||
206
206
  configs.pagination?.quantity ||
207
207
  20;
208
+ console.log('db', 261, model, config.path);
208
209
  const totalPages = Math.ceil((await model.countDocuments(match)) / limit);
209
210
  detail = {
210
211
  ...detail,
package/dist/esm/db/db.js CHANGED
@@ -205,6 +205,7 @@ const usingMongoDb = (collectionName, config = { type: 'external' }) => {
205
205
  const limit = parseInt(Array.isArray(req.query.limit) ? String(req.query.limit[0]) : typeof req.query.limit === 'string' ? req.query.limit : req.query.limit !== undefined ? String(req.query.limit) : '') ||
206
206
  configs.pagination?.quantity ||
207
207
  20;
208
+ console.log('db', 261, model, config.path);
208
209
  const totalPages = Math.ceil((await model.countDocuments(match)) / limit);
209
210
  detail = {
210
211
  ...detail,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speedly",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",