@live-change/framework 0.9.60 → 0.9.62
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typeName } from "../utils.js"
|
|
1
|
+
import { typeName, definitionToJSON } from "../utils.js"
|
|
2
2
|
|
|
3
3
|
class PropertyDefinition {
|
|
4
4
|
|
|
@@ -31,8 +31,9 @@ class PropertyDefinition {
|
|
|
31
31
|
properties[propName] = this.properties[propName].toJSON()
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
const fixed = definitionToJSON(this, true)
|
|
34
35
|
let json = {
|
|
35
|
-
...
|
|
36
|
+
...fixed,
|
|
36
37
|
type: typeName(this.type),
|
|
37
38
|
properties
|
|
38
39
|
}
|
|
@@ -42,7 +43,6 @@ class PropertyDefinition {
|
|
|
42
43
|
if(this.items) {
|
|
43
44
|
json.items = this.items.toJSON()
|
|
44
45
|
}
|
|
45
|
-
|
|
46
46
|
return json
|
|
47
47
|
}
|
|
48
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/framework",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.62",
|
|
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.9.
|
|
26
|
-
"@live-change/uid": "^0.9.
|
|
25
|
+
"@live-change/dao": "^0.9.62",
|
|
26
|
+
"@live-change/uid": "^0.9.62"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "b1b605b7f1fa4fc3de4720afbb401e2cfff080cf"
|
|
29
29
|
}
|