Skip to content

Commit da01def

Browse files
fix polling (#41)
* Bump dependencies
1 parent ffee521 commit da01def

File tree

4 files changed

+93
-72
lines changed

4 files changed

+93
-72
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.2.3 (April 14, 2022)
2+
* Bump dependencies
3+
14
## 2.2.2 (April 08, 2022)
25
* Implemented reconnect logic on errors
36
* Update Sailor version to 2.6.27

component.json

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"docsUrl": "https://github.com/elasticio/salesforce-component-v2",
55
"url": "http://www.salesforce.com/",
66
"buildType": "docker",
7-
"version": "2.2.2",
8-
"authClientTypes": ["oauth2"],
7+
"version": "2.2.3",
8+
"authClientTypes": [
9+
"oauth2"
10+
],
911
"envVars": {
1012
"SALESFORCE_API_VERSION": {
1113
"required": true,
@@ -34,7 +36,7 @@
3436
"title": "Get New and Updated Objects Polling",
3537
"main": "./lib/entry.js",
3638
"order": 99,
37-
"help" : {
39+
"help": {
3840
"description": "Will poll for existing and updated objects where you can select any custom or build-in object for your Salesforce instance",
3941
"link": "/components/salesforce/triggers#get-new-and-updated-objects-polling-trigger"
4042
},
@@ -52,7 +54,9 @@
5254
"label": "Include linked objects",
5355
"viewClass": "MultiSelectView",
5456
"required": false,
55-
"require": ["sobject"],
57+
"require": [
58+
"sobject"
59+
],
5660
"model": "linkedObjectTypes",
5761
"prompt": "Please select any linked objects that should be included in the query"
5862
},
@@ -111,7 +115,7 @@
111115
"main": "./lib/triggers/query.js",
112116
"type": "polling",
113117
"order": 98,
114-
"help" : {
118+
"help": {
115119
"description": "Will continuously run the same SOQL Query and emit results",
116120
"link": "/components/salesforce/triggers#query-trigger"
117121
},
@@ -139,7 +143,7 @@
139143
"streamPlatformEvents": {
140144
"title": "Subscribe to platform events (REALTIME FLOWS ONLY)",
141145
"order": 97,
142-
"help" : {
146+
"help": {
143147
"description": "Can be used for subscription to the specified in the configuration Platform Event object. Can be used only for Realtime flows",
144148
"link": "/components/salesforce/triggers#subscribe-to-platform-events-trigger"
145149
},
@@ -161,7 +165,7 @@
161165
"title": "Bulk Create/Update/Delete/Upsert",
162166
"main": "./lib/actions/bulk_cud.js",
163167
"order": 99,
164-
"help" : {
168+
"help": {
165169
"description": "Bulk operations on objects in CSV file",
166170
"link": "/components/salesforce/actions#bulk-createupdatedeleteupsert-action"
167171
},
@@ -170,7 +174,7 @@
170174
"viewClass": "SelectView",
171175
"label": "Operation",
172176
"required": true,
173-
"model": {
177+
"model": {
174178
"insert": "Create",
175179
"update": "Update",
176180
"delete": "Delete",
@@ -182,7 +186,9 @@
182186
"viewClass": "SelectView",
183187
"label": "Object",
184188
"required": true,
185-
"require": ["operation"],
189+
"require": [
190+
"operation"
191+
],
186192
"model": "objectTypes",
187193
"prompt": "Please select a Salesforce Object"
188194
},
@@ -200,7 +206,7 @@
200206
"title": "Bulk Query",
201207
"main": "./lib/actions/bulk_q.js",
202208
"order": 98,
203-
"help" : {
209+
"help": {
204210
"description": "Bulk query with the results in CSV file",
205211
"link": "/components/salesforce/actions#bulk-query-action"
206212
},
@@ -213,7 +219,7 @@
213219
"title": "Create Object",
214220
"main": "./lib/actions/createObject.js",
215221
"order": 97,
216-
"help" : {
222+
"help": {
217223
"description": "Creates new Selected Object",
218224
"link": "/components/salesforce/actions#create-object-action"
219225
},
@@ -236,7 +242,7 @@
236242
"title": "Delete Object (at most 1)",
237243
"main": "./lib/actions/deleteObject.js",
238244
"order": 96,
239-
"help" : {
245+
"help": {
240246
"description": "Delete Selected Object",
241247
"link": "/components/salesforce/actions#delete-object-action-at-most-1"
242248
},
@@ -263,7 +269,9 @@
263269
"viewClass": "SelectView",
264270
"label": "Lookup by field",
265271
"required": false,
266-
"require": ["sobject"],
272+
"require": [
273+
"sobject"
274+
],
267275
"model": "getLookupFieldsModel",
268276
"prompt": "Please select the field which you want to use for lookup. By default - Object ID"
269277
}
@@ -273,7 +281,7 @@
273281
"title": "Lookup Object (at most 1)",
274282
"main": "./lib/actions/lookupObject.js",
275283
"order": 95,
276-
"help" : {
284+
"help": {
277285
"description": "Lookup object (at most 1) by selected field",
278286
"link": "/components/salesforce/actions#lookup-object-action-at-most-1"
279287
},
@@ -302,14 +310,19 @@
302310
"viewClass": "SelectView",
303311
"label": "Lookup by field",
304312
"required": true,
305-
"require": ["sobject", "typeOfSearch"],
313+
"require": [
314+
"sobject",
315+
"typeOfSearch"
316+
],
306317
"model": "getLookupFieldsModel",
307318
"prompt": "Please select the field which you want to use for lookup",
308319
"order": 6
309320
},
310321
"linkedObjects": {
311322
"viewClass": "MultiSelectView",
312-
"require": ["sobject"],
323+
"require": [
324+
"sobject"
325+
],
313326
"label": "Include referenced objects",
314327
"model": "getLinkedObjectsModel",
315328
"order": 5,
@@ -341,7 +354,7 @@
341354
"title": "Lookup Objects",
342355
"main": "./lib/actions/lookupObjects.js",
343356
"order": 94,
344-
"help" : {
357+
"help": {
345358
"description": "Look for objects satisfying specified criteria",
346359
"link": "/components/salesforce/actions#lookup-objects-action"
347360
},
@@ -393,7 +406,7 @@
393406
"title": "Query",
394407
"main": "./lib/actions/query.js",
395408
"order": 93,
396-
"help" : {
409+
"help": {
397410
"description": "Executing an SOQL Query that may return many objects. Each resulting object is emitted one-by-one",
398411
"link": "/components/salesforce/actions#query-action"
399412
},
@@ -454,7 +467,7 @@
454467
"title": "Upsert Object",
455468
"main": "./lib/actions/upsert.js",
456469
"order": 50,
457-
"help" : {
470+
"help": {
458471
"description": "Create or Update Selected Object"
459472
},
460473
"dynamicMetadata": true,
@@ -483,8 +496,8 @@
483496
"title": "Upsert Object",
484497
"main": "./lib/actions/upsert_v2.js",
485498
"order": 90,
486-
"help" : {
487-
"description": "Create or Update seleced Object",
499+
"help": {
500+
"description": "Create or Update selected Object",
488501
"link": "/components/salesforce/actions#upsert-object-action"
489502
},
490503
"dynamicMetadata": true,
@@ -501,7 +514,9 @@
501514
"viewClass": "SelectView",
502515
"label": "Type Of Search",
503516
"required": true,
504-
"require": ["sobject"],
517+
"require": [
518+
"sobject"
519+
],
505520
"model": {
506521
"uniqueFields": "Unique Fields",
507522
"allFields": "All Fields"
@@ -513,12 +528,15 @@
513528
"viewClass": "SelectView",
514529
"label": "Lookup by field",
515530
"required": true,
516-
"require": ["sobject", "typeOfSearch"],
531+
"require": [
532+
"sobject",
533+
"typeOfSearch"
534+
],
517535
"model": "getLookupFieldsModel",
518536
"prompt": "Please select the field which you want to use for lookup",
519537
"order": 6
520538
}
521539
}
522540
}
523541
}
524-
}
542+
}

0 commit comments

Comments
 (0)