@muhammedaksam/waha-node 2026.1.5 → 2026.2.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -365,7 +365,7 @@ interface RemoteFile {
365
365
  * @example "filename.jpg"
366
366
  */
367
367
  filename?: string;
368
- /** @example "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg" */
368
+ /** @example "https://picsum.photos/1024" */
369
369
  url: string;
370
370
  }
371
371
  interface BinaryFile {
@@ -648,7 +648,7 @@ interface MessageVideoRequest {
648
648
  session: string;
649
649
  }
650
650
  interface FileURL {
651
- /** @example "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg" */
651
+ /** @example "https://picsum.photos/1024" */
652
652
  url?: string;
653
653
  }
654
654
  interface FileContent {
@@ -659,7 +659,7 @@ interface FileContent {
659
659
  data?: string;
660
660
  }
661
661
  interface LinkPreviewData {
662
- /** @example {"url":"https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg"} */
662
+ /** @example {"url":"https://picsum.photos/1024"} */
663
663
  image?: FileURL | FileContent;
664
664
  /** @default "https://github.com/" */
665
665
  url: string;
@@ -1360,10 +1360,10 @@ interface ParticipantsRequest {
1360
1360
  }
1361
1361
  interface WAHASessionPresence {
1362
1362
  /**
1363
- * Chat ID - either group id or contact id
1363
+ * Chat ID - either group id or contact id. Required for chat-related presence statuses; omit for ONLINE/OFFLINE.
1364
1364
  * @example "11111111111@c.us"
1365
1365
  */
1366
- chatId: string;
1366
+ chatId?: string;
1367
1367
  presence: 'offline' | 'online' | 'typing' | 'recording' | 'paused';
1368
1368
  }
1369
1369
  interface WAHAPresenceData {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muhammedaksam/waha-node",
3
- "version": "2026.1.5",
3
+ "version": "2026.2.2",
4
4
  "type": "module",
5
5
  "description": "Node.js TypeScript SDK for WAHA (WhatsApp HTTP API) - auto-generated from OpenAPI spec",
6
6
  "main": "dist/index.cjs.js",