@live-change/framework
Advanced tools
Comparing version 0.3.8 to 0.3.9
@@ -46,3 +46,3 @@ const utils = require("../utils.js") | ||
console.log(`CREATE ${modelName} WITH DATA ${JSON.stringify(data, null, " ")}`) | ||
await modelRuntime().create({ ...data, id: props[idName] }) | ||
await modelRuntime().update(props[idName], { ...data, id: props[idName] }) | ||
} | ||
@@ -78,3 +78,3 @@ }) | ||
async execute(props) { | ||
await modelRuntime().update(props[idName], props.data) | ||
await modelRuntime().update(props[idName], { ...props.data, id: props[idName] }) | ||
} | ||
@@ -81,0 +81,0 @@ }) |
@@ -103,3 +103,3 @@ const ReactiveDao = require("@live-change/dao") | ||
async rangeGet(range) { | ||
return this.service.dao.get(this.path(range), ReactiveDao.ObservableList) | ||
return this.service.dao.get(this.rangePath(range), ReactiveDao.ObservableList) | ||
} | ||
@@ -106,0 +106,0 @@ |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117483