@live-change/db-client 0.8.74 → 0.8.76
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/dump.js +2 -2
- package/package.json +4 -4
package/lib/dump.js
CHANGED
|
@@ -78,7 +78,7 @@ async function dump(
|
|
|
78
78
|
let wait = false
|
|
79
79
|
//console.error("INDEX", indexName, "SOURCES", conf.sources)
|
|
80
80
|
for(const source of conf.sources || []) {
|
|
81
|
-
if(source.type
|
|
81
|
+
if(source.type === 'index') {
|
|
82
82
|
//console.error("INDEX", indexName, "HAS INDEX SOURCE", source.name)
|
|
83
83
|
if(!indexesCreatedBefore.includes(source.name)) {
|
|
84
84
|
//console.error("WE WILL WAIT FOR THAT INDEX")
|
|
@@ -113,7 +113,7 @@ async function dump(
|
|
|
113
113
|
await Promise.all(results.map(output))
|
|
114
114
|
found = results.length
|
|
115
115
|
if(results.length) position = results[results.length - 1].id
|
|
116
|
-
} while(found
|
|
116
|
+
} while(found === bucket)
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
if(!metadata) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-client",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.76",
|
|
4
4
|
"description": "Database with observable data for live queries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"type": "module",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@live-change/dao": "^0.8.
|
|
32
|
-
"@live-change/dao-websocket": "^0.8.
|
|
31
|
+
"@live-change/dao": "^0.8.76",
|
|
32
|
+
"@live-change/dao-websocket": "^0.8.76",
|
|
33
33
|
"line-reader": "^0.4.0",
|
|
34
34
|
"websocket": "^1.0.34",
|
|
35
35
|
"yargs": "^17.7.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "70c9a5ffb257f57b77754027d9c543584ca3423b"
|
|
38
38
|
}
|