@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.
- package/index.js +4 -1
- 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],
|
|
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
|