@d0v3riz/baileys 6.4.1 → 6.5.0
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/LICENSE +21 -0
- package/README.md +5 -2
- package/lib/Defaults/index.d.ts +1 -2
- package/lib/Defaults/index.js +2 -2
- package/lib/Signal/libsignal.js +3 -2
- package/lib/Socket/business.d.ts +1 -1
- package/lib/Socket/chats.d.ts +1 -1
- package/lib/Socket/chats.js +13 -9
- package/lib/Socket/groups.d.ts +1 -1
- package/lib/Socket/index.d.ts +1 -1
- package/lib/Socket/messages-recv.d.ts +1 -1
- package/lib/Socket/messages-send.d.ts +1 -1
- package/lib/Socket/messages-send.js +5 -2
- package/lib/Socket/registration.d.ts +11 -4
- package/lib/Socket/registration.js +4 -4
- package/lib/Socket/socket.d.ts +1 -2
- package/lib/Socket/socket.js +1 -1
- package/lib/Store/make-in-memory-store.js +3 -1
- package/lib/Types/Socket.d.ts +2 -0
- package/lib/Utils/messages.js +2 -2
- package/package.json +2 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 WhiskeySockets
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
### Important Note
|
|
4
4
|
|
|
5
|
-
This library was originally a project for **CS-2362 at Ashoka University** and is in no way affiliated with or endorsed by WhatsApp. Use at your own discretion. Do not spam people with this.
|
|
6
|
-
We hold no liability for your use of this tool, in fact, depending on how you use this library, you'll be in violation of WhatsApp's Terms of Service. We discourage any stalkerware, bulk or automated messaging usage.
|
|
5
|
+
This library was originally a project for **CS-2362 at Ashoka University** and is in no way affiliated with or endorsed by WhatsApp. Use at your own discretion. Do not spam people with this. We discourage any stalkerware, bulk or automated messaging usage.
|
|
7
6
|
|
|
7
|
+
#### Liability and License Notice
|
|
8
|
+
Baileys and its maintainers cannot be held liable for misuse of this application, as stated in the [MIT license](https://github.com/WhiskeySockets/Baileys/blob/master/LICENSE).
|
|
9
|
+
The maintainers of Baileys do not in any way condone the use of this application in practices that violate the Terms of Service of WhatsApp. The maintainers of this application call upon the personal responsibility of its users to use this application in a fair way, as it is intended to be used.
|
|
10
|
+
##
|
|
8
11
|
|
|
9
12
|
Baileys does not require Selenium or any other browser to be interface with WhatsApp Web, it does so directly using a **WebSocket**.
|
|
10
13
|
Not running Selenium or Chromimum saves you like **half a gig** of ram :/
|
package/lib/Defaults/index.d.ts
CHANGED
|
@@ -122,7 +122,6 @@ export declare const PHONENUMBER_MCC: {
|
|
|
122
122
|
"356": number;
|
|
123
123
|
"692": number;
|
|
124
124
|
"222": number;
|
|
125
|
-
/** from: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url */
|
|
126
125
|
"230": number;
|
|
127
126
|
"52": number;
|
|
128
127
|
"691": number;
|
|
@@ -235,7 +234,7 @@ export declare const PHONE_CONNECTION_CB = "CB:Pong";
|
|
|
235
234
|
export declare const WA_DEFAULT_EPHEMERAL: number;
|
|
236
235
|
export declare const MOBILE_TOKEN: Buffer;
|
|
237
236
|
export declare const MOBILE_REGISTRATION_ENDPOINT = "https://v.whatsapp.net/v2";
|
|
238
|
-
export declare const MOBILE_USERAGENT = "WhatsApp/2.
|
|
237
|
+
export declare const MOBILE_USERAGENT = "WhatsApp/2.23.13.82 iOS/15.3.1 Device/Apple-iPhone_7";
|
|
239
238
|
export declare const REGISTRATION_PUBLIC_KEY: Buffer;
|
|
240
239
|
export declare const NOISE_MODE = "Noise_XX_25519_AESGCM_SHA256\0\0\0\0";
|
|
241
240
|
export declare const DICT_VERSION = 2;
|
package/lib/Defaults/index.js
CHANGED
|
@@ -19,9 +19,9 @@ exports.DEF_CALLBACK_PREFIX = 'CB:';
|
|
|
19
19
|
exports.DEF_TAG_PREFIX = 'TAG:';
|
|
20
20
|
exports.PHONE_CONNECTION_CB = 'CB:Pong';
|
|
21
21
|
exports.WA_DEFAULT_EPHEMERAL = 7 * 24 * 60 * 60;
|
|
22
|
-
exports.MOBILE_TOKEN = Buffer.from('
|
|
22
|
+
exports.MOBILE_TOKEN = Buffer.from('0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM3d3683e76445591c0591bc3c034c3bca');
|
|
23
23
|
exports.MOBILE_REGISTRATION_ENDPOINT = 'https://v.whatsapp.net/v2';
|
|
24
|
-
exports.MOBILE_USERAGENT = 'WhatsApp/2.
|
|
24
|
+
exports.MOBILE_USERAGENT = 'WhatsApp/2.23.13.82 iOS/15.3.1 Device/Apple-iPhone_7';
|
|
25
25
|
exports.REGISTRATION_PUBLIC_KEY = Buffer.from([
|
|
26
26
|
5, 142, 140, 15, 116, 195, 235, 197, 215, 166, 134, 92, 108, 60, 132, 56, 86, 176, 97, 33, 204, 232, 234, 119, 77,
|
|
27
27
|
34, 251, 111, 18, 37, 18, 48, 45,
|
package/lib/Signal/libsignal.js
CHANGED
|
@@ -27,6 +27,7 @@ exports.makeLibSignalRepository = void 0;
|
|
|
27
27
|
const libsignal = __importStar(require("libsignal"));
|
|
28
28
|
const WASignalGroup_1 = require("../../WASignalGroup");
|
|
29
29
|
const Utils_1 = require("../Utils");
|
|
30
|
+
const WABinary_1 = require("../WABinary");
|
|
30
31
|
function makeLibSignalRepository(auth) {
|
|
31
32
|
const storage = signalStorage(auth);
|
|
32
33
|
return {
|
|
@@ -91,9 +92,9 @@ function makeLibSignalRepository(auth) {
|
|
|
91
92
|
};
|
|
92
93
|
}
|
|
93
94
|
exports.makeLibSignalRepository = makeLibSignalRepository;
|
|
94
|
-
const jidToSignalAddress = (jid) => jid.split('@')[0];
|
|
95
95
|
const jidToSignalProtocolAddress = (jid) => {
|
|
96
|
-
|
|
96
|
+
const { user, device } = (0, WABinary_1.jidDecode)(jid);
|
|
97
|
+
return new libsignal.ProtocolAddress(user, device || 0);
|
|
97
98
|
};
|
|
98
99
|
const jidToSignalSenderKeyName = (group, user) => {
|
|
99
100
|
return new WASignalGroup_1.SenderKeyName(group, jidToSignalProtocolAddress(user)).toString();
|
package/lib/Socket/business.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ export declare const makeBusinessSocket: (config: SocketConfig) => {
|
|
|
96
96
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
97
97
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
98
98
|
type: "md";
|
|
99
|
-
ws:
|
|
99
|
+
ws: any;
|
|
100
100
|
ev: import("../Types").BaileysEventEmitter & {
|
|
101
101
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
102
102
|
buffer(): void;
|
package/lib/Socket/chats.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare const makeChatsSocket: (config: SocketConfig) => {
|
|
|
45
45
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
46
46
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
47
47
|
type: "md";
|
|
48
|
-
ws:
|
|
48
|
+
ws: any;
|
|
49
49
|
ev: import("../Types").BaileysEventEmitter & {
|
|
50
50
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
51
51
|
buffer(): void;
|
package/lib/Socket/chats.js
CHANGED
|
@@ -141,15 +141,19 @@ const makeChatsSocket = (config) => {
|
|
|
141
141
|
};
|
|
142
142
|
const onWhatsApp = async (...jids) => {
|
|
143
143
|
const query = { tag: 'contact', attrs: {} };
|
|
144
|
-
const list = jids.map((jid) =>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
144
|
+
const list = jids.map((jid) => {
|
|
145
|
+
// insures only 1 + is there
|
|
146
|
+
const content = `+${jid.replace('+', '')}`;
|
|
147
|
+
return {
|
|
148
|
+
tag: 'user',
|
|
149
|
+
attrs: {},
|
|
150
|
+
content: [{
|
|
151
|
+
tag: 'contact',
|
|
152
|
+
attrs: {},
|
|
153
|
+
content,
|
|
154
|
+
}],
|
|
155
|
+
};
|
|
156
|
+
});
|
|
153
157
|
const results = await interactiveQuery(list, query);
|
|
154
158
|
return results.map(user => {
|
|
155
159
|
const contact = (0, WABinary_1.getBinaryNodeChild)(user, 'contact');
|
package/lib/Socket/groups.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export declare const makeGroupsSocket: (config: SocketConfig) => {
|
|
|
76
76
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
77
77
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
78
78
|
type: "md";
|
|
79
|
-
ws:
|
|
79
|
+
ws: any;
|
|
80
80
|
ev: import("../Types").BaileysEventEmitter & {
|
|
81
81
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
82
82
|
buffer(): void;
|
package/lib/Socket/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ declare const makeWASocket: (config: UserFacingSocketConfig) => {
|
|
|
97
97
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
98
98
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
99
99
|
type: "md";
|
|
100
|
-
ws:
|
|
100
|
+
ws: any;
|
|
101
101
|
ev: import("../Types").BaileysEventEmitter & {
|
|
102
102
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
103
103
|
buffer(): void;
|
|
@@ -85,7 +85,7 @@ export declare const makeMessagesRecvSocket: (config: SocketConfig) => {
|
|
|
85
85
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
86
86
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
87
87
|
type: "md";
|
|
88
|
-
ws:
|
|
88
|
+
ws: any;
|
|
89
89
|
ev: import("../Types").BaileysEventEmitter & {
|
|
90
90
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
91
91
|
buffer(): void;
|
|
@@ -82,7 +82,7 @@ export declare const makeMessagesSocket: (config: SocketConfig) => {
|
|
|
82
82
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
83
83
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
84
84
|
type: "md";
|
|
85
|
-
ws:
|
|
85
|
+
ws: any;
|
|
86
86
|
ev: import("../Types").BaileysEventEmitter & {
|
|
87
87
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
88
88
|
buffer(): void;
|
|
@@ -345,10 +345,13 @@ const makeMessagesSocket = (config) => {
|
|
|
345
345
|
await authState.keys.set({ 'sender-key-memory': { [jid]: senderKeyMap } });
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
348
|
-
const { user: meUser } = (0, WABinary_1.jidDecode)(meId);
|
|
348
|
+
const { user: meUser, device: meDevice } = (0, WABinary_1.jidDecode)(meId);
|
|
349
349
|
if (!participant) {
|
|
350
350
|
devices.push({ user });
|
|
351
|
-
|
|
351
|
+
// do not send message to self if the device is 0 (mobile)
|
|
352
|
+
if (meDevice !== undefined && meDevice !== 0) {
|
|
353
|
+
devices.push({ user: meUser });
|
|
354
|
+
}
|
|
352
355
|
const additionalDevices = await getUSyncDevices([meId, jid], !!useUserDevicesCache, true);
|
|
353
356
|
devices.push(...additionalDevices);
|
|
354
357
|
}
|
|
@@ -98,7 +98,7 @@ export declare const makeRegistrationSocket: (config: SocketConfig) => {
|
|
|
98
98
|
addMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
99
99
|
removeMessageLabel: (jid: string, messageId: string, labelId: string) => Promise<void>;
|
|
100
100
|
type: "md";
|
|
101
|
-
ws:
|
|
101
|
+
ws: any;
|
|
102
102
|
ev: import("../Types").BaileysEventEmitter & {
|
|
103
103
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
104
104
|
buffer(): void;
|
|
@@ -154,7 +154,11 @@ export interface RegistrationOptions {
|
|
|
154
154
|
/**
|
|
155
155
|
* How to send the one time code
|
|
156
156
|
*/
|
|
157
|
-
method?: 'sms' | 'voice';
|
|
157
|
+
method?: 'sms' | 'voice' | 'captcha';
|
|
158
|
+
/**
|
|
159
|
+
* The captcha code if it was requested
|
|
160
|
+
*/
|
|
161
|
+
captcha?: string;
|
|
158
162
|
}
|
|
159
163
|
export type RegistrationParams = RegistrationData & RegistrationOptions;
|
|
160
164
|
export declare function registrationParams(params: RegistrationParams): {
|
|
@@ -180,6 +184,7 @@ export declare function registrationParams(params: RegistrationParams): {
|
|
|
180
184
|
id: string;
|
|
181
185
|
backup_token: string;
|
|
182
186
|
token: string;
|
|
187
|
+
fraud_checkpoint_code: string | undefined;
|
|
183
188
|
};
|
|
184
189
|
/**
|
|
185
190
|
* Requests a registration code for the given phone number.
|
|
@@ -198,16 +203,18 @@ export declare function mobileRegister(params: RegistrationParams & {
|
|
|
198
203
|
export declare function mobileRegisterEncrypt(data: string): string;
|
|
199
204
|
export declare function mobileRegisterFetch(path: string, opts?: AxiosRequestConfig): Promise<ExistsResponse>;
|
|
200
205
|
export interface ExistsResponse {
|
|
201
|
-
status: 'fail';
|
|
206
|
+
status: 'fail' | 'sent';
|
|
202
207
|
voice_length?: number;
|
|
203
208
|
voice_wait?: number;
|
|
204
209
|
sms_length?: number;
|
|
205
210
|
sms_wait?: number;
|
|
206
|
-
reason?: 'incorrect' | 'missing_param';
|
|
211
|
+
reason?: 'incorrect' | 'missing_param' | 'code_checkpoint';
|
|
207
212
|
login?: string;
|
|
208
213
|
flash_type?: number;
|
|
209
214
|
ab_hash?: string;
|
|
210
215
|
ab_key?: string;
|
|
211
216
|
exp_cfg?: string;
|
|
212
217
|
lid?: string;
|
|
218
|
+
image_blob?: string;
|
|
219
|
+
audio_blob?: string;
|
|
213
220
|
}
|
|
@@ -86,6 +86,7 @@ function registrationParams(params) {
|
|
|
86
86
|
id: convertBufferToUrlHex(params.identityId),
|
|
87
87
|
backup_token: convertBufferToUrlHex(params.backupToken),
|
|
88
88
|
token: (0, crypto_1.md5)(Buffer.concat([Defaults_1.MOBILE_TOKEN, Buffer.from(params.phoneNumberNationalNumber)])).toString('hex'),
|
|
89
|
+
fraud_checkpoint_code: params.captcha,
|
|
89
90
|
};
|
|
90
91
|
}
|
|
91
92
|
exports.registrationParams = registrationParams;
|
|
@@ -141,11 +142,10 @@ async function mobileRegisterFetch(path, opts = {}) {
|
|
|
141
142
|
if (opts.params) {
|
|
142
143
|
const parameter = [];
|
|
143
144
|
for (const param in opts.params) {
|
|
144
|
-
|
|
145
|
+
if (opts.params[param] !== null && opts.params[param] !== undefined) {
|
|
146
|
+
parameter.push(param + '=' + urlencode(opts.params[param]));
|
|
147
|
+
}
|
|
145
148
|
}
|
|
146
|
-
console.log('parameter', opts.params, parameter);
|
|
147
|
-
// const params = urlencode(mobileRegisterEncrypt(parameter.join('&')))
|
|
148
|
-
// url += `?ENC=${params}`
|
|
149
149
|
url += `?${parameter.join('&')}`;
|
|
150
150
|
delete opts.params;
|
|
151
151
|
}
|
package/lib/Socket/socket.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { Boom } from '@hapi/boom';
|
|
3
3
|
import { SocketConfig } from '../Types';
|
|
4
4
|
import { BinaryNode } from '../WABinary';
|
|
5
|
-
import { MobileSocketClient, WebSocketClient } from './Client';
|
|
6
5
|
/**
|
|
7
6
|
* Connects to WA servers and performs:
|
|
8
7
|
* - simple queries (no retry mechanism, wait for connection establishment)
|
|
@@ -11,7 +10,7 @@ import { MobileSocketClient, WebSocketClient } from './Client';
|
|
|
11
10
|
*/
|
|
12
11
|
export declare const makeSocket: (config: SocketConfig) => {
|
|
13
12
|
type: "md";
|
|
14
|
-
ws:
|
|
13
|
+
ws: any;
|
|
15
14
|
ev: import("../Types").BaileysEventEmitter & {
|
|
16
15
|
process(handler: (events: Partial<import("../Types").BaileysEventMap>) => void | Promise<void>): () => void;
|
|
17
16
|
buffer(): void;
|
package/lib/Socket/socket.js
CHANGED
|
@@ -24,7 +24,7 @@ const makeSocket = (config) => {
|
|
|
24
24
|
if (config.mobile && url.protocol !== 'tcp:') {
|
|
25
25
|
url = new url_1.URL(`tcp://${Defaults_1.MOBILE_ENDPOINT}:${Defaults_1.MOBILE_PORT}`);
|
|
26
26
|
}
|
|
27
|
-
const ws = config.mobile ? new Client_1.MobileSocketClient(url, config) : new Client_1.WebSocketClient(url, config);
|
|
27
|
+
const ws = config.socket ? config.socket : config.mobile ? new Client_1.MobileSocketClient(url, config) : new Client_1.WebSocketClient(url, config);
|
|
28
28
|
ws.connect();
|
|
29
29
|
const ev = (0, Utils_1.makeEventBuffer)(logger);
|
|
30
30
|
/** ephemeral key pair used to encrypt/decrypt communication. Unique for each connection */
|
|
@@ -184,7 +184,9 @@ exports.default = ({ logger: _logger, chatKey, labelAssociationKey }) => {
|
|
|
184
184
|
});
|
|
185
185
|
ev.on('chats.delete', deletions => {
|
|
186
186
|
for (const item of deletions) {
|
|
187
|
-
chats.
|
|
187
|
+
if (chats.get(item)) {
|
|
188
|
+
chats.deleteById(item);
|
|
189
|
+
}
|
|
188
190
|
}
|
|
189
191
|
});
|
|
190
192
|
ev.on('messages.upsert', ({ messages: newMessages, type }) => {
|
package/lib/Types/Socket.d.ts
CHANGED
package/lib/Utils/messages.js
CHANGED
|
@@ -111,8 +111,8 @@ const prepareWAMessageMedia = async (message, options) => {
|
|
|
111
111
|
const requiresDurationComputation = mediaType === 'audio' && typeof uploadData.seconds === 'undefined';
|
|
112
112
|
const requiresThumbnailComputation = (mediaType === 'image' || mediaType === 'video') &&
|
|
113
113
|
(typeof uploadData['jpegThumbnail'] === 'undefined');
|
|
114
|
-
const requiresWaveformProcessing = mediaType === 'audio' && uploadData.ptt ===
|
|
115
|
-
const requiresAudioBackground = options.backgroundColor && mediaType === 'audio' && uploadData.ptt ===
|
|
114
|
+
const requiresWaveformProcessing = mediaType === 'audio' && uploadData.ptt === true;
|
|
115
|
+
const requiresAudioBackground = options.backgroundColor && mediaType === 'audio' && uploadData.ptt === true;
|
|
116
116
|
const requiresOriginalForSomeProcessing = requiresDurationComputation || requiresThumbnailComputation;
|
|
117
117
|
const { mediaKey, encWriteStream, bodyPath, fileEncSha256, fileSha256, fileLength, didSaveToTmpPath } = await (0, messages_media_1.encryptedStream)(uploadData.media, options.mediaTypeOverride || mediaType, {
|
|
118
118
|
logger,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d0v3riz/baileys",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "WhatsApp API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"jest": "^27.0.6",
|
|
71
71
|
"jimp": "^0.16.1",
|
|
72
72
|
"link-preview-js": "^3.0.0",
|
|
73
|
+
"open": "^8.4.2",
|
|
73
74
|
"qrcode-terminal": "^0.12.0",
|
|
74
75
|
"release-it": "^15.10.3",
|
|
75
76
|
"sharp": "^0.30.5",
|