Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(sdk): drop "not yet published" notes — packages are live on npm/PyPI/Packagist
Yudhi Armyndharis060c6536e5a4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9f56b650e..b47a8a30d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added- MCP server (opt-in, `MCP_ENABLED=true`): exposes a curated ~39-tool agent surface (sessions, messaging, contacts, basic group ops, webhook reads) over the Model Context Protocol at `POST /mcp`, on the existing single port. Off by default — the MCP SDK is not loaded unless enabled, and every REST route is unchanged. Tools call the existing services and reuse the same API-key auth, role, and per-session scoping as REST; reads vs writes are tiered and `MCP_READONLY=true` mounts read tools only. Destructive/privileged operations are deliberately excluded from the surface. (relates to #256; salvages result-shaping from #461 — thanks @tobiasstrebitzer)-- Client SDKs: official, hand-written client libraries for the REST API in **JavaScript/TypeScript** (`@rmyndharis/openwa`), **Python** (`rmyndharis-openwa`), and **PHP** (`rmyndharis/openwa`), replacing the previous single-file stub (`sdk/`). Each exposes the same fluent resource surface — `sessions`, `messages`, `contacts`, `groups`, `chats`, `webhooks`, `labels`, `channels`, `catalog`, `status`, `templates`, `health` — over an injectable HTTP transport, with a typed error hierarchy mapping the NestJS error envelope (`401/403/404/409/429/501`) to typed exceptions and a timeout error. Request/response types mirror the server DTOs exactly. The JavaScript package ships dual CJS + ESM with bundled type declarations (consumable via both `require()` and native `import()`, guarded by a packaging smoke test); the Python package ships PEP 561 type information (`py.typed`); the PHP package is PSR-4 / Guzzle 7. Redirects are never auto-followed (so the API key is never re-sent to a redirect target), auth/JSON headers always take precedence over caller-supplied defaults, path segments are percent-encoded, and a base-URL path prefix (e.g. behind a reverse proxy) is preserved. The SDK does not retry — wrap calls with your own backoff. Not yet published to npm/PyPI/Packagist (all at 0.1.0). (#463)+- Client SDKs: official, hand-written client libraries for the REST API in **JavaScript/TypeScript** (`@rmyndharis/openwa`), **Python** (`rmyndharis-openwa`), and **PHP** (`rmyndharis/openwa`), replacing the previous single-file stub (`sdk/`). Each exposes the same fluent resource surface — `sessions`, `messages`, `contacts`, `groups`, `chats`, `webhooks`, `labels`, `channels`, `catalog`, `status`, `templates`, `health` — over an injectable HTTP transport, with a typed error hierarchy mapping the NestJS error envelope (`401/403/404/409/429/501`) to typed exceptions and a timeout error. Request/response types mirror the server DTOs exactly. The JavaScript package ships dual CJS + ESM with bundled type declarations (consumable via both `require()` and native `import()`, guarded by a packaging smoke test); the Python package ships PEP 561 type information (`py.typed`); the PHP package is PSR-4 / Guzzle 7. Redirects are never auto-followed (so the API key is never re-sent to a redirect target), auth/JSON headers always take precedence over caller-supplied defaults, path segments are percent-encoded, and a base-URL path prefix (e.g. behind a reverse proxy) is preserved. The SDK does not retry — wrap calls with your own backoff. Published at `0.1.0` on npm (`@rmyndharis/openwa`), PyPI (`rmyndharis-openwa`), and Packagist (`rmyndharis/openwa`). (#463)## [0.7.2] - 2026-06-24diff --git a/sdk/README.md b/sdk/README.mdindex 1dfa5d50c..b9b442341 100644--- a/sdk/README.md+++ b/sdk/README.md@@ -10,11 +10,6 @@ The wire types live in a dedicated module (`types.ts` / `types.py`) so they canlater be regenerated by an OpenAPI codegen pass without touching thehand-written resource methods.-> **Not yet published** to npm / PyPI / Packagist. The package names below are-> reserved for the first release; until then, install from a checkout of this-> repo (see each language section). Note: an unrelated third-party `openwa-sdk`-> exists on PyPI — it is **not** this project; do not install it.-| Language | Package | Notes || ----------------------- | ------------------------------- | --------------------------- || JavaScript / TypeScript | [`@rmyndharis/openwa`](javascript/) | dual ESM/CJS, bundled types |@@ -47,9 +42,7 @@ All three SDKs expose the same fluent resource surface:## JavaScript / TypeScript```bash-cd sdk/javascript-npm install-npm run build # dual ESM + CJS output in dist/+npm install @rmyndharis/openwa``````typescript@@ -87,8 +80,7 @@ try {## Python```bash-cd sdk/python-pip install -e ".[dev]"+pip install rmyndharis-openwa``````python@@ -113,8 +105,7 @@ monkey-patching required.## PHP```bash-cd sdk/php-composer install+composer require rmyndharis/openwa``````phpdiff --git a/sdk/javascript/README.md b/sdk/javascript/README.mdindex cc4fdc6ce..c38b1c8bf 100644--- a/sdk/javascript/README.md+++ b/sdk/javascript/README.md@@ -6,11 +6,8 @@ Ships dual CJS + ESM builds with bundled type declarations.## Install-> **Not yet published to npm.** Until the first release, install from a checkout-> of the repo (`cd sdk/javascript && npm install && npm run build`) or from git.-```bash-npm install @rmyndharis/openwa # once published+npm install @rmyndharis/openwa```Requires Node.js >= 18 (relies on the global `fetch`).diff --git a/sdk/php/README.md b/sdk/php/README.mdindex 72b08ce6a..54f47d54f 100644--- a/sdk/php/README.md+++ b/sdk/php/README.md@@ -6,12 +6,8 @@ A synchronous client built on [Guzzle](https://docs.guzzlephp.org/), PSR-4 autol## Install-> **Not yet published to Packagist.** Until the first release, install from a-> checkout of the repo (`cd sdk/php && composer install`) or point Composer at-> the repository directly.-```bash-composer require rmyndharis/openwa # once published+composer require rmyndharis/openwa```Requires PHP 8.1+ and Guzzle 7. The namespace is `OpenWA\`.diff --git a/sdk/python/README.md b/sdk/python/README.mdindex 6eb6c6eac..bb5a6e953 100644--- a/sdk/python/README.md+++ b/sdk/python/README.md@@ -6,11 +6,8 @@ A synchronous client built on [httpx](https://www.python-httpx.org/), with bundl## Install-> **Not yet published to PyPI.** Until the first release, install from a checkout-> of the repo (`cd sdk/python && pip install -e .`) or from git.-```bash-pip install rmyndharis-openwa # once published+pip install rmyndharis-openwa```Requires Python 3.9+. The importable module is `openwa`.