@live-change/db-client 0.4.69 → 0.5.3

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/exec.js +1 -1
  2. package/package.json +5 -4
package/lib/exec.js CHANGED
@@ -58,7 +58,7 @@ async function exec(options) {
58
58
  }
59
59
  if(targetDb) {
60
60
  if(sourceDb != command.parameters[0])
61
- throw new Error(`source database changed from ${sourceDb} to ${targetDb}`)
61
+ throw new Error(`source database changed from ${sourceDb} to ${command.parameters[0]}`)
62
62
  command.parameters[0] = targetDb
63
63
  }
64
64
  //console.log("REQUEST", command.method, command.parameters)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db-client",
3
- "version": "0.4.69",
3
+ "version": "0.5.3",
4
4
  "description": "Database with observable data for live queries",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,8 +30,9 @@
30
30
  "@live-change/dao": "^0.2.22",
31
31
  "@live-change/dao-websocket": "^0.2.13",
32
32
  "line-reader": "^0.4.0",
33
+ "segfault-handler": "^1.3.0",
33
34
  "websocket": "^1.0.33",
34
- "yargs": "^15.4.1",
35
- "segfault-handler": "^1.3.0"
36
- }
35
+ "yargs": "^15.4.1"
36
+ },
37
+ "gitHead": "d92fb65e55f55e246e7a4615cff609cafdc32eba"
37
38
  }