@nxtedition/rocksdb 7.0.14 → 7.0.15

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 +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -193,7 +193,10 @@ class RocksLevel extends AbstractLevel {
193
193
 
194
194
  class Updates {
195
195
  constructor (db, options) {
196
- this.context = binding.updates_init(db[kContext], options)
196
+ this.context = binding.updates_init(db[kContext], {
197
+ ...options,
198
+ since: BigInt(since || 0)
199
+ })
197
200
  this.closed = false
198
201
  this.promise = null
199
202
  this.db = db
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "7.0.14",
3
+ "version": "7.0.15",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",