@bot-whatsapp/bot
Advanced tools
Comparing version 0.0.159-alpha.0 to 0.0.160-alpha.0
@@ -11,2 +11,3 @@ const { toCtx } = require('../io/methods') | ||
const GlobalState = require('../context/globalState.class') | ||
const { generateHex } = require('../utils/hash') | ||
@@ -198,3 +199,3 @@ const logger = new Console({ | ||
await resolveCbEveryCtx(ctxMessage) | ||
}) | ||
}, generateHex()) | ||
} catch (error) { | ||
@@ -424,3 +425,3 @@ logger.error(`Error al encolar: ${error.message}`) | ||
if (delayMs) await delay(delayMs) | ||
await this.queuePrincipal.enqueue(numberOrId, () => this.sendProviderAndSave(numberOrId, ctxMessage)) | ||
await this.queuePrincipal.enqueue(numberOrId, () => this.sendProviderAndSave(numberOrId, ctxMessage), generateHex()) | ||
// await queuePromises.dequeue() | ||
@@ -427,0 +428,0 @@ } |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ const { eventDocument, REGEX_EVENT_DOCUMENT } = require('./eventDocument') |
@@ -0,0 +0,0 @@ const { toSerialize } = require('./methods/toSerialize') |
const addAction = () => async () => {} | ||
module.exports = { addAction } |
@@ -0,0 +0,0 @@ const { flatObject } = require('../../utils/flattener') |
@@ -0,0 +0,0 @@ const { generateRef } = require('../../utils/hash') |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "@bot-whatsapp/bot", | ||
"version": "0.0.159-alpha.0", | ||
"version": "0.0.160-alpha.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/bundle.bot.cjs", |
@@ -0,0 +0,0 @@ const { EventEmitter } = require('node:events') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
111155
2930