@live-change/server 0.5.25 → 0.5.27
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/setupApiEndpoints.js +3 -1
- package/package.json +5 -5
package/lib/setupApiEndpoints.js
CHANGED
|
@@ -5,7 +5,9 @@ function setupApiEndpoints(expressApp, apiServer) {
|
|
|
5
5
|
const { name, endpoints } = serviceDefinition
|
|
6
6
|
for(const endpoint of endpoints) {
|
|
7
7
|
const path = endpoint.name ? `/api/${name}/${endpoint.name}` : `/${name}`
|
|
8
|
-
|
|
8
|
+
const express = endpoint.create()
|
|
9
|
+
console.log("INSTALL ENDPOINT", path)
|
|
10
|
+
expressApp.use(path, express)
|
|
9
11
|
}
|
|
10
12
|
}
|
|
11
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/server",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.27",
|
|
4
4
|
"description": "Live Change Framework - server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@live-change/dao": "0.4.2",
|
|
25
25
|
"@live-change/dao-sockjs": "^0.2.1",
|
|
26
26
|
"@live-change/db-server": "0.5.4",
|
|
27
|
-
"@live-change/framework": "^0.5.
|
|
27
|
+
"@live-change/framework": "^0.5.27",
|
|
28
28
|
"@live-change/sockjs": "^0.4.0-rc.1",
|
|
29
|
-
"@live-change/uid": "0.5.
|
|
30
|
-
"@live-change/vue3-ssr": "0.2.
|
|
29
|
+
"@live-change/uid": "^0.5.27",
|
|
30
|
+
"@live-change/vue3-ssr": "0.2.4",
|
|
31
31
|
"dotenv": "^10.0.0",
|
|
32
32
|
"express": "^4.17.1",
|
|
33
33
|
"express-static-gzip": "2.1.1",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"websocket": "^1.0.34",
|
|
40
40
|
"yargs": "^17.3.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8cdab8d362794c923e765193d2e786fb29587877"
|
|
43
43
|
}
|