@live-change/server 0.6.10 → 0.6.11
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/setupDbClient.js +2 -2
- package/package.json +5 -5
package/lib/setupDbClient.js
CHANGED
|
@@ -3,7 +3,7 @@ const ReactiveDao = require("@live-change/dao")
|
|
|
3
3
|
const ReactiveDaoWebsocket = require("@live-change/dao-websocket")
|
|
4
4
|
|
|
5
5
|
function setupDbClient(argv, env = process.env) {
|
|
6
|
-
config = {
|
|
6
|
+
const config = {
|
|
7
7
|
url: env.DB_URL,
|
|
8
8
|
name: env.DB_NAME,
|
|
9
9
|
requestTimeout: (+env.DB_REQUEST_TIMEOUT),
|
|
@@ -38,4 +38,4 @@ function setupDbClient(argv, env = process.env) {
|
|
|
38
38
|
return dbDao
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
module.exports = setupDbClient
|
|
41
|
+
module.exports = setupDbClient
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/server",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "Live Change Framework - server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-framework",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/dao": "0.5.
|
|
24
|
+
"@live-change/dao": "0.5.4",
|
|
25
25
|
"@live-change/dao-sockjs": "0.5.1",
|
|
26
26
|
"@live-change/db-server": "0.5.13",
|
|
27
|
-
"@live-change/framework": "^0.6.
|
|
27
|
+
"@live-change/framework": "^0.6.11",
|
|
28
28
|
"@live-change/sockjs": "0.4.1",
|
|
29
|
-
"@live-change/uid": "^0.6.
|
|
29
|
+
"@live-change/uid": "^0.6.11",
|
|
30
30
|
"dotenv": "^16.0.1",
|
|
31
31
|
"express": "^4.18.1",
|
|
32
32
|
"express-static-gzip": "2.1.7",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"websocket": "^1.0.34",
|
|
40
40
|
"yargs": "^17.5.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "99d448214c2df44f42e5d25a08fa50ae79e5bdbe"
|
|
43
43
|
}
|