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

@bot-whatsapp/bot

Package Overview
Dependencies
Maintainers
1
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bot-whatsapp/bot - npm Package Compare versions

Comparing version 0.0.215-alpha.0 to 0.0.216-alpha.0

19

core/core.class.js

@@ -180,3 +180,3 @@ const { EventEmitter } = require('node:events')

endFlowFlag = true
console.log({messages})
if (typeof messages === 'string' || messages === null) {

@@ -192,3 +192,3 @@ await this.sendProviderAndSave(from, createCtxMessage(messages))

let counterFor = 0
console.log({inRef})
// const indexLimit = messages.findIndex((m) => m.ref === inRef)

@@ -198,3 +198,3 @@ for (const iteratorCtxMessage of messages) {

// if(indexLimit !== -1 && counterFor === indexLimit) break
await resolveCbEveryCtx(iteratorCtxMessage, {
const scopeCtx = await resolveCbEveryCtx(iteratorCtxMessage, {
omitEndFlow: options.fromGotoFlow,

@@ -204,2 +204,5 @@ idleCtx: !!iteratorCtxMessage?.options?.idle,

})
if(scopeCtx?.endFlow) break
counterFor++

@@ -396,8 +399,8 @@ // options.fromGotoFlow = false

if (ctxMessage?.options?.idle) {
await cbEveryCtx(ctxMessage?.ref, { ...options, startIdleMs: ctxMessage?.options?.idle })
return
const run = await cbEveryCtx(ctxMessage?.ref, { ...options, startIdleMs: ctxMessage?.options?.idle })
return run
}
if (!ctxMessage?.options?.capture) {
await cbEveryCtx(ctxMessage?.ref, options)
return
const run = await cbEveryCtx(ctxMessage?.ref, options)
return run
}

@@ -471,3 +474,3 @@ }

await runContext()
return
return {...flags}
}

@@ -474,0 +477,0 @@

{
"name": "@bot-whatsapp/bot",
"version": "0.0.215-alpha.0",
"version": "0.0.216-alpha.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/bundle.bot.cjs",

Sorry, the diff of this file is not supported yet

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