@cocreate/mongodb 1.12.0 → 1.12.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [1.12.1](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.12.0...v1.12.1) (2023-11-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies for latest features ([704750a](https://github.com/CoCreate-app/CoCreate-mongodb/commit/704750af769d95e78535221ed9bf92a2aa20b1fd))
7
+ * removed limit = index + limit ([c085917](https://github.com/CoCreate-app/CoCreate-mongodb/commit/c085917d06c6017298b6c09f974015b22341a404))
8
+
1
9
  # [1.12.0](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.11.0...v1.12.0) (2023-11-09)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/mongodb",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "A simple mongodb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "mongodb",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "dependencies": {
48
- "@cocreate/utils": "^1.26.2",
48
+ "@cocreate/utils": "^1.27.1",
49
49
  "mongodb": "^4.12.1"
50
50
  }
51
51
  }
package/src/index.js CHANGED
@@ -630,8 +630,6 @@ async function createFilter(data, arrayObj) {
630
630
  index = data.$filter.index
631
631
  if (data.$filter.limit)
632
632
  limit = data.$filter.limit
633
- if (limit)
634
- limit = index + limit;
635
633
  }
636
634
 
637
635
  if (data['organization_id'])