@nxtedition/rocksdb 7.0.54 → 7.0.55

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 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -386,8 +386,10 @@ class RocksLevel extends AbstractLevel {
386
386
  throw new AbortError()
387
387
  }
388
388
 
389
- yield update
390
- since = update.sequence + update.count
389
+ if (update.sequence >= since) {
390
+ yield update
391
+ since = update.sequence + update.count
392
+ }
391
393
  }
392
394
  }
393
395
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "7.0.54",
3
+ "version": "7.0.55",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",