prg-chatbot
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -35,6 +35,6 @@ /* | ||
function createRouter (processor, botToken) { | ||
function createRouter (processor, botToken, log = console) { | ||
const app = new Router(); | ||
app.post('/', ...postMiddlewares(bodyParser, processor)); | ||
app.post('/', ...postMiddlewares(bodyParser, processor, log)); | ||
@@ -41,0 +41,0 @@ app.get('/', getVerifierMiddleware(botToken)); |
{ | ||
"name": "prg-chatbot", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Facebook Messenger Chatbot Framework", | ||
@@ -5,0 +5,0 @@ "main": "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
181547