doix-db 1.0.31 → 1.0.33

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/lib/DbClient.js CHANGED
@@ -31,6 +31,8 @@ class DbClient extends EventEmitter {
31
31
  super ()
32
32
 
33
33
  this.count = 0
34
+
35
+ this.txn = null
34
36
 
35
37
  this.uuid = randomUUID ()
36
38
 
package/lib/DbLang.js CHANGED
@@ -266,7 +266,7 @@ class DbLang {
266
266
  return '(?' + ',?'.repeat (filter.params.length - 1) + ')'
267
267
 
268
268
  default:
269
- throw Error ('Unknown comparison operator: ' + op)
269
+ throw Error ('Unknown comparison operator: ' + filter.op)
270
270
 
271
271
  }
272
272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doix-db",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Shared database related code for doix",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "homepage": "https://github.com/do-/node-doix-db#readme",
42
42
  "peerDependencies": {
43
- "doix": "^1.0.5"
43
+ "doix": "^1.0.7"
44
44
  },
45
45
  "devDependencies": {
46
46
  "jest": "^29.6.1"