@open-wa/wa-automate-types-only 4.62.3 → 4.62.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",