@live-change/framework
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -31,4 +31,4 @@ const ReactiveDao = require('@live-change/dao') | ||
output.change( | ||
obj && obj.state == 'new' ? { ...obj, id: obj.service+'_'+obj.id , to: obj.id } : null, | ||
oldObj && oldObj.state == 'new' ? { ...oldObj, id: obj.service+'_'+oldObj.id , to: oldObj.id } : null | ||
obj && obj.state == 'new' ? { ...obj, id: obj.service+'_'+obj.id } : null, | ||
oldObj && oldObj.state == 'new' ? { ...oldObj, id: obj.service+'_'+oldObj.id } : null | ||
) | ||
@@ -118,3 +118,3 @@ ) | ||
for(let command of commands) { | ||
this.handleCommand({ ...command, id: command.to }) | ||
this.handleCommand({ ...command, id: command.id.split('_')[1] }) | ||
} | ||
@@ -125,3 +125,3 @@ } | ||
if(oldObject) return // Object changes ignored | ||
this.handleCommand({ ...command, id: command.to }) | ||
this.handleCommand({ ...command, id: command.id.split('_')[1] }) | ||
} | ||
@@ -128,0 +128,0 @@ error(error) { |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"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
146803