Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botnaut

Package Overview
Dependencies
Maintainers
3
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botnaut - npm Package Compare versions

Comparing version 0.27.1 to 0.27.2

.nyc_output/b52b4a925d3f1696cb469186efe001de.json

2

package.json
{
"name": "botnaut",
"version": "0.27.1",
"version": "0.27.2",
"description": "Facebook Messenger Chatbot Framework",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -247,4 +247,7 @@ /*

const isUserEvent = req.isMessage() || req.isPostBack()
|| req.isReferral() || req.isAttachment();
// reset expectations
if (req.isMessage() && !res.newState._expected) {
if (isUserEvent && !res.newState._expected) {
state._expected = null;

@@ -254,3 +257,3 @@ }

// reset expectations
if (req.isMessage() && !res.newState._expectedKeywords) {
if (isUserEvent && !res.newState._expectedKeywords) {
state._expectedKeywords = null;

@@ -257,0 +260,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc