@live-change/server 0.8.15 → 0.8.17
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/Renderer.js +0 -1
- package/lib/Services.js +0 -7
- package/lib/SsrServer.js +1 -1
- package/package.json +7 -7
package/lib/Renderer.js
CHANGED
package/lib/Services.js
CHANGED
|
@@ -164,13 +164,6 @@ class Services {
|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
async update() {
|
|
167
|
-
/*await Promise.all(this.serviceDefinitions.map(defn => {
|
|
168
|
-
if(!defn.processed) {
|
|
169
|
-
app.processServiceDefinition(defn)
|
|
170
|
-
defn.processed = true
|
|
171
|
-
}
|
|
172
|
-
return app.updateService(defn)
|
|
173
|
-
}))*/
|
|
174
167
|
for(const defn of this.serviceDefinitions) {
|
|
175
168
|
console.group()
|
|
176
169
|
console.log("#### UPDATE SERVICE", defn.name)
|
package/lib/SsrServer.js
CHANGED
|
@@ -66,7 +66,7 @@ class SsrServer {
|
|
|
66
66
|
if(this.settings.daoFactory) {
|
|
67
67
|
dao = await this.settings.daoFactory(credentials, clientIp)
|
|
68
68
|
} else {
|
|
69
|
-
const host = (this.settings.apiHost
|
|
69
|
+
const host = (this.settings.apiHost === '0.0.0.0' || !this.settings.apiHost)
|
|
70
70
|
? 'localhost' : this.settings.apiHost
|
|
71
71
|
dao = await serverDao(credentials, clientIp, {
|
|
72
72
|
remoteUrl: `ws://${host}:${this.settings.apiPort || 8002}/api/ws`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.17",
|
|
4
4
|
"description": "Live Change Framework - server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"homepage": "https://github.com/live-change/live-change-stack",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@live-change/dao": "^0.8.
|
|
26
|
-
"@live-change/dao-sockjs": "^0.8.
|
|
27
|
-
"@live-change/db-server": "^0.8.
|
|
28
|
-
"@live-change/framework": "^0.8.
|
|
25
|
+
"@live-change/dao": "^0.8.17",
|
|
26
|
+
"@live-change/dao-sockjs": "^0.8.17",
|
|
27
|
+
"@live-change/db-server": "^0.8.17",
|
|
28
|
+
"@live-change/framework": "^0.8.17",
|
|
29
29
|
"@live-change/sockjs": "0.4.1",
|
|
30
|
-
"@live-change/uid": "^0.8.
|
|
30
|
+
"@live-change/uid": "^0.8.17",
|
|
31
31
|
"dotenv": "^16.4.4",
|
|
32
32
|
"express": "^4.18.2",
|
|
33
33
|
"express-static-gzip": "2.1.7",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"websocket": "^1.0.34",
|
|
40
40
|
"yargs": "^17.7.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "a736d9be9e93757a967867b98b840e08de2d713c"
|
|
43
43
|
}
|