n8n-nodes-pilot-status 2.2.0 → 2.2.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
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to `n8n-nodes-pilot-status`.
4
4
 
5
+ ## 2.2.1 - 2026-09-29
6
+
7
+ ### Fixed
8
+
9
+ - **Media Type: `audio` and `voice` now describe what the recipient actually gets.** The
10
+ dropdown said "Audio (Voice Note)" and "Voice Note With Waveform", and the help text said
11
+ both "are delivered as WhatsApp voice notes". That was wrong on official (Meta Cloud API)
12
+ numbers: there `audio` arrives as an audio **file**, and only `voice` arrives as a voice
13
+ note. On unofficial numbers both arrive as a voice note. The options are now
14
+ "Audio (File on Official Numbers)" and "Voice Note". **The option values (`audio`,
15
+ `voice`) are unchanged**, so existing workflows keep sending exactly what they sent
16
+ before; pick "Voice Note" when you want a voice message on every number.
17
+ - The Media Type help text also states that `audio`/`voice` cannot be combined with a
18
+ template. The API now rejects `voice` + `templateId` with `400`, as it already did for
19
+ `audio`: before, the template went out and the voice note was silently dropped.
20
+
5
21
  ## 2.2.0 - 2026-09-10
6
22
 
7
23
  ### Blocos interativos: `list`, `carousel` e `flow`
@@ -528,12 +528,20 @@ class PilotStatus {
528
528
  { name: 'Image', value: 'image' },
529
529
  { name: 'Video', value: 'video' },
530
530
  { name: 'Document', value: 'document' },
531
- { name: 'Audio (Voice Note)', value: 'audio' },
532
- { name: 'Voice Note With Waveform', value: 'voice' },
531
+ {
532
+ name: 'Audio (File on Official Numbers)',
533
+ value: 'audio',
534
+ description: 'Audio file on official (Meta) numbers, voice note on unofficial numbers',
535
+ },
536
+ {
537
+ name: 'Voice Note',
538
+ value: 'voice',
539
+ description: 'Voice note (PTT) on all numbers',
540
+ },
533
541
  { name: 'Sticker', value: 'sticker' },
534
542
  ],
535
543
  default: 'image',
536
- description: 'Type of media being attached. Audio and voice are delivered as WhatsApp voice notes and take no caption. Sticker takes no caption either and must be an image/webp file (static up to 100 KB, animated up to 500 KB).',
544
+ description: 'Type of media being attached. Audio arrives as an audio file on official (Meta) numbers and as a voice note on unofficial numbers; Voice Note arrives as a voice note on all numbers. Audio and Voice Note cannot be combined with a template, and Audio takes no caption. Sticker takes no caption either and must be an image/webp file (static up to 100 KB, animated up to 500 KB).',
537
545
  },
538
546
  {
539
547
  displayName: 'Buttons (JSON)',
@@ -1104,8 +1112,8 @@ class PilotStatus {
1104
1112
  displayName: 'History Import Enabled',
1105
1113
  name: 'historyImportEnabled',
1106
1114
  type: 'boolean',
1107
- default: false,
1108
- description: 'Whether to import the history the provider dumps on connect (up to 30 days back) into the chat. Applies to every provider. Off by default, and on a number that already connected this only affects the NEXT connection — the dump that already happened cannot be fetched again.',
1115
+ default: true,
1116
+ description: 'Whether to import the history the provider dumps on connect (up to 30 days back) into the chat. Applies to every provider. On by default, and on a number that already connected this only affects the NEXT connection — the dump that already happened cannot be fetched again.',
1109
1117
  },
1110
1118
  {
1111
1119
  displayName: 'Webhook Historical Messages',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-pilot-status",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "n8n node for Pilot Status API",
5
5
  "keywords": [
6
6
  "n8ncommunity",