@wppconnect/wa-js 3.23.3 → 3.23.4

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 CHANGED
@@ -1,6 +1,6 @@
1
- ## 3.23.3 (2026-04-09)
1
+ ## 3.23.4 (2026-04-17)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * refactor incoming call event registration for improved handling ([#3406](https://github.com/wppconnect-team/wa-js/issues/3406)) ([db6a588](https://github.com/wppconnect-team/wa-js/commit/db6a5885856c68e2a78dd5a376f6fa33f3f295b5))
6
+ * disconnection after reading qrcode - flushing during sync ([#3409](https://github.com/wppconnect-team/wa-js/issues/3409)) ([428ee01](https://github.com/wppconnect-team/wa-js/commit/428ee012c12dedc663991e8734af67876a9593af))
@@ -22,6 +22,7 @@ interface CreateLidPnMappingsParams {
22
22
  mappings: LidPnMapping[];
23
23
  flushImmediately: boolean;
24
24
  learningSource: string;
25
+ identityChangeHandlingEnabled?: boolean;
25
26
  }
26
27
  /**
27
28
  * @whatsapp WAWebDBCreateLidPnMappings
@@ -14,25 +14,56 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { Wid } from './Wid';
17
+ export interface USyncQueryBizInfo {
18
+ verifiedName?: {
19
+ isApi: boolean;
20
+ level: string;
21
+ name: string;
22
+ privacyMode: any;
23
+ serial: string;
24
+ };
25
+ }
26
+ export interface USyncQueryListItem {
27
+ id?: Wid;
28
+ business?: USyncQueryBizInfo;
29
+ disappearing_mode?: {
30
+ duration?: number;
31
+ t?: number;
32
+ };
33
+ status?: string;
34
+ lid?: string | {
35
+ _serialized: string;
36
+ };
37
+ contact?: {
38
+ type?: 'in' | 'out';
39
+ };
40
+ }
41
+ export interface USyncQueryResult {
42
+ error?: {
43
+ all?: unknown;
44
+ contact?: unknown;
45
+ };
46
+ list?: USyncQueryListItem[];
47
+ }
17
48
  /**
18
49
  * @whatsapp 459857
19
50
  */
20
51
  export declare class USyncQuery {
21
52
  constructor();
22
53
  $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;
54
+ execute(): Promise<USyncQueryResult>;
55
+ withBotProfileProtocol(): USyncQuery;
56
+ withBusinessProtocol(): USyncQuery;
57
+ withContactProtocol(): USyncQuery;
58
+ withContext(a: any): USyncQuery;
59
+ withDeviceProtocol(): USyncQuery;
60
+ withDisappearingModeProtocol(): USyncQuery;
61
+ withFeaturesProtocol(a: any): USyncQuery;
62
+ withLidProtocol(): USyncQuery;
63
+ withMode(a: any): USyncQuery;
64
+ withPictureProtocol(): USyncQuery;
65
+ withStatusProtocol(): USyncQuery;
66
+ withTextStatusProtocol(): USyncQuery;
67
+ withUser(a: any): USyncQuery;
68
+ withUsernameProtocol(): USyncQuery;
38
69
  }