@befaas/lib
Advanced tools
Comparing version 8.6.2 to 8.7.0
@@ -1,7 +0,6 @@ | ||
## 8.6.2 (2022-04-25) | ||
## 8.7.0 (2022-04-25) | ||
#### Bug Fixes | ||
#### Feature | ||
* get string value of message attribute (II) (e177234e) | ||
* get string value of message attribute (56f50888) | ||
* log event and context (76f3d355) | ||
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "8.6.2" | ||
"version": "8.7.0" | ||
} |
@@ -59,2 +59,4 @@ const _ = require('lodash') | ||
function logEventAndAttachContext (ctx, event, dbBindToMeasure) { | ||
console.log("ctxEntry: \n" + JSON.stringify(ctx, null, 2)); | ||
console.log("eventEntry: \n" + JSON.stringify(event, null, 2)); | ||
const contextId = event.Records[0].Sns.MessageAttributes.contextId.get('StringValue') || helper.generateRandomID() | ||
@@ -61,0 +63,0 @@ const xPair = event.Records[0].Sns.MessageAttributes.xPair.get('StringValue') || 'undefined-x-pair' |
55109873
425