cry-db 2.1.21 → 2.1.22

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/dist/mongo.js +1 -1
  2. package/package.json +1 -1
package/dist/mongo.js CHANGED
@@ -241,7 +241,7 @@ class Mongo extends db_1.Db {
241
241
  if (timestamp === 1 || timestamp === "1" || timestamp === "0" || timestamp === 0)
242
242
  ts = {};
243
243
  else
244
- ts = { $gt: { _ts: _1.Base.timestamp(timestamp) } };
244
+ ts = { _ts: { $gt: _1.Base.timestamp(timestamp) } };
245
245
  let query = {
246
246
  ...(coll.query || {}),
247
247
  ...ts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cry-db",
3
- "version": "2.1.21",
3
+ "version": "2.1.22",
4
4
  "description": "database access with mongo",
5
5
  "main": "./dist/index.js",
6
6
  "files": [