Comparing version 1.1.5 to 2.0.0
@@ -7,4 +7,2 @@ import _regeneratorRuntime from 'babel-runtime/regenerator'; | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; } | ||
@@ -166,3 +164,3 @@ | ||
case 7: | ||
return _context.abrupt('return', method.apply(undefined, _toConsumableArray(action.request.args))); | ||
return _context.abrupt('return', method(action.request.args, action)); | ||
@@ -169,0 +167,0 @@ case 8: |
{ | ||
"name": "dequest", | ||
"version": "1.1.5", | ||
"version": "2.0.0", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Trung Dinh Quang <trungdq88@gmail.com>", |
@@ -102,3 +102,3 @@ import { createSelector } from 'reselect'; | ||
} | ||
return method(...action.request.args); | ||
return method(action.request.args, action); | ||
} | ||
@@ -105,0 +105,0 @@ return action.request; |
175741
1051