n8n-nodes-postwire 0.2.1 → 0.2.2
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.
|
@@ -51,7 +51,7 @@ class PostWire {
|
|
|
51
51
|
name: 'Get Account',
|
|
52
52
|
value: 'me',
|
|
53
53
|
description: 'Plan, usage this month and connected accounts',
|
|
54
|
-
action: 'Get
|
|
54
|
+
action: 'Get account',
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
name: 'Publish',
|
|
@@ -293,8 +293,9 @@ class PostWire {
|
|
|
293
293
|
// Our own checks already throw NodeOperationError with a message that names the fix;
|
|
294
294
|
// re-wrapping those would bury it. Anything else is an HTTP failure, and n8n renders
|
|
295
295
|
// a NodeApiError with the node's context instead of a bare fetch stack.
|
|
296
|
-
if (error instanceof n8n_workflow_1.NodeOperationError)
|
|
297
|
-
throw error;
|
|
296
|
+
if (error instanceof n8n_workflow_1.NodeOperationError) {
|
|
297
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error.message, { itemIndex: i });
|
|
298
|
+
}
|
|
298
299
|
throw new n8n_workflow_1.NodeApiError(this.getNode(), error, { itemIndex: i });
|
|
299
300
|
}
|
|
300
301
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-postwire",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Publish one idea natively to TikTok, Instagram, YouTube, LinkedIn, X, Bluesky, Mastodon, Telegram, Discord and Reddit from n8n — a different post written for each network, via PostWire.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|