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.202-alpha.0 to 0.0.203-alpha.0

14

core/core.class.js

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

const listProcessWait = this.queuePrincipal.getIdsCallbacs(from)
const listProcessWait = this.queuePrincipal.getIdsCallback(from)
if (!listProcessWait.length) {

@@ -232,2 +232,3 @@ this.queuePrincipal.setIdsCallbacks(from, listIdsRefCallbacks)

try {
// this.queuePrincipal.clearQueue(from);
await this.queuePrincipal.enqueue(

@@ -238,4 +239,5 @@ from,

await this.sendProviderAndSave(numberOrId, ctxMessage)
.then(() => resolveCbEveryCtx(ctxMessage))
logger.log(`[QUEUE_SE_ENVIO]: `, ctxMessage)
await resolveCbEveryCtx(ctxMessage)
// await resolveCbEveryCtx(ctxMessage)
},

@@ -268,5 +270,5 @@ ctxMessage.ref

if (nextChildMessages?.length)
return exportFunctionsSend(() => sendFlow(nextChildMessages, from, { prev: undefined }))
return exportFunctionsSend(async() => await sendFlow(nextChildMessages, from, { prev: undefined }))
return exportFunctionsSend(() => sendFlow(filterNextFlow, from, { prev: undefined }))
return exportFunctionsSend(async() => await sendFlow(filterNextFlow, from, { prev: undefined }))
}

@@ -554,6 +556,6 @@ }

return Promise.resolve
return Promise.resolve()
} catch (err) {
logger.log(`[ERROR ID (${ctxMessage.ref})]: `, err)
return Promise.reject
return Promise.reject()
}

@@ -560,0 +562,0 @@ }

{
"name": "@bot-whatsapp/bot",
"version": "0.0.202-alpha.0",
"version": "0.0.203-alpha.0",
"description": "",

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

Sorry, the diff of this file is not supported yet

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