@live-change/db-store-lmdb 0.8.137 → 0.8.139
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/lib/Store.js +1 -1
- package/package.json +4 -4
package/lib/Store.js
CHANGED
|
@@ -244,7 +244,7 @@ class CountObservable extends ReactiveDao.ObservableValue {
|
|
|
244
244
|
this.store.rangeObservables.set(this.rangeKey, this)
|
|
245
245
|
const treeInsert = this.rangeDescr
|
|
246
246
|
const inserted = this.store.rangeObservablesTree.insert(treeInsert, this)
|
|
247
|
-
if(this.store.rangeObservablesTree.search([this.low, this.high]).length
|
|
247
|
+
if(this.store.rangeObservablesTree.search([this.low, this.high]).length === 0) {
|
|
248
248
|
console.error("TREE NOT WORKING")
|
|
249
249
|
console.log("INSERTED", JSON.stringify(treeInsert),
|
|
250
250
|
"TO TREE", this.store.rangeObservablesTree)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-store-lmdb",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.139",
|
|
4
4
|
"description": "Database with observable data for live queries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"tape": "^5.7.4"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@live-change/dao": "^0.8.
|
|
30
|
-
"@live-change/flatten-interval-tree": "^0.8.
|
|
29
|
+
"@live-change/dao": "^0.8.139",
|
|
30
|
+
"@live-change/flatten-interval-tree": "^0.8.139",
|
|
31
31
|
"napi-macros": "^2.0.0",
|
|
32
32
|
"node-lmdb": "^0.10.1",
|
|
33
33
|
"p-queue": "^8.0.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "7f54396b91dc7b596380ec4d8b182c12c765fc6f"
|
|
36
36
|
}
|