@wraps.dev/cli 2.14.8 → 2.15.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.
@@ -165,9 +165,14 @@ export async function handler(event: S3Event, context: Context) {
165
165
  }
166
166
  : { address: "", name: "" };
167
167
 
168
+ // Derive receiving domain from first to: address
169
+ const receivingDomain =
170
+ toAddresses[0]?.address?.split("@")[1] || null;
171
+
168
172
  const parsedEmail = {
169
173
  emailId,
170
174
  messageId: parsed.messageId || s3Key.replace("raw/", ""),
175
+ receivingDomain,
171
176
  from: fromAddress,
172
177
  to: toAddresses,
173
178
  cc: parsed.cc
@@ -1 +1 @@
1
- Built at: 2026-02-24T19:15:44.636Z
1
+ Built at: 2026-02-24T21:09:06.583Z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wraps.dev/cli",
3
- "version": "2.14.8",
3
+ "version": "2.15.0",
4
4
  "description": "CLI for deploying Wraps email infrastructure to your AWS account",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",