n8n-nodes-fiwano 0.2.5 → 0.2.7

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -177,10 +177,13 @@ Key fields available in expressions after the trigger:
177
177
  | `{{ $json.data.text }}` | Message text (for `type: text` messages) |
178
178
  | `{{ $json.data.type }}` | `text`, `image`, `audio`, `video`, `document`, `sticker`, or `unsupported` |
179
179
  | `{{ $json.data.media.media_id }}` | ID to download file via `GET /api/v1/media/{media_id}` (Pro license) |
180
- | `{{ $json.data.media.kind }}` | Media kind: `image`, `audio`, `voice`, `video`, `document`, `sticker` |
181
- | `{{ $json.data.media.download_url }}` | Pre-built download URL (Pro license only) |
180
+ | `{{ $json.data.media.voice }}` | `true` for WhatsApp voice messages (boolean, WA only; omitted for IG/FB) |
181
+ | `{{ $json.data.media.download_url }}` | Authenticated download URL — fetch with your `X-API-Key`. `null` if download from Meta failed. **Cannot be used directly as `media_url` for outbound sends** — re-host the bytes first. |
182
182
  | `{{ $json.data.media.mime_type }}` | MIME type of the received file |
183
- | `{{ $json.data.media.expires_at }}` | ISO 8601 expiry timestamp (temp storage) |
183
+ | `{{ $json.data.media.file_size }}` | File size in bytes |
184
+ | `{{ $json.data.media.filename }}` | Original filename (documents only; `null` otherwise) |
185
+ | `{{ $json.data.media.duration_ms }}` | Duration in ms (audio/video only; `null` otherwise) |
186
+ | `{{ $json.data.media.expires_at }}` | ISO 8601 expiry timestamp — file deleted after this time |
184
187
  | `{{ $json.data.caption }}` | Caption text attached to the media (WhatsApp) |
185
188
  | `{{ $json.data.upgrade_required }}` | `"pro"` if channel lacks a Pro license for this message |
186
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-fiwano",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Verified n8n community nodes for the Fiwano messaging platform API (WhatsApp, Instagram, Facebook Messenger)",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "https://github.com/RomanBabakin/n8n-nodes-fiwano"
21
+ "url": "https://github.com/fiwano-com/n8n-nodes-fiwano"
22
22
  },
23
23
  "main": "index.js",
24
24
  "scripts": {