@nxtedition/rocksdb 7.0.16 → 7.0.17

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -251,11 +251,11 @@ class RocksLevel extends AbstractLevel {
251
251
  const updates = new Updates(this, options)
252
252
  try {
253
253
  while (true) {
254
- const entry = await updates.next()
255
- if (!entry.rows) {
254
+ const { sequence, rows } = await updates.next()
255
+ if (!rows) {
256
256
  return
257
257
  }
258
- yield entry
258
+ yield { sequence: Number(sequence), rows }
259
259
  }
260
260
  } finally {
261
261
  await updates.close()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "7.0.16",
3
+ "version": "7.0.17",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",