rest-client-sdk
Advanced tools
Comparing version 2.0.0-rc.10 to 2.0.0-rc.11
@@ -5,3 +5,3 @@ # Changelog | ||
## 2.0.0-rc.10 | ||
## 2.0.0-rc.10 + 2.0.0-rc.11 | ||
deserialize + normalize item in unitofwork | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "rest-client-sdk", | ||
"version": "2.0.0-rc.10", | ||
"version": "2.0.0-rc.11", | ||
"description": "Rest Client SDK for API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -8,6 +8,2 @@ import { isImmutable } from 'immutable'; | ||
function objectDiffers(left, right) { | ||
if (typeof left !== 'object' || typeof right !== 'object') { | ||
return false; | ||
} | ||
const result = diff(left, right); | ||
@@ -114,3 +110,3 @@ | ||
if (attribute.type === 'object') { | ||
if (objectDiffers(oldValue, newValue)) { | ||
if (oldValue === undefined || objectDiffers(oldValue, newValue)) { | ||
dirtyFields[key] = newValue; | ||
@@ -117,0 +113,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1853594
19765