@open-wa/wa-automate-types-only 4.31.1 → 4.31.5

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.
@@ -319,6 +319,14 @@ export declare class Client {
319
319
  * @emits `<LiveLocationChangedEvent>` LiveLocationChangedEvent
320
320
  */
321
321
  onLiveLocation(chatId: ChatId, fn: (liveLocationChangedEvent: LiveLocationChangedEvent) => void): Promise<boolean>;
322
+ /**
323
+ * Use this simple command to test firing callback events.
324
+ *
325
+ * @param callbackToTest
326
+ * @param testData
327
+ * @returns `false` if the callback was not registered/does not exist
328
+ */
329
+ testCallback(callbackToTest: SimpleListener, testData: any): Promise<boolean>;
322
330
  /**
323
331
  * Set presence to available or unavailable.
324
332
  * @param available if true it will set your presence to 'online', false will set to unavailable (i.e no 'online' on recipients' phone);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.31.1",
3
+ "version": "4.31.5",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",