rocksdb-native 3.1.1 → 3.1.2

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -35,6 +35,10 @@ class RocksDB {
35
35
  return this._state.path
36
36
  }
37
37
 
38
+ get snapshotted() {
39
+ return this._snapshot !== null
40
+ }
41
+
38
42
  get defaultColumnFamily() {
39
43
  return this._columnFamily
40
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rocksdb-native",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "librocksdb bindings for JavaScript",
5
5
  "exports": {
6
6
  ".": "./index.js",