@dtrussia/redux-dthub-api
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -10,2 +10,4 @@ // import { objectToRange } from './common'; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function validateParams(_ref) { | ||
@@ -28,5 +30,5 @@ var _ref$filter = _ref.filter; | ||
}, | ||
pagination: pagination, | ||
orderBy: orderBy | ||
orderBy: _defineProperty({}, orderBy.field, orderBy.predicate), | ||
pagination: pagination | ||
}; | ||
} |
@@ -8,2 +8,4 @@ 'use strict'; | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var _common = require('./common'); | ||
@@ -50,5 +52,5 @@ | ||
}, | ||
pagination: pagination, | ||
orderBy: orderBy | ||
orderBy: _defineProperty({}, orderBy.field, orderBy.predicate), | ||
pagination: pagination | ||
}; | ||
} |
{ | ||
"name": "@dtrussia/redux-dthub-api", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -11,5 +11,7 @@ // import { objectToRange } from './common'; | ||
}, | ||
orderBy: { | ||
[orderBy.field]: orderBy.predicate, | ||
}, | ||
pagination, | ||
orderBy, | ||
}; | ||
} |
@@ -33,5 +33,7 @@ import { objectToRange } from './common'; | ||
}, | ||
orderBy: { | ||
[orderBy.field]: orderBy.predicate, | ||
}, | ||
pagination, | ||
orderBy, | ||
}; | ||
} |
35296
1089