@live-change/server 0.9.44 → 0.9.46

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import Dao from "@live-change/dao"
2
- import { client as DaoWebsocket } from "@live-change/dao-websocket"
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': DaoWebsocket.client
26
+ 'ws': WebSocketClient
27
27
  },
28
28
 
29
29
  ...settings,
@@ -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.44",
3
+ "version": "0.9.46",
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.44",
26
- "@live-change/dao-sockjs": "^0.9.44",
27
- "@live-change/db-server": "^0.9.44",
28
- "@live-change/framework": "^0.9.44",
25
+ "@live-change/dao": "^0.9.46",
26
+ "@live-change/dao-sockjs": "^0.9.46",
27
+ "@live-change/db-server": "^0.9.46",
28
+ "@live-change/framework": "^0.9.46",
29
29
  "@live-change/sockjs": "0.4.1",
30
- "@live-change/uid": "^0.9.44",
30
+ "@live-change/uid": "^0.9.46",
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": "6e9cf980b2ac6e4e7d78955cbf97ae1c2963bcab"
42
+ "gitHead": "9d2fe9cbfb28f6cd389c8cbc5cf051f583f58e9e"
43
43
  }