@live-change/server 0.7.22 → 0.7.23

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/Services.js CHANGED
@@ -115,13 +115,24 @@ class Services {
115
115
  }
116
116
 
117
117
  async update() {
118
- await Promise.all(this.serviceDefinitions.map(defn => {
118
+ /*await Promise.all(this.serviceDefinitions.map(defn => {
119
119
  if(!defn.processed) {
120
120
  app.processServiceDefinition(defn)
121
121
  defn.processed = true
122
122
  }
123
123
  return app.updateService(defn)
124
- }))
124
+ }))*/
125
+ for(const defn of this.serviceDefinitions) {
126
+ console.group()
127
+ console.log("#### UPDATE SERVICE", defn.name)
128
+ if(!defn.processed) {
129
+ app.processServiceDefinition(defn)
130
+ defn.processed = true
131
+ }
132
+ await app.updateService(defn)
133
+ console.log("#### UPDATED SERVICE", defn.name)
134
+ console.groupEnd()
135
+ }
125
136
  }
126
137
 
127
138
  async start(startOptions) {
package/lib/setupApp.js CHANGED
@@ -23,4 +23,4 @@ async function setupApp(settings, env = process.env) {
23
23
  app.databaseName = env.DB_NAME || 'test'
24
24
  }
25
25
 
26
- module.exports = setupApp
26
+ module.exports = setupApp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/server",
3
- "version": "0.7.22",
3
+ "version": "0.7.23",
4
4
  "description": "Live Change Framework - server",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,9 +24,9 @@
24
24
  "@live-change/dao": "0.5.18",
25
25
  "@live-change/dao-sockjs": "0.5.18",
26
26
  "@live-change/db-server": "0.6.6",
27
- "@live-change/framework": "^0.7.22",
27
+ "@live-change/framework": "^0.7.23",
28
28
  "@live-change/sockjs": "0.4.1",
29
- "@live-change/uid": "^0.7.22",
29
+ "@live-change/uid": "^0.7.23",
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": "79e23d145f88e4dff18f1ed9a6f148cadfe49aa6"
42
+ "gitHead": "dc771ac085b8a54f18a38c65de923a1cdbdcdadc"
43
43
  }