@wraps.dev/cli 3.0.0 → 3.2.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 +8 -6
- package/dist/cli.js +15440 -14855
- package/dist/cli.js.map +1 -1
- package/dist/console/assets/index-Cv-QsoKP.css +1 -0
- package/dist/console/assets/index-D-ml23Id.js +127 -0
- package/dist/console/assets/{index-C6gZtoa3.js → index-OqgjYuh3.js} +1 -1
- package/dist/console/assets/{optimizer.worker-DZcD7Kza.js → optimizer.worker-Cjnw_FT2.js} +1 -1
- package/dist/console/assets/{webp_enc_simd-D5IXDjAy.js → webp_enc_simd-0PCv9qCn.js} +2 -2
- package/dist/console/index.html +2 -2
- package/dist/lambda/agent-enforcer/.bundled +1 -1
- package/dist/lambda/agent-enforcer/index.js +16 -3
- package/dist/lambda/event-processor/.bundled +1 -1
- package/dist/lambda/event-processor/index.js +16 -3
- package/dist/lambda/inbound-processor/.bundled +1 -1
- package/dist/lambda/inbound-processor/index.js +66 -53
- package/dist/lambda/sms-event-processor/.bundled +1 -1
- package/dist/lambda/sms-event-processor/index.js +16 -3
- package/package.json +8 -7
- package/dist/console/assets/index--39O8UcT.js +0 -127
- package/dist/console/assets/index-D6au_OkL.css +0 -1
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.
|