@livequery/mongoose 2.0.24 → 2.0.25

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.
@@ -231,7 +231,7 @@ export class MongoQuery {
231
231
  },
232
232
  in: () => ({ $in: JSON.parse(value) }),
233
233
  nin: () => ({ $nin: JSON.parse(value) }),
234
- 'eq-string': ({ $eq: value })
234
+ 'eq-string': () => ({ $eq: value })
235
235
  };
236
236
  const fn = map[expression || 'eq-string'];
237
237
  if (!fn)
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "repository": {
7
7
  "url": "git@github.com:livequery/mongoose.git"
8
8
  },
9
- "version": "2.0.24",
9
+ "version": "2.0.25",
10
10
  "description": "Mongoose datasource mapping for @livequery ecosystem",
11
11
  "main": "./build/src/index.js",
12
12
  "types": "./build/src/index.d.ts",