prg-chatbot
Advanced tools
Comparing version 0.10.7 to 0.10.8
{ | ||
"name": "prg-chatbot", | ||
"version": "0.10.7", | ||
"version": "0.10.8", | ||
"description": "Facebook Messenger Chatbot Framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -132,6 +132,6 @@ /* | ||
_createNext (route, req, res, postBack) { | ||
_createNext (route, req, res, postBack, path) { | ||
const next = (action = null, data = {}) => { | ||
let finnished = false; | ||
res.setPath(path); | ||
if (route.nexts) { | ||
@@ -194,3 +194,3 @@ finnished = route.nexts.some((nextAction) => { | ||
res.setPath(path); | ||
const nextContext = this._createNext(route, req, res, relativePostBack); | ||
const nextContext = this._createNext(route, req, res, relativePostBack, path); | ||
route.reduce(req, res, relativePostBack, nextContext, pathContext); | ||
@@ -197,0 +197,0 @@ |
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
146210
3205