Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "throwback", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "An asynchronous middleware pattern", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -21,3 +21,3 @@ # Throwback | ||
```js | ||
import { compose, resolve } from 'throwback' | ||
import { compose } from 'throwback' | ||
@@ -43,4 +43,4 @@ const fn = compose([ | ||
// Or replace the callback here with `resolve`, which returns | ||
// `Promise.resolve()` triggering the bubble back up the middleware stack. | ||
// Callback runs at the end of the stack, before | ||
// the middleware bubbles back to the beginning. | ||
fn({}, {}, function (req, res) { | ||
@@ -47,0 +47,0 @@ console.log(3) |
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
13245