redux-supermodel
Advanced tools
Comparing version 0.19.1 to 0.19.2
@@ -29,3 +29,3 @@ 'use strict'; | ||
var getId = function getId(data) { | ||
return data[definition ? definition.idAttribute : 'id']; | ||
return data[definition && definition.idAttribute || 'id']; | ||
}; | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "redux-supermodel", | ||
"version": "0.19.1", | ||
"version": "0.19.2", | ||
"description": "A package of action creator functions and reducers that deal with the state management of REST-like APIs for you... all you need is a URL!", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/MrLeebo/redux-supermodel", |
194893