@live-change/framework 0.8.96 → 0.8.98

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.
@@ -69,10 +69,10 @@ async function processReturns(data, definition, service) {
69
69
 
70
70
  async function processReturn(data, definition, service) {
71
71
  if(!definition) return data
72
- if(definition.type == Object) {
72
+ if(definition.type === Object && definition.properties) {
73
73
  return processReturns(data, definition.properties)
74
74
  }
75
- if(definition.type == Array) {
75
+ if(definition.type === Array) {
76
76
  return data.map(item => processReturn(item, definition.of))
77
77
  }
78
78
  let modelName = getModelName(definition.type)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.8.96",
3
+ "version": "0.8.98",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.8.96",
26
- "@live-change/uid": "^0.8.96"
25
+ "@live-change/dao": "^0.8.98",
26
+ "@live-change/uid": "^0.8.98"
27
27
  },
28
- "gitHead": "e6eb56356f9b75fc5656c795f0dfaf9a0ad143c2"
28
+ "gitHead": "7e6e0621a709ac4fe94790d2df940488e544ccd3"
29
29
  }