@wraps.dev/cli 2.2.7 → 2.2.8

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/cli.js CHANGED
@@ -147,7 +147,7 @@ var require_package = __commonJS({
147
147
  "package.json"(exports, module) {
148
148
  module.exports = {
149
149
  name: "@wraps.dev/cli",
150
- version: "2.2.7",
150
+ version: "2.2.8",
151
151
  description: "CLI for deploying Wraps email infrastructure to your AWS account",
152
152
  type: "module",
153
153
  main: "./dist/cli.js",
@@ -3383,8 +3383,8 @@ async function deployLambdaFunctions(config2) {
3383
3383
  handler: "index.handler",
3384
3384
  role: lambdaRole.arn,
3385
3385
  code: new pulumi11.asset.FileArchive(eventProcessorCode),
3386
- timeout: 300,
3387
- // 5 minutes (matches SQS visibility timeout)
3386
+ timeout: 30,
3387
+ // Lambda just parses JSON and writes to DynamoDB
3388
3388
  memorySize: 512,
3389
3389
  environment: lambdaEnvironment,
3390
3390
  tags: {
@@ -3402,8 +3402,8 @@ async function deployLambdaFunctions(config2) {
3402
3402
  handler: "index.handler",
3403
3403
  role: lambdaRole.arn,
3404
3404
  code: new pulumi11.asset.FileArchive(eventProcessorCode),
3405
- timeout: 300,
3406
- // 5 minutes (matches SQS visibility timeout)
3405
+ timeout: 30,
3406
+ // Lambda just parses JSON and writes to DynamoDB
3407
3407
  memorySize: 512,
3408
3408
  environment: lambdaEnvironment,
3409
3409
  tags: {
@@ -12298,8 +12298,8 @@ async function createSQSResources() {
12298
12298
  });
12299
12299
  const queue = new aws10.sqs.Queue("wraps-email-events", {
12300
12300
  name: "wraps-email-events",
12301
- visibilityTimeoutSeconds: 300,
12302
- // 5 minutes (Lambda timeout)
12301
+ visibilityTimeoutSeconds: 60,
12302
+ // Must be >= Lambda timeout
12303
12303
  messageRetentionSeconds: 345600,
12304
12304
  // 4 days
12305
12305
  receiveWaitTimeSeconds: 20,