lambda-toolkit 0.0.10-beta → 0.0.11-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.
- package/dist/index.js +3 -3
- 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,
|
|
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
|
|