serverless-plugin-module-registry 1.0.14 → 1.0.15
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16376,7 +16376,7 @@ var DynamoDBManager = class {
|
|
|
16376
16376
|
const requestItems = {
|
|
16377
16377
|
[this.config.tableName]: batch.map((op) => {
|
|
16378
16378
|
if (op.operation === "put") {
|
|
16379
|
-
return { PutRequest: { Item: (0, import_util_dynamodb.marshall)(op.item) } };
|
|
16379
|
+
return { PutRequest: { Item: (0, import_util_dynamodb.marshall)(op.item, { removeUndefinedValues: true }) } };
|
|
16380
16380
|
} else {
|
|
16381
16381
|
return { DeleteRequest: { Key: (0, import_util_dynamodb.marshall)({ pk: op.item.pk, sk: op.item.sk }) } };
|
|
16382
16382
|
}
|