elasticio-sailor-nodejs 2.7.1 → 2.7.2-dev.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.
package/.nsprc CHANGED
@@ -2,5 +2,17 @@
2
2
  "GHSA-wc69-rhjr-hc9g": {
3
3
  "active": true,
4
4
  "notes": "Bunyan library set only new Date to momentjs as parameter"
5
- }
5
+ },
6
+ "GHSA-f8q6-p94x-37v3": {
7
+ "active": true,
8
+ "notes": "braceExpand is not used in rimraf"
9
+ },
10
+ "GHSA-hrpp-h998-j3pp": {
11
+ "active": true,
12
+ "notes": "There is no query-string user input in sailor"
13
+ },
14
+ "GHSA-27h2-hvpr-p74q": {
15
+ "active": true,
16
+ "notes": "The vulnerability is in maester-client. Maester-client doesn't use jwt.verify function."
17
+ }
6
18
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 2.7.2 (March 15, 2024)
2
+
3
+ * @elastic.io/maester-client updated to 5.0.2 ([#206](https://github.com/elasticio/sailor-nodejs/issues/206))
4
+
5
+ ## 2.7.1 (October 20, 2022)
6
+
7
+ * Replaced `object-storage-client` with `maester-client`
8
+
1
9
  ## 2.7.0 (September 15, 2022)
2
10
 
3
11
  * Add AMQP_PERSISTENT_MESSAGES configuration env var to enable persistent delivery mode.
@@ -142,3 +150,4 @@
142
150
  ## 2.3.0 (October 19, 2018)
143
151
 
144
152
  * Sailor now handles RabbitMQ disconnects correctly
153
+
package/lib/sailor.js CHANGED
@@ -292,7 +292,7 @@ class Sailor {
292
292
  logger.info('Successfully obtained message body.', { objectId });
293
293
  logger.trace('Message body object received');
294
294
 
295
- return object;
295
+ return object.data;
296
296
  }
297
297
 
298
298
  uploadMessageBody(bodyBuf) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "elasticio-sailor-nodejs",
3
3
  "description": "The official elastic.io library for bootstrapping and executing for Node.js connectors",
4
- "version": "2.7.1",
4
+ "version": "2.7.2-dev.1",
5
5
  "main": "run.js",
6
6
  "scripts": {
7
7
  "audit": "better-npm-audit audit --level high --production",
@@ -16,7 +16,7 @@
16
16
  "node": ">=12.13.0"
17
17
  },
18
18
  "dependencies": {
19
- "@elastic.io/maester-client": "4.0.3",
19
+ "@elastic.io/maester-client": "^5.0.2-dev.3",
20
20
  "amqplib": "0.8.0",
21
21
  "bunyan": "1.8.10",
22
22
  "co": "4.6.0",