@raylongsolutions/saaselixir 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ - README: noted that voice notes and photos cannot be downloaded through the SDK; a reply carries only the file id.
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  - Send template and text messages, safe to repeat by reference.
package/README.md CHANGED
@@ -166,6 +166,8 @@ if (event.event === 'message.received') {
166
166
 
167
167
  Reply with `wa.messages.sendText(event.from, 'Thanks!')` within 24 hours, or send a template. Replies are delivered only while your plan includes the API. Repeats carry the same `wamid`.
168
168
 
169
+ **Limit:** the SDK cannot download voice notes or photos. A reply gives only the file id (`event.mediaId`), so the file itself has to be fetched from WhatsApp with the number's access token. Keep that token saved on your server.
170
+
169
171
  `verifySignature(secret, rawBody, signature)` gives true or false if you prefer. Calls can arrive more than once: use `reference` to ignore repeats.
170
172
 
171
173
  ## Build a chatbot or automation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raylongsolutions/saaselixir",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Node.js SDK for SaasElixir: send WhatsApp template messages, build chatbots and automations, and verify delivery callbacks from your own software.",
5
5
  "keywords": [
6
6
  "whatsapp",