@live-change/server 0.9.44 → 0.9.45
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/serverDao.js +2 -2
- package/lib/setupApiServer.js +0 -1
- package/package.json +7 -7
package/lib/serverDao.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Dao from "@live-change/dao"
|
|
2
|
-
import { client as
|
|
2
|
+
import { client as WebSocketClient } from "@live-change/dao-websocket"
|
|
3
3
|
|
|
4
4
|
function reactiveObservableListConstructor(reactive) {
|
|
5
5
|
class ReactiveObservableList extends Dao.ObservableList {
|
|
@@ -23,7 +23,7 @@ function serverDao(credentials, ip, settings) {
|
|
|
23
23
|
return new Dao(credentials, {
|
|
24
24
|
remoteUrl: wsServer,
|
|
25
25
|
protocols: {
|
|
26
|
-
'ws':
|
|
26
|
+
'ws': WebSocketClient
|
|
27
27
|
},
|
|
28
28
|
|
|
29
29
|
...settings,
|
package/lib/setupApiServer.js
CHANGED
|
@@ -89,7 +89,6 @@ async function setupApiServer(settings) {
|
|
|
89
89
|
|
|
90
90
|
const internalCredentials = { internal: true, roles: ['admin'] }
|
|
91
91
|
|
|
92
|
-
let serviceRemotes = {}
|
|
93
92
|
if(settings.withServices) {
|
|
94
93
|
const localServer = new Dao.ReactiveServer(
|
|
95
94
|
() => app.createDao(apiServerConfig, { ...internalCredentials, ignoreRemoteView: true })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/server",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.45",
|
|
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.9.
|
|
26
|
-
"@live-change/dao-sockjs": "^0.9.
|
|
27
|
-
"@live-change/db-server": "^0.9.
|
|
28
|
-
"@live-change/framework": "^0.9.
|
|
25
|
+
"@live-change/dao": "^0.9.45",
|
|
26
|
+
"@live-change/dao-sockjs": "^0.9.45",
|
|
27
|
+
"@live-change/db-server": "^0.9.45",
|
|
28
|
+
"@live-change/framework": "^0.9.45",
|
|
29
29
|
"@live-change/sockjs": "0.4.1",
|
|
30
|
-
"@live-change/uid": "^0.9.
|
|
30
|
+
"@live-change/uid": "^0.9.45",
|
|
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": "cc49c034ca5538efdb5c43d87041367d39a3d63f"
|
|
43
43
|
}
|