@finlight/n8n-nodes-finlight 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.
@@ -111,12 +111,22 @@ class FinlightWebhookTrigger {
111
111
  output.content = payload.content;
112
112
  if (payload.sentiment)
113
113
  output.sentiment = payload.sentiment;
114
- if (payload.confidence)
114
+ if (payload.confidence !== undefined)
115
115
  output.confidence = payload.confidence;
116
116
  if (payload.images?.length)
117
117
  output.images = payload.images;
118
118
  if (payload.companies?.length)
119
119
  output.companies = payload.companies;
120
+ if (payload.createdAt)
121
+ output.createdAt = payload.createdAt;
122
+ if (payload.categories?.length)
123
+ output.categories = payload.categories;
124
+ if (payload.countries?.length)
125
+ output.countries = payload.countries;
126
+ if (payload.isUpdate !== undefined)
127
+ output.isUpdate = payload.isUpdate;
128
+ if (payload.revisedDate)
129
+ output.revisedDate = payload.revisedDate;
120
130
  return {
121
131
  workflowData: [[{ json: output }]],
122
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finlight/n8n-nodes-finlight",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Official n8n integration for finlight: real-time finance and news API",
5
5
  "author": {
6
6
  "name": "Ali Büyükkakac",