@apicase/core
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -21,3 +21,3 @@ var _default3 = require('nanoutils/cjs/mapObjIndexed'); | ||
const callNextHooks = compose(hooks.slice(1), createData); | ||
return callNextHooks(payload, changePayload).then(resolve); | ||
callNextHooks(payload, changePayload).then(resolve).catch(reject); | ||
}; | ||
@@ -274,3 +274,4 @@ const merged = _default(data, { next }); | ||
// Object with callbacks that start hooks queue | ||
} }; | ||
} | ||
}; | ||
const composedHooks = _default3((params, k) => payload => { | ||
@@ -277,0 +278,0 @@ setState(params.state); |
@@ -18,3 +18,3 @@ import _default3 from 'nanoutils/lib/mapObjIndexed'; | ||
const callNextHooks = compose(hooks.slice(1), createData); | ||
return callNextHooks(payload, changePayload).then(resolve); | ||
callNextHooks(payload, changePayload).then(resolve).catch(reject); | ||
}; | ||
@@ -271,3 +271,4 @@ const merged = _default(data, { next }); | ||
// Object with callbacks that start hooks queue | ||
} }; | ||
} | ||
}; | ||
const composedHooks = _default3((params, k) => payload => { | ||
@@ -274,0 +275,0 @@ setState(params.state); |
{ | ||
"name": "@apicase/core", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Core library to make API calls with any adapter", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
455166
13126