@muhammedaksam/waha-node 2025.12.1 → 2025.12.2-dev.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muhammedaksam/waha-node",
3
- "version": "2025.12.1",
3
+ "version": "2025.12.2-dev.1",
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",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "fetch:openapi": "curl -u ${WHATSAPP_SWAGGER_USERNAME:-WHATSAPP_SWAGGER_USERNAME}:${WHATSAPP_SWAGGER_PASSWORD:-WHATSAPP_SWAGGER_PASSWORD} -o openapi.json ${WAHA_URL:-http://localhost:3000}/-json && prettier --write openapi.json",
21
- "generate:types": "npx swagger-typescript-api generate -p openapi.json -o src/generated -n api.ts --axios --modular --module-name-first-tag && npx tsx scripts/clean-generated.ts",
21
+ "generate:types": "npx swagger-typescript-api generate -p openapi.json -o src/generated -n api.ts --axios --modular --module-name-first-tag && npx tsx scripts/clean-generated.ts && pnpm run fix",
22
22
  "generate": "pnpm run fetch:openapi && pnpm run generate:types",
23
23
  "build": "rollup -c",
24
24
  "build:watch": "rollup -c --watch",