@wppconnect/wa-js 2.24.1 → 2.24.3
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/CHANGELOG.md +2 -2
- package/dist/group/functions/addParticipants.d.ts +7 -0
- package/dist/whatsapp/functions/getCurrentLid.d.ts +21 -0
- package/dist/whatsapp/functions/index.d.ts +1 -0
- package/dist/whatsapp/functions/sendGroupParticipants.d.ts +4 -1
- package/dist/whatsapp/models/GroupMetadataModel.d.ts +1 -0
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +20 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
## 2.24.
|
|
1
|
+
## 2.24.3 (2023-06-13)
|
|
2
2
|
|
|
3
3
|
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
- Fixed
|
|
5
|
+
- Fixed compatibility with WhatsApp >= 2.2325.3 ([5339618](https://github.com/wppconnect-team/wa-js/commit/53396183f624e5afc0388c2d4374d683dcc43fba))
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Wid } from '../misc';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp 469475 >= 2.2307.10
|
|
19
|
+
* @whatsapp 12643 >= 2.2322.15
|
|
20
|
+
*/
|
|
21
|
+
export declare function getCurrentLid(wid: Wid): Wid;
|
|
@@ -39,6 +39,7 @@ export * from './genMinimalLinkPreview';
|
|
|
39
39
|
export * from './getABPropConfigValue';
|
|
40
40
|
export * from './getAsMms';
|
|
41
41
|
export * from './getCommunityParticipants';
|
|
42
|
+
export * from './getCurrentLid';
|
|
42
43
|
export * from './getEphemeralFields';
|
|
43
44
|
export * from './getFanOutList';
|
|
44
45
|
export * from './getGroupSenderKeyList';
|
|
@@ -17,7 +17,10 @@ import { Wid } from '..';
|
|
|
17
17
|
/**
|
|
18
18
|
* @whatsapp 437722 >= 2.2222.8
|
|
19
19
|
*/
|
|
20
|
-
export declare function sendAddParticipants(group: Wid, participants: Wid
|
|
20
|
+
export declare function sendAddParticipants(group: Wid, participants: (Wid | {
|
|
21
|
+
phoneNumber: Wid;
|
|
22
|
+
lid?: Wid;
|
|
23
|
+
})[]): Promise<{
|
|
21
24
|
participants?: ({
|
|
22
25
|
[key: `${number}@c.us`]: {
|
|
23
26
|
code: string;
|