@wraps.dev/cli 3.0.0 → 3.1.0

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/README.md CHANGED
@@ -431,13 +431,12 @@ The CLI offers four presets that control which AWS resources are created:
431
431
  - Everything in Starter
432
432
  - EventBridge → SQS → Lambda pipeline
433
433
  - DynamoDB table with 90-day TTL
434
- - Tracks: SEND, DELIVERY, OPEN, CLICK, BOUNCE, COMPLAINT
434
+ - Tracks all 10 registered SES event types: SEND, DELIVERY, OPEN, CLICK, BOUNCE, COMPLAINT, REJECT, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION
435
435
 
436
436
  ### Enterprise (~$50-100/mo)
437
437
  - Everything in Production
438
438
  - Dedicated IP address ($24.95/mo from AWS)
439
- - 1-year DynamoDB TTL
440
- - All 10 SES event types (adds REJECT, RENDERING_FAILURE, DELIVERY_DELAY, SUBSCRIPTION)
439
+ - 1-year DynamoDB TTL (Production's is 90 days; event-type coverage is the same as Production)
441
440
 
442
441
  ### Custom
443
442
  Select individual features. Useful if you want event storage without a dedicated IP, or specific event types only.
@@ -687,8 +686,6 @@ packages/cli/
687
686
  │ │ ├── smtp-credentials.ts
688
687
  │ │ └── alerting.ts # CloudWatch alerting
689
688
  │ ├── console/ # Web dashboard (React)
690
- │ ├── lambda/ # Lambda function source
691
- │ │ └── event-processor/ # SQS → DynamoDB processor
692
689
  │ ├── utils/ # Utilities
693
690
  │ │ ├── shared/ # Shared utilities
694
691
  │ │ │ ├── aws.ts # AWS SDK helpers
@@ -707,12 +704,17 @@ packages/cli/
707
704
  │ ├── shared.ts # Shared types
708
705
  │ ├── email.ts # Email-specific types
709
706
  │ └── sms.ts # SMS-specific types
710
- ├── lambda/ # Lambda source (bundled to dist)
711
707
  └── dist/ # Build output
712
708
  ├── console/ # Built dashboard
713
709
  └── lambda/ # Lambda source for deployment
714
710
  ```
715
711
 
712
+ Lambda function source (`event-processor`, `sms-event-processor`, `inbound-processor`,
713
+ `agent-enforcer`) lives in the sibling `packages/core/lambda/` package, not in this one.
714
+ `scripts/build-lambda.ts` copies the built output into `dist/lambda/` above during
715
+ `pnpm build`; `infrastructure/resources/lambda.ts` reads from there (or from `packages/core/lambda/`
716
+ directly in local dev — see `getLambdaCode()`).
717
+
716
718
  ## AWS Permissions
717
719
 
718
720
  Wraps needs specific IAM permissions to deploy and manage infrastructure in your AWS account. Use the `wraps permissions` command to see exactly what's required.