elasticio-sailor-nodejs 3.0.0-sailor-proxy-dev11 → 3.0.0-sailor-proxy-dev12

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.
@@ -514,7 +514,7 @@ class ProxyClient {
514
514
  preparedData,
515
515
  preparedMetadata: _.omitBy(
516
516
  preparedMetadata,
517
- (value, key) => key.toLowerCase().startsWith(AMQP_HEADER_META_PREFIX)
517
+ (value, key) => key.toLowerCase() === HEADER_ROUTING_KEY
518
518
  )
519
519
  };
520
520
  }
@@ -545,6 +545,7 @@ class ProxyClient {
545
545
  log.error(error);
546
546
  throw error;
547
547
  }
548
+ log.debug({ preparedMetadata, preparedDataSize: preparedData.length }, 'Prepared message for sending to proxy');
548
549
 
549
550
  const queryParams = new URLSearchParams({
550
551
  incomingMessageId,
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": "3.0.0-sailor-proxy-dev11",
4
+ "version": "3.0.0-sailor-proxy-dev12",
5
5
  "main": "run.js",
6
6
  "scripts": {
7
7
  "build": "tsc",