@ejfdelgado/ejflab-common 1.11.0 → 1.11.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ejfdelgado/ejflab-common",
3
3
  "type": "commonjs",
4
- "version": "1.11.0",
4
+ "version": "1.11.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ejfdelgado/ejflab-common.git"
@@ -128,8 +128,8 @@ class MyConstants {
128
128
  MyConstants.BUCKET.PRIVATE = process.env.BUCKET_PRIVATE;
129
129
 
130
130
  console.log(`EMAIL_SENDER=${MyConstants.EMAIL_SENDER}`);
131
- console.log(`BUCKET_PUBLIC=${MyConstants.BUCKET_PUBLIC}`);
132
- console.log(`BUCKET_PRIVATE=${MyConstants.BUCKET_PRIVATE}`);
131
+ console.log(`BUCKET_PUBLIC=${MyConstants.BUCKET.PUBLIC}`);
132
+ console.log(`BUCKET_PRIVATE=${MyConstants.BUCKET.PRIVATE}`);
133
133
  }
134
134
  }
135
135
 
@@ -154,7 +154,9 @@ class StepProcess extends StepBasic {
154
154
  };
155
155
  const encoded = encode(payload);
156
156
  const buffer = Buffer.from(encoded);
157
- const postResponse = await axios.post(`${postUrl}/process`, buffer, options);
157
+ const processorUrl = `${postUrl}/process`;
158
+ console.log(`Calling POST processor at ${processorUrl} with ${buffer.length} bytes`);
159
+ const postResponse = await axios.post(processorUrl, buffer, options);
158
160
  } else {
159
161
  console.log("No channel configuration found!");
160
162
  return false;