@cerebral/fluent
Advanced tools
Comparing version 1.0.0-1518545347774 to 1.0.0-1518548751679
@@ -250,3 +250,8 @@ import { extractModuleProp, isObject, BaseModel } from 'cerebral/internal'; | ||
updateIn(this.state, path, (parentState, key) => { | ||
parentState[key].merge(value); | ||
if (isObservableMap(parentState[key])) { | ||
parentState[key].merge(value); | ||
} | ||
else { | ||
Object.assign(parentState[key], value); | ||
} | ||
}); | ||
@@ -253,0 +258,0 @@ } |
{ | ||
"name": "@cerebral/fluent", | ||
"version": "1.0.0-1518545347774", | ||
"version": "1.0.0-1518548751679", | ||
"description": "Makes Cerebral typescript friendly", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cerebral": "^4.2.0-1518545347774", | ||
"cerebral": "^4.2.0-1518548751679", | ||
"mobx": "^3.4.1" | ||
@@ -30,0 +30,0 @@ }, |
60419
1475