serverless-plugin-module-registry 1.0.14 → 1.0.16
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
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
|
}
|
|
@@ -17829,6 +17829,9 @@ async function deployInternalInfrastructure(config, logger) {
|
|
|
17829
17829
|
}
|
|
17830
17830
|
const infraDir = getInfrastructureDir();
|
|
17831
17831
|
const accountId = process.env.AWS_ACCOUNT_ID || "";
|
|
17832
|
+
if (accountId) {
|
|
17833
|
+
process.env.SLS_DEPLOYMENT_BUCKET = `${accountId}-${region}-api-sls-bucket`;
|
|
17834
|
+
}
|
|
17832
17835
|
logger.info(" Executing Serverless Framework deployment...");
|
|
17833
17836
|
await runServerlessDeploy(infraDir, {
|
|
17834
17837
|
stage,
|