@wppconnect/wa-js 3.2.1 → 3.2.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/contact/functions/queryExists.d.ts +1 -0
- package/dist/whatsapp/functions/index.d.ts +1 -0
- package/dist/whatsapp/functions/isWid.d.ts +19 -0
- package/dist/whatsapp/functions/queryGroupInviteCode.d.ts +1 -1
- package/dist/whatsapp/functions/setPin.d.ts +1 -0
- package/dist/whatsapp/misc/USyncQuery.d.ts +38 -0
- package/dist/whatsapp/misc/USyncUser.d.ts +26 -0
- package/dist/whatsapp/misc/index.d.ts +2 -0
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## 3.2.
|
|
1
|
+
## 3.2.3 (2024-05-02)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* Fixed
|
|
6
|
+
* Fixed queryGroupInviteCode function (close [#1890](https://github.com/wppconnect-team/wa-js/issues/1890)) ([b4ec6a8](https://github.com/wppconnect-team/wa-js/commit/b4ec6a835f31c7a509660a081fcce5489b64ec74))
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -80,6 +80,7 @@ export * from './isAuthenticated';
|
|
|
80
80
|
export * from './isLegitErrorStack';
|
|
81
81
|
export * from './isRegistered';
|
|
82
82
|
export * from './isUnreadTypeMsg';
|
|
83
|
+
export * from './isWid';
|
|
83
84
|
export * from './joinGroupViaInvite';
|
|
84
85
|
export * from './keepMessage';
|
|
85
86
|
export * from './labelAddAction';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2024 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
|
+
/**
|
|
17
|
+
* @whatsapp 469475
|
|
18
|
+
*/
|
|
19
|
+
export declare function isWid(number: string): boolean;
|
|
@@ -19,5 +19,6 @@ import { ChatModel } from '../models';
|
|
|
19
19
|
* @whatsapp 510236 >= 2.2222.8
|
|
20
20
|
* @whatsapp 742348 >= 2.2228.4
|
|
21
21
|
* @whatsapp 456180 >= 2.2230.8
|
|
22
|
+
* @whatsapp WAWebSetPinChatAction >= 2.3000.x
|
|
22
23
|
*/
|
|
23
24
|
export declare function setPin(chat: ChatModel, pin: boolean): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 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 './Wid';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp 459857
|
|
19
|
+
*/
|
|
20
|
+
export declare class USyncQuery {
|
|
21
|
+
constructor();
|
|
22
|
+
$1(): any;
|
|
23
|
+
execute(): any;
|
|
24
|
+
withBotProfileProtocol(): any;
|
|
25
|
+
withBusinessProtocol(): any;
|
|
26
|
+
withContactProtocol(): any;
|
|
27
|
+
withContext(a: any): any;
|
|
28
|
+
withDeviceProtocol(): Wid;
|
|
29
|
+
withDisappearingModeProtocol(): any;
|
|
30
|
+
withFeaturesProtocol(a: any): any;
|
|
31
|
+
withLidProtocol(): Wid;
|
|
32
|
+
withMode(a: any): any;
|
|
33
|
+
withPictureProtocol(): any;
|
|
34
|
+
withStatusProtocol(): any;
|
|
35
|
+
withTextStatusProtocol(): any;
|
|
36
|
+
withUser(a: any): any;
|
|
37
|
+
withUsernameProtocol(): any;
|
|
38
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2024 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
|
+
/**
|
|
17
|
+
* @whatsapp 459857
|
|
18
|
+
*/
|
|
19
|
+
export declare class USyncUser {
|
|
20
|
+
constructor();
|
|
21
|
+
withPhone(a: any): any;
|
|
22
|
+
withId(a: any): any;
|
|
23
|
+
withLid(a: any): any;
|
|
24
|
+
withType(a: any): any;
|
|
25
|
+
withUsername(a: any): any;
|
|
26
|
+
}
|
|
@@ -37,6 +37,8 @@ export * from './ServerProps';
|
|
|
37
37
|
export * from './Socket';
|
|
38
38
|
export * from './Stream';
|
|
39
39
|
export * from './UserPrefs';
|
|
40
|
+
export * from './USyncQuery';
|
|
41
|
+
export * from './USyncUser';
|
|
40
42
|
export * from './VCard';
|
|
41
43
|
export * from './Wid';
|
|
42
44
|
export * from './WidFactory';
|