Skip to content

Commit 0701458

Browse files
authored
sailor-nodejs: 2.6.24 (#9)
* Update sailor version to 2.6.24 * npm audit-level= high --> critical
1 parent 1627620 commit 0701458

File tree

6 files changed

+96
-54
lines changed

6 files changed

+96
-54
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
key: dependency-cache-{{ checksum "package.json" }}
1010
- run:
1111
name: Audit Dependencies
12-
command: npm audit --audit-level=high
12+
command: npm audit --audit-level=critical
1313
- run:
1414
name: Installing Dependencies
1515
command: npm install

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.4 (February 12, 2021)
2+
3+
* Update sailor version to 2.6.24
4+
15
## 2.0.3 (November 18, 2020)
26

37
* Fix fields dependencies from sobject field in component.json, [issue 5](https://github.com/elasticio/salesforce-component-v2/issues/5)

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ The component uses Salesforce - API Version 46.0 by defaults but can be overwrit
3838
### Environment variables
3939
Name|Mandatory|Description|Values|
4040
|----|---------|-----------|------|
41-
|LOG_LEVEL| false | Controls logger level | `trace`, `debug`, `info`, `warn`, `error` |
4241
|SALESFORCE_API_VERSION| false | Determines API version of Salesforce to use | Default: `46.0` |
4342
|REFRESH_TOKEN_RETRIES| false | Determines how many retries to refresh token should be done before throwing an error | Default: `10` |
4443
|HASH_LIMIT_TIME| false | Hash expiration time in ms | Default: `600000` |
@@ -220,9 +219,11 @@ Metadata contains one field whose name, type and mandatoriness are generated acc
220219
Output metadata is the same as input metadata, so you may expect all fields that you mapped as input to be returned as output.
221220

222221
#### Limitations
223-
When a binary field (primitive type `base64`, e.g. Documents, Attachments, etc) is selected on **Include linked objects**, an error will be thrown: 'MALFORMED_QUERY: Binary fields cannot be selected in join queries. Instead of querying objects with binary fields as linked objects (such as children Attachments), try querying them directly.' There is also a limit to the number of linked objects that you can query at once - beyond two or three, depending on the number of fields in the linked objects, Salesforce could potentially return a Status Code 431 or 414 error, meaning the query is too long. Finally, due to a bug with multiselect dropdowns, it is recommended to deselect all of the elements in this field before you change your selection in the *Object* dropdown list.
222+
1. When a binary field (primitive type `base64`, e.g. Documents, Attachments, etc) is selected on **Include linked objects**, an error will be thrown: `MALFORMED_QUERY: Binary fields cannot be selected in join queries. Instead of querying objects with binary fields as linked objects (such as children Attachments), try querying them directly.`
223+
There is also a limit to the number of linked objects that you can query at once - beyond two or three, depending on the number of fields in the linked objects, Salesforce could potentially return a Status Code 431 or 414 error, meaning the query is too long. Finally, due to a bug with multiselect dropdowns, it is recommended to deselect all of the elements in this field before you change your selection in the *Object* dropdown list.
224224

225-
When **Pass binary data to the next component (if found object has it)** is checked and this action is used with Local Agent, an error will be thrown: 'getaddrinfo ENOTFOUND steward-service.platform.svc.cluster.local steward-service.platform.svc.cluster.local:8200'
225+
2. Not supported object lookup when selected field value is `null`
226+
3. When **Pass binary data to the next component (if found object has it)** is checked and this action is used with Local Agent, an error will be thrown: 'getaddrinfo ENOTFOUND steward-service.platform.svc.cluster.local steward-service.platform.svc.cluster.local:8200'
226227

227228
#### Note
228229
Action has caching mechanism. By default action stores last 10 request-response pairs for 10 min duration.
@@ -312,4 +313,4 @@ Output metadata is the same as input metadata, so you may expect all fields that
312313
When **Utilize data attachment from previous step (for objects with a binary field)** is checked and this action is used with Local Agent error would be thrown: 'getaddrinfo ENOTFOUND steward-service.platform.svc.cluster.local steward-service.platform.svc.cluster.local:8200'
313314

314315
## Known limitations
315-
Attachments mechanism does not work with [Local Agent Installation](https://support.elastic.io/support/solutions/articles/14000076461-announcing-the-local-agent-)
316+
Attachments mechanism does not work with [Local Agent Installation](https://docs.elastic.io/getting-started/local-agent.html)

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
},
327327
"passBinaryData": {
328328
"viewClass": "CheckBoxView",
329-
"label": "Pass binary data to the next component (if found object has it)",
329+
"label": "Pass binary data to the next step (if found object has it)",
330330
"order": 2
331331
},
332332
"enableCacheUsage": {

package-lock.json

Lines changed: 82 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "salesforce-component-v2",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "elastic.io component that connects to Salesforce API (node.js) v2",
55
"main": "index.js",
66
"scripts": {
@@ -24,13 +24,13 @@
2424
},
2525
"homepage": "https://github.com/elasticio/salesforce-component#readme",
2626
"engines": {
27-
"node": "12.18.2"
27+
"node": ">=12.18.2"
2828
},
2929
"dependencies": {
3030
"axios": "0.20.0",
3131
"elasticio-node": "0.0.9",
3232
"elasticio-rest-node": "1.2.6",
33-
"elasticio-sailor-nodejs": "2.6.18",
33+
"elasticio-sailor-nodejs": "2.6.24",
3434
"jsforce": "1.10.0",
3535
"mime-types": "2.1.27",
3636
"request": "2.88.2",

0 commit comments

Comments
 (0)