@bot-whatsapp/bot
Advanced tools
Comparing version 0.0.161-alpha.0 to 0.0.162-alpha.0
@@ -11,3 +11,3 @@ const { toCtx } = require('../io/methods') | ||
const GlobalState = require('../context/globalState.class') | ||
const { generateHex } = require('../utils/hash') | ||
const { generateTime } = require('../utils/hash') | ||
@@ -190,3 +190,3 @@ const logger = new Console({ | ||
} | ||
this.queuePrincipal.setFingerTime(from, generateTime()) | ||
logger.log(`[sendQueue_A]: `, ctxMessage) | ||
@@ -200,3 +200,3 @@ | ||
await resolveCbEveryCtx(ctxMessage) | ||
}, generateHex()) | ||
}, generateTime()) | ||
} catch (error) { | ||
@@ -426,3 +426,3 @@ logger.error(`Error al encolar: ${error.message}`) | ||
if (delayMs) await delay(delayMs) | ||
await this.queuePrincipal.enqueue(numberOrId, () => this.sendProviderAndSave(numberOrId, ctxMessage), generateHex()) | ||
await this.queuePrincipal.enqueue(numberOrId, () => this.sendProviderAndSave(numberOrId, ctxMessage), generateTime()) | ||
// await queuePromises.dequeue() | ||
@@ -429,0 +429,0 @@ } |
{ | ||
"name": "@bot-whatsapp/bot", | ||
"version": "0.0.161-alpha.0", | ||
"version": "0.0.162-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
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
112963
2973