Skip to content

Releases: great-detail/WhatsApp-Nodejs-SDK

v7.0.9

05 Dec 13:33
12ed964
Compare
Choose a tag to compare

Patch Changes

  • 0b0122a: Return x-hub-signature-256 header alongside event notification return
  • da9832f: Update Documentation for Fastify Raw Body Parsing
  • 5669c73: Explicitly set UTF-8 encoding in signature calculation

v7.0.8

21 Nov 09:56
1b94920
Compare
Choose a tag to compare

Patch Changes

  • 4acedc2: Correct prefixUrl construction for graph version selection

v7.0.7

21 Nov 08:16
ce7ae37
Compare
Choose a tag to compare

Patch Changes

  • ec11904: Export MessageType enum as non-type

v7.0.6

20 Nov 21:23
cabf254
Compare
Choose a tag to compare

Patch Changes

v7.0.5

20 Nov 20:39
14309e9
Compare
Choose a tag to compare

Patch Changes

  • dfaf6eb: Add CLI command: message text

v7.0.4

20 Nov 20:16
d6233d9
Compare
Choose a tag to compare

Patch Changes

  • 500e6e8: Add user_id to Webhook Event Notification contacts object
  • 9d5d62a: Add Business Profile APIs

v7.0.3

20 Nov 18:59
bfb2641
Compare
Choose a tag to compare

Patch Changes

  • effa7c1: Add createSubscription and listSubscriptions SubscribedApps APIs

v7.0.2

20 Nov 18:19
0eaf77a
Compare
Choose a tag to compare

Patch Changes

  • 6d6b234: Offload authentication to use-case

v7.0.1

20 Nov 17:59
bcacfce
Compare
Choose a tag to compare

Patch Changes

  • 564a24d: Add request method check for webhook event notification processing

v7.0.0

20 Nov 17:40
9a0f0e1
Compare
Choose a tag to compare

Major Changes

  • 685b4de: Refactor & Rewrite SDK.

    Before:

    import CloudAPI from "@great-detail/whatsapp";
    
    const sdk = new CloudAPI();
    const message = sdk
      .message({ phoneNumberID: "123...809" })
      .text({ body: "Hello" }, { toNumber: "1234567890" });
    const sendReceipt = await message.send();

    After:

    import Client from "@great-detail/whatsapp";
    
    const sdk = new Client();
    const message = await sdk.message.createMessage({
      phoneNumberID: "123...809",
      to: "1234567890",
      type: "text",
      text: {
        body: "Hello",
      },
    });