Skip to content

v1.3.0

Choose a tag to compare

@solvejet-team solvejet-team released this 20 Nov 18:51
· 13 commits to master since this release
419b8db

Added

  • Business-scoped user IDs (BSUIDs) and usernames. Webhook types gain optional user_id, parent_user_id and profile.username on contacts, from_user_id, from_parent_user_id and group_id on incoming messages, recipient_user_id and recipient_parent_user_id on statuses, plus a system message 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). apiVersion stays configurable.
  • wa_id, from and recipient_id stay typed string, 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.