@open-wa/wa-automate-types-only 4.62.3 → 4.62.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.
@@ -482,10 +482,11 @@ export declare class Client {
482
482
  */
483
483
  getUnsentMessages(): Promise<Message[]>;
484
484
  /**
485
- * Forces the session to update the connection state. This will take a few seconds to determine the 'correct' state.
485
+ * Forces the session to update the connection state.
486
+ * @param killBeforeAttemptingToReconnect Setting this to true will force the session to drop the current socket connection before attempting to reconnect. This is useful if you want to force the session to reconnect immediately.
486
487
  * @returns updated connection state
487
488
  */
488
- forceUpdateConnectionState(): Promise<STATE>;
489
+ forceUpdateConnectionState(killBeforeReconnect?: boolean): Promise<STATE>;
489
490
  /**
490
491
  * Returns a list of contact with whom the host number has an existing chat who are also not contacts.
491
492
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.62.3",
3
+ "version": "4.62.4",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",