@builderbot/provider-baileys 1.2.4 → 1.2.5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baileyWrapper.d.ts +1 -1
- package/dist/baileyWrapper.d.ts.map +1 -1
- package/dist/bindStore.d.ts +5 -5
- package/dist/bindStore.d.ts.map +1 -1
- package/dist/index.cjs +28 -24
- package/dist/utils.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/baileyWrapper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useMultiFileAuthState, DisconnectReason, proto, makeInMemoryStore, makeCacheableSignalKeyStore, getAggregateVotesInPollMessage, WASocket, BaileysEventMap, AnyMediaMessageContent, AnyMessageContent, PollMessageOptions, downloadMediaMessage, WAMessage, MessageUpsertType, isJidGroup, isJidBroadcast } from '@
|
|
1
|
+
import { useMultiFileAuthState, DisconnectReason, proto, makeInMemoryStore, makeCacheableSignalKeyStore, getAggregateVotesInPollMessage, WASocket, BaileysEventMap, AnyMediaMessageContent, AnyMessageContent, PollMessageOptions, downloadMediaMessage, WAMessage, MessageUpsertType, isJidGroup, isJidBroadcast } from '@whiskeysockets/baileys';
|
|
2
2
|
declare const makeWASocketOther: any;
|
|
3
3
|
export { makeWASocketOther, useMultiFileAuthState, DisconnectReason, proto, makeInMemoryStore, makeCacheableSignalKeyStore, getAggregateVotesInPollMessage, WASocket, BaileysEventMap, AnyMediaMessageContent, AnyMessageContent, PollMessageOptions, downloadMediaMessage, WAMessage, MessageUpsertType, isJidGroup, isJidBroadcast, };
|
|
4
4
|
//# sourceMappingURL=baileyWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baileyWrapper.d.ts","sourceRoot":"","sources":["../src/baileyWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,QAAQ,EACR,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,cAAc,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"baileyWrapper.d.ts","sourceRoot":"","sources":["../src/baileyWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,QAAQ,EACR,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,cAAc,EACjB,MAAM,yBAAyB,CAAA;AAEhC,QAAA,MAAM,iBAAiB,KAA6C,CAAA;AAEpE,OAAO,EACH,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,EACL,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,QAAQ,EACR,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,cAAc,GACjB,CAAA"}
|
package/dist/bindStore.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type KeyedDB from '@adiwajshing/keyed-db';
|
|
2
2
|
import type { Comparable } from '@adiwajshing/keyed-db/lib/Types';
|
|
3
|
-
import { proto } from '@
|
|
4
|
-
import type { BaileysEventEmitter, ConnectionState, Contact, GroupMetadata, PresenceData, WAMessageCursor, WAMessageKey, Chat, WAMessage, makeWASocket } from '@
|
|
5
|
-
import { ObjectRepository } from '@
|
|
6
|
-
import type { Label } from '@
|
|
7
|
-
import type { LabelAssociation } from '@
|
|
3
|
+
import { proto } from '@whiskeysockets/baileys';
|
|
4
|
+
import type { BaileysEventEmitter, ConnectionState, Contact, GroupMetadata, PresenceData, WAMessageCursor, WAMessageKey, Chat, WAMessage, makeWASocket } from '@whiskeysockets/baileys';
|
|
5
|
+
import { ObjectRepository } from '@whiskeysockets/baileys/lib/Store/object-repository';
|
|
6
|
+
import type { Label } from '@whiskeysockets/baileys/lib/Types/Label';
|
|
7
|
+
import type { LabelAssociation } from '@whiskeysockets/baileys/lib/Types/LabelAssociation';
|
|
8
8
|
import type { Logger } from 'pino';
|
|
9
9
|
type WASocket = ReturnType<typeof makeWASocket>;
|
|
10
10
|
export declare const waChatKey: (pin: boolean) => {
|
package/dist/bindStore.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bindStore.d.ts","sourceRoot":"","sources":["../src/bindStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,EAAgD,KAAK,EAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"bindStore.d.ts","sourceRoot":"","sources":["../src/bindStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,EAAgD,KAAK,EAAY,MAAM,yBAAyB,CAAA;AACvG,OAAO,KAAK,EACR,mBAAmB,EACnB,eAAe,EACf,OAAO,EACP,aAAa,EACb,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,YAAY,EACf,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAA;AACtF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yCAAyC,CAAA;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAA2B,MAAM,oDAAoD,CAAA;AAEnH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAElC,KAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAA;AAyF/C,eAAO,MAAM,SAAS,QAAS,OAAO;aACzB,IAAI;kBAKC,MAAM,MAAM,MAAM;CAClC,CAAA;AAEF,eAAO,MAAM,WAAW,MAAO,SAAS,WAAmB,CAAA;AAE3D,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,gBAAgB,EAAE,MAAM,CAItE,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACrC,OAAO,CAAC,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;IAClC,mBAAmB,CAAC,EAAE,UAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,QAAQ,CAAA;CACpB,CAAA;iCAIuB,0BAA0B;;;;;;;;sBA3G7B,MAAM;wDAaQ,QAAQ,GAAG,SAAS;;;+BAiC5B,MAAM;;+DAiBM,OAAO;;;;;;;;;;;;;;;;eA4FxB,mBAAmB;IAiRjC,gFAAgF;wBACtD,MAAM,SAAS,MAAM,UAAU,eAAe;IAyBxE;;;;;OAKG;;IAKH;;;;QAII;4BACoB,MAAM;IAI9B;;;;QAII;kCAC0B,MAAM;uBAOX,MAAM,MAAM,MAAM;6BACZ,MAAM;yBAIV,MAAM,QAAQ,QAAQ,GAAG,SAAS;8BAY7B,MAAM,QAAQ,QAAQ,GAAG,SAAS;8CAoBlB,YAAY;;;;;;;;;0BA1gB/C,MAAM;4DAaQ,QAAQ,GAAG,SAAS;;;mCAiC5B,MAAM;;mEAiBM,OAAO;;;;;;;;qBAgVlB;QACpB,KAAK,EAAE,IAAI,EAAE,CAAA;QACb,QAAQ,EAAE;YAAE,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAA;QACnC,QAAQ,EAAE;YAAE,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,CAAA;SAAE,CAAA;QACvC,MAAM,EAAE;YAAE,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAA;SAAE,CAAA;QACpC,iBAAiB,EAAE,gBAAgB,EAAE,CAAA;KACxC;wBA4HuB,MAAM;yBAKL,MAAM;;AA3anC,wBAsbC"}
|
package/dist/index.cjs
CHANGED
|
@@ -22,9 +22,9 @@ var require$$1$3 = require('tty');
|
|
|
22
22
|
var require$$0$a = require('crypto');
|
|
23
23
|
var require$$0$c = require('sharp');
|
|
24
24
|
var require$$0$b = require('fluent-ffmpeg');
|
|
25
|
-
var
|
|
26
|
-
var objectRepository = require('@
|
|
27
|
-
var LabelAssociation = require('@
|
|
25
|
+
var baileys = require('@whiskeysockets/baileys');
|
|
26
|
+
var objectRepository = require('@whiskeysockets/baileys/lib/Store/object-repository');
|
|
27
|
+
var LabelAssociation = require('@whiskeysockets/baileys/lib/Types/LabelAssociation');
|
|
28
28
|
|
|
29
29
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
30
30
|
|
|
@@ -3813,6 +3813,10 @@ const emptyDirSessions = async (pathBase) => new Promise((resolve, reject) => {
|
|
|
3813
3813
|
* @returns The cleaned number.
|
|
3814
3814
|
*/
|
|
3815
3815
|
const baileyCleanNumber = (number, full = false) => {
|
|
3816
|
+
const regexGroup = /\@g.us\b/gm;
|
|
3817
|
+
const exist = number.match(regexGroup);
|
|
3818
|
+
if (exist)
|
|
3819
|
+
return number;
|
|
3816
3820
|
number = number.replace('@s.whatsapp.net', '').replace('+', '').replace(/\s/g, '');
|
|
3817
3821
|
number = !full ? `${number}@s.whatsapp.net` : number;
|
|
3818
3822
|
return number;
|
|
@@ -30010,7 +30014,7 @@ function requireDist () {
|
|
|
30010
30014
|
|
|
30011
30015
|
var distExports = requireDist();
|
|
30012
30016
|
|
|
30013
|
-
const makeWASocketOther = require('@
|
|
30017
|
+
const makeWASocketOther = require('@whiskeysockets/baileys').default;
|
|
30014
30018
|
|
|
30015
30019
|
//eventos a evitar "READ"
|
|
30016
30020
|
function makeOrderedDictionary(idGetter) {
|
|
@@ -30107,7 +30111,7 @@ const makeMessagesDictionary = () => makeOrderedDictionary(waMessageID);
|
|
|
30107
30111
|
var bindStore = (config) => {
|
|
30108
30112
|
const chatKey = config.chatKey || waChatKey();
|
|
30109
30113
|
const labelAssociationKey = config.labelAssociationKey || waLabelAssociationKey;
|
|
30110
|
-
const logger = config.logger ||
|
|
30114
|
+
const logger = config.logger || baileys.DEFAULT_CONNECTION_CONFIG.logger.child({ stream: 'in-mem-store' });
|
|
30111
30115
|
const KeyedDB = require('@adiwajshing/keyed-db').default;
|
|
30112
30116
|
const chats = new KeyedDB(chatKey, (c) => c.id);
|
|
30113
30117
|
const messages = {};
|
|
@@ -30251,7 +30255,7 @@ var bindStore = (config) => {
|
|
|
30251
30255
|
case 'append':
|
|
30252
30256
|
case 'notify':
|
|
30253
30257
|
for (const msg of newMessages) {
|
|
30254
|
-
const jid =
|
|
30258
|
+
const jid = baileys.jidNormalizedUser(msg.key.remoteJid);
|
|
30255
30259
|
const list = assertMessageList(jid);
|
|
30256
30260
|
list.upsert(msg, 'append');
|
|
30257
30261
|
if (type === 'notify') {
|
|
@@ -30259,7 +30263,7 @@ var bindStore = (config) => {
|
|
|
30259
30263
|
ev.emit('chats.upsert', [
|
|
30260
30264
|
{
|
|
30261
30265
|
id: jid,
|
|
30262
|
-
conversationTimestamp:
|
|
30266
|
+
conversationTimestamp: baileys.toNumber(msg.messageTimestamp),
|
|
30263
30267
|
unreadCount: 1,
|
|
30264
30268
|
},
|
|
30265
30269
|
]);
|
|
@@ -30364,7 +30368,7 @@ var bindStore = (config) => {
|
|
|
30364
30368
|
for (const jid in json.messages) {
|
|
30365
30369
|
const list = assertMessageList(jid);
|
|
30366
30370
|
for (const msg of json.messages[jid]) {
|
|
30367
|
-
list.upsert(
|
|
30371
|
+
list.upsert(baileys.proto.WebMessageInfo.fromObject(msg), 'append');
|
|
30368
30372
|
}
|
|
30369
30373
|
}
|
|
30370
30374
|
};
|
|
@@ -30575,7 +30579,7 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30575
30579
|
return msg?.message || undefined;
|
|
30576
30580
|
}
|
|
30577
30581
|
// only if store is present
|
|
30578
|
-
return
|
|
30582
|
+
return baileys.proto.Message.fromObject({});
|
|
30579
30583
|
};
|
|
30580
30584
|
this.saveCredsGlobal = null;
|
|
30581
30585
|
/**
|
|
@@ -30583,13 +30587,13 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30583
30587
|
*/
|
|
30584
30588
|
this.initVendor = async () => {
|
|
30585
30589
|
const NAME_DIR_SESSION = `${this.globalVendorArgs.name}_sessions`;
|
|
30586
|
-
const { state, saveCreds } = await
|
|
30590
|
+
const { state, saveCreds } = await baileys.useMultiFileAuthState(NAME_DIR_SESSION);
|
|
30587
30591
|
const loggerBaileys = pino$1({ level: 'fatal' });
|
|
30588
30592
|
this.saveCredsGlobal = saveCreds;
|
|
30589
30593
|
try {
|
|
30590
30594
|
if (this.globalVendorArgs.useBaileysStore) {
|
|
30591
30595
|
this.store = !this.globalVendorArgs.experimentalStore
|
|
30592
|
-
?
|
|
30596
|
+
? baileys.makeInMemoryStore({ logger: loggerBaileys })
|
|
30593
30597
|
: bindStore({ logger: loggerBaileys });
|
|
30594
30598
|
if (this.store?.readFromFile)
|
|
30595
30599
|
this.store?.readFromFile(`${NAME_DIR_SESSION}/baileys_store.json`);
|
|
@@ -30614,7 +30618,7 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30614
30618
|
printQRInTerminal: false,
|
|
30615
30619
|
auth: {
|
|
30616
30620
|
creds: state.creds,
|
|
30617
|
-
keys:
|
|
30621
|
+
keys: baileys.makeCacheableSignalKeyStore(state.keys, loggerBaileys),
|
|
30618
30622
|
},
|
|
30619
30623
|
browser: this.globalVendorArgs.browser,
|
|
30620
30624
|
syncFullHistory: false,
|
|
@@ -30626,20 +30630,20 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30626
30630
|
connectTimeoutMs: 20_000,
|
|
30627
30631
|
keepAliveIntervalMs: 30_000,
|
|
30628
30632
|
shouldIgnoreJid: (jid) => {
|
|
30629
|
-
const isGroupJid = this.globalVendorArgs.groupsIgnore &&
|
|
30630
|
-
const isBroadcast = !this.globalVendorArgs.readStatus &&
|
|
30633
|
+
const isGroupJid = this.globalVendorArgs.groupsIgnore && baileys.isJidGroup(jid);
|
|
30634
|
+
const isBroadcast = !this.globalVendorArgs.readStatus && baileys.isJidBroadcast(jid);
|
|
30631
30635
|
return isGroupJid || isBroadcast;
|
|
30632
30636
|
},
|
|
30633
30637
|
patchMessageBeforeSending: (message) => {
|
|
30634
30638
|
if (message.deviceSentMessage?.message?.listMessage?.listType ===
|
|
30635
|
-
|
|
30639
|
+
baileys.proto.Message.ListMessage.ListType.PRODUCT_LIST) {
|
|
30636
30640
|
message = JSON.parse(JSON.stringify(message));
|
|
30637
30641
|
message.deviceSentMessage.message.listMessage.listType =
|
|
30638
|
-
|
|
30642
|
+
baileys.proto.Message.ListMessage.ListType.SINGLE_SELECT;
|
|
30639
30643
|
}
|
|
30640
|
-
if (message.listMessage?.listType ==
|
|
30644
|
+
if (message.listMessage?.listType == baileys.proto.Message.ListMessage.ListType.PRODUCT_LIST) {
|
|
30641
30645
|
message = JSON.parse(JSON.stringify(message));
|
|
30642
|
-
message.listMessage.listType =
|
|
30646
|
+
message.listMessage.listType = baileys.proto.Message.ListMessage.ListType.SINGLE_SELECT;
|
|
30643
30647
|
}
|
|
30644
30648
|
return message;
|
|
30645
30649
|
},
|
|
@@ -30677,11 +30681,11 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30677
30681
|
const statusCode = lastDisconnect?.error?.output?.statusCode;
|
|
30678
30682
|
/** Connection closed for various reasons */
|
|
30679
30683
|
if (connection === 'close') {
|
|
30680
|
-
if (statusCode !==
|
|
30684
|
+
if (statusCode !== baileys.DisconnectReason.loggedOut) {
|
|
30681
30685
|
this.initVendor().then((v) => this.listenOnEvents(v));
|
|
30682
30686
|
return;
|
|
30683
30687
|
}
|
|
30684
|
-
if (statusCode ===
|
|
30688
|
+
if (statusCode === baileys.DisconnectReason.loggedOut) {
|
|
30685
30689
|
const PATH_BASE = require$$1$1.join(process.cwd(), NAME_DIR_SESSION);
|
|
30686
30690
|
await emptyDirSessions(PATH_BASE);
|
|
30687
30691
|
this.initVendor().then((v) => this.listenOnEvents(v));
|
|
@@ -30862,7 +30866,7 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30862
30866
|
if (update.pollUpdates) {
|
|
30863
30867
|
const pollCreation = await this.getMessage(key);
|
|
30864
30868
|
if (pollCreation) {
|
|
30865
|
-
const pollMessage =
|
|
30869
|
+
const pollMessage = baileys.getAggregateVotesInPollMessage({
|
|
30866
30870
|
message: pollCreation,
|
|
30867
30871
|
pollUpdates: update.pollUpdates,
|
|
30868
30872
|
});
|
|
@@ -30898,14 +30902,14 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
30898
30902
|
const payload = {
|
|
30899
30903
|
from: baileyCleanNumber(call.from, true),
|
|
30900
30904
|
body: bot.utils.generateRefProvider('_event_call_'),
|
|
30901
|
-
call
|
|
30905
|
+
call,
|
|
30902
30906
|
};
|
|
30903
30907
|
console.log(`entro llamada`);
|
|
30904
30908
|
this.emit('message', payload);
|
|
30905
30909
|
// Opcional: Rechazar automáticamente la llamada
|
|
30906
30910
|
await this.vendor.rejectCall(call.id, call.from);
|
|
30907
30911
|
}
|
|
30908
|
-
}
|
|
30912
|
+
},
|
|
30909
30913
|
},
|
|
30910
30914
|
];
|
|
30911
30915
|
/**
|
|
@@ -31162,7 +31166,7 @@ class BaileysProvider extends bot.ProviderClass {
|
|
|
31162
31166
|
if (!mimeType)
|
|
31163
31167
|
throw new Error('MIME type not found');
|
|
31164
31168
|
const extension = mime.extension(mimeType);
|
|
31165
|
-
const buffer = await
|
|
31169
|
+
const buffer = await baileys.downloadMediaMessage(ctx, 'buffer', {});
|
|
31166
31170
|
const fileName = this.generateFileName(extension);
|
|
31167
31171
|
const pathFile = require$$1$1.join(options?.path ?? require$$0$9.tmpdir(), fileName);
|
|
31168
31172
|
await promises.writeFile(pathFile, buffer);
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB,aAAoB,MAAM,qBAM1C,CAAA;AACN;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,WAAY,MAAM,SAAQ,OAAO,KAAW,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB,aAAoB,MAAM,qBAM1C,CAAA;AACN;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,WAAY,MAAM,SAAQ,OAAO,KAAW,MAOlE,CAAA;AAED;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,WAAkB,MAAM,SAAQ,MAAM,KAAc,OAAO,CAAC,IAAI,CAaxF,CAAA;AAED;;;;GAIG;AACH,QAAA,MAAM,mBAAmB,cAAe,MAAM,KAAG,OAIhD,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builderbot/provider-baileys",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5-alpha.1",
|
|
4
4
|
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Leifer Mendez <leifer33@gmail.com>",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/codigoencasa/bot-whatsapp#readme",
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@builderbot/bot": "^1.2.
|
|
33
|
+
"@builderbot/bot": "^1.2.5-alpha.1",
|
|
34
34
|
"@hapi/boom": "^10.0.1",
|
|
35
35
|
"@jest/globals": "^29.7.0",
|
|
36
36
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
62
|
-
"@builderbot/core-baileys": "~6.7.5",
|
|
63
62
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
64
63
|
"@types/polka": "^0.5.7",
|
|
64
|
+
"@whiskeysockets/baileys": "~6.7.9",
|
|
65
65
|
"fluent-ffmpeg": "^2.1.2",
|
|
66
66
|
"fs-extra": "^11.2.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "02871e1924e39290266eb8c4ffec78513d514bc8"
|
|
69
69
|
}
|