@befaas/lib
Advanced tools
Comparing version 8.7.0 to 8.7.1
@@ -1,6 +0,6 @@ | ||
## 8.7.0 (2022-04-25) | ||
## 8.7.1 (2022-04-25) | ||
#### Feature | ||
#### Bug Fixes | ||
* log event and context (76f3d355) | ||
* get 'Value' (facf36ad) | ||
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "8.7.0" | ||
"version": "8.7.1" | ||
} |
@@ -61,4 +61,4 @@ const _ = require('lodash') | ||
console.log("eventEntry: \n" + JSON.stringify(event, null, 2)); | ||
const contextId = event.Records[0].Sns.MessageAttributes.contextId.get('StringValue') || helper.generateRandomID() | ||
const xPair = event.Records[0].Sns.MessageAttributes.xPair.get('StringValue') || 'undefined-x-pair' | ||
const contextId = event.Records[0].Sns.MessageAttributes.contextId.get('Value') || helper.generateRandomID() | ||
const xPair = event.Records[0].Sns.MessageAttributes.xPair.get('Value') || 'undefined-x-pair' | ||
@@ -65,0 +65,0 @@ ctx.contextId = contextId |
55109853