@zodash/onion
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.4](https://github.com/zcorky/zodash/compare/@zodash/onion@0.1.3...@zodash/onion@0.1.4) (2021-03-23) | ||
**Note:** Version bump only for package @zodash/onion | ||
## 0.1.3 (2020-11-11) | ||
@@ -8,0 +16,0 @@ |
@@ -7,3 +7,3 @@ import { Middleware } from '@zodash/compose'; | ||
} | ||
export { Middleware, }; | ||
export { Middleware }; | ||
export interface Context<Input, Output, State = any> { | ||
@@ -10,0 +10,0 @@ input: Input; |
@@ -24,3 +24,5 @@ "use strict"; | ||
if (!this.handler) { | ||
// the core handler | ||
this.use(this.handle()); | ||
// | ||
const fn = compose_1.compose(...this.middlewares); | ||
@@ -27,0 +29,0 @@ this.handler = fn; |
{ | ||
"name": "@zodash/onion", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "simple onion model", | ||
@@ -69,5 +69,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@zodash/compose": "^0.1.3" | ||
"@zodash/compose": "^0.1.4" | ||
}, | ||
"gitHead": "fb0b997fc51fbad9866a754bf8609d0bcc962700" | ||
"gitHead": "36ae103b292f402d459b7c9eb6e63fe6ea93eb2b" | ||
} |
Sorry, the diff of this file is not supported yet
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
10705
7
76
Updated@zodash/compose@^0.1.4