Repository navigation
v1.3.0
Added
- Business-scoped user IDs (BSUIDs) and usernames. Webhook types gain optional
user_id,parent_user_idandprofile.usernameon contacts,from_user_id,from_parent_user_idandgroup_idon incoming messages,recipient_user_idandrecipient_parent_user_idon statuses, plus asystemmessage type. Every message sender accepts a{ bsuid }recipient. client.messages.sendRaw(body, options?)to send message shapes the SDK does not wrap yet, with the same retries, timeouts and typed errors.examples/: Express, Next.js App Router, Hono and Fastify webhook servers (verify-token handshake and raw-body signature check) plus a send script. Typechecked in CI.- README rewrite (quickstart first, comparison, raw-body webhook troubleshooting, runtime support) and a
docs/folder for templates, Flows, Block, Calling and errors.
Changed
- The default Graph API version is now v26.0 (was v23.0).
apiVersionstays configurable. wa_id,fromandrecipient_idstay typedstring, but Meta may omit them in some username-based events. Do not assume they are always present.
Zero runtime dependencies. Requires Node.js 20+. See the CHANGELOG.