@live-change/framework 0.7.14 → 0.7.15

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.
@@ -11,11 +11,12 @@ function prepareReactiveDaoDefinition(config, clientData) {
11
11
  if(!clientData.roles) throw new Error("no roles")
12
12
  let dao = {}
13
13
  if(config.remote) {
14
- const remoteList = config.remote(clientData)
15
- for (let remote of remoteList) {
16
- dao[remote.name] = {
14
+ const remote = config.remote(clientData)
15
+ for (let remoteName of remote) {
16
+ dao[remoteName] = {
17
17
  type: "remote",
18
- generator: remote.generator || ReactiveDao.ObservableList
18
+ generator: ReactiveDao.ObservableList,
19
+ ...remote
19
20
  }
20
21
  }
21
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.7.14",
3
+ "version": "0.7.15",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "tape": "^5.3.2",
36
36
  "websocket": "^1.0.34"
37
37
  },
38
- "gitHead": "3cbedb6521f6bcffbd962ec1029c5b6bf597afe0"
38
+ "gitHead": "9e2d54359edb2619024512f95ba6900734e7b3a1"
39
39
  }