lambda-toolkit 0.0.10-beta → 0.0.12-beta

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1123,10 +1123,10 @@ module.exports = async ( client, queue, messages ) => {
1123
1123
  }
1124
1124
  const response = await client.send( new SendMessageBatchCommand( {
1125
1125
  QueueUrl: queue,
1126
- Entries: messages.map( ( { body, id = null, ...args }, index ) => ( {
1127
- ...args,
1126
+ Entries: messages.map( ( { body, id = null, nativeArgs }, index ) => ( {
1128
1127
  Id: id ?? `message_${index}`,
1129
- MessageBody: sanitizeSqs( typeof body === 'string' ? body : JSON.stringify( body ) )
1128
+ MessageBody: sanitizeSqs( typeof body === 'string' ? body : JSON.stringify( body ) ),
1129
+ ...nativeArgs
1130
1130
  } ) )
1131
1131
  } ) );
1132
1132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambda-toolkit",
3
- "version": "0.0.10-beta",
3
+ "version": "0.0.12-beta",
4
4
  "description": "A set of tools to help and simplify Node Js code development for AWS Lambdas",
5
5
  "files": [
6
6
  "./license",