@nxtedition/rocksdb 7.0.32 → 7.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.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -241,7 +241,8 @@ class RocksLevel extends AbstractLevel {
241
241
  since: options?.since ?? 0,
242
242
  keys: options?.keys ?? true,
243
243
  values: options?.values ?? true,
244
- data: options?.data ?? true
244
+ data: options?.data ?? true,
245
+ column: options?.column ?? null
245
246
  }
246
247
 
247
248
  if (typeof options.since !== 'number') {
@@ -260,6 +261,10 @@ class RocksLevel extends AbstractLevel {
260
261
  throw new TypeError("'data' must be nully or a boolean")
261
262
  }
262
263
 
264
+ if (typeof options.column !== 'object') {
265
+ throw new TypeError("'column' must be nully or a object")
266
+ }
267
+
263
268
  class Updates {
264
269
  constructor (db, options) {
265
270
  this.context = binding.updates_init(db[kContext], options)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "7.0.32",
3
+ "version": "7.0.33",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",