n8n-nodes-signal-cli-rest-api 0.6.0 → 0.6.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.
@@ -58,6 +58,18 @@ class Signal {
58
58
  description: 'Remove a reaction from a message',
59
59
  action: 'Remove a reaction',
60
60
  },
61
+ {
62
+ name: 'Messages: Start Typing',
63
+ value: 'startTyping',
64
+ description: 'Show typing indicator to recipient',
65
+ action: 'Start typing indicator',
66
+ },
67
+ {
68
+ name: 'Messages: Stop Typing',
69
+ value: 'stopTyping',
70
+ description: 'Stop showing typing indicator to recipient',
71
+ action: 'Stop typing indicator',
72
+ },
61
73
  {
62
74
  name: 'Attachments: List Attachments',
63
75
  value: 'listAttachments',
@@ -108,11 +120,11 @@ class Signal {
108
120
  type: 'string',
109
121
  default: '',
110
122
  placeholder: '+1234567890 or groupId',
111
- description: 'Phone number or group ID to send the message, attachment, or reaction to',
123
+ description: 'Phone number or group ID to send the message, attachment, reaction, or typing indicator to',
112
124
  required: true,
113
125
  displayOptions: {
114
126
  show: {
115
- operation: ['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction'],
127
+ operation: ['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction', 'startTyping', 'stopTyping'],
116
128
  },
117
129
  },
118
130
  },
@@ -260,7 +272,7 @@ class Signal {
260
272
  description: 'Request timeout in seconds (set higher for Get Groups, e.g., 300)',
261
273
  displayOptions: {
262
274
  show: {
263
- operation: ['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction', 'getContacts', 'getGroups', 'createGroup', 'updateGroup', 'listAttachments', 'downloadAttachment', 'removeAttachment'],
275
+ operation: ['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction', 'startTyping', 'stopTyping', 'getContacts', 'getGroups', 'createGroup', 'updateGroup', 'listAttachments', 'downloadAttachment', 'removeAttachment'],
264
276
  },
265
277
  },
266
278
  typeOptions: {
@@ -301,7 +313,7 @@ class Signal {
301
313
  };
302
314
  try {
303
315
  let result;
304
- if (['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction'].includes(operation)) {
316
+ if (['sendMessage', 'sendAttachment', 'sendReaction', 'removeReaction', 'startTyping', 'stopTyping'].includes(operation)) {
305
317
  result = await messages_1.executeMessagesOperation.call(this, operation, i, params);
306
318
  }
307
319
  else if (['listAttachments', 'downloadAttachment', 'removeAttachment'].includes(operation)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-signal-cli-rest-api",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Signal Node for n8n using signal-cli-rest-api",
5
5
  "repository": {
6
6
  "type": "git",