@live-change/framework 0.8.97 → 0.8.99
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/runtime/params.js +2 -2
- package/package.json +4 -4
package/lib/runtime/params.js
CHANGED
|
@@ -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
|
|
72
|
+
if(definition.type === Object && definition.properties) {
|
|
73
73
|
return processReturns(data, definition.properties)
|
|
74
74
|
}
|
|
75
|
-
if(definition.type
|
|
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.
|
|
3
|
+
"version": "0.8.99",
|
|
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.
|
|
26
|
-
"@live-change/uid": "^0.8.
|
|
25
|
+
"@live-change/dao": "^0.8.99",
|
|
26
|
+
"@live-change/uid": "^0.8.99"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7d9970c62f5d019473e04353c5b4890683fa5dd6"
|
|
29
29
|
}
|