@live-change/db-client 0.8.74 → 0.8.75

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/lib/dump.js +2 -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 == 'index') {
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 == bucket)
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.74",
3
+ "version": "0.8.75",
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.74",
32
- "@live-change/dao-websocket": "^0.8.74",
31
+ "@live-change/dao": "^0.8.75",
32
+ "@live-change/dao-websocket": "^0.8.75",
33
33
  "line-reader": "^0.4.0",
34
34
  "websocket": "^1.0.34",
35
35
  "yargs": "^17.7.2"
36
36
  },
37
- "gitHead": "d8c3d9737790e0e320216cfcdfc07012ad139911"
37
+ "gitHead": "9380bbf47a2a9087840cc71afe5b3eace66fa6ab"
38
38
  }