@wraps.dev/cli 2.14.8 → 2.15.1

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,13 @@ 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 = toAddresses[0]?.address?.split("@")[1] || null;
170
+
168
171
  const parsedEmail = {
169
172
  emailId,
170
173
  messageId: parsed.messageId || s3Key.replace("raw/", ""),
174
+ receivingDomain,
171
175
  from: fromAddress,
172
176
  to: toAddresses,
173
177
  cc: parsed.cc
@@ -1 +1 @@
1
- Built at: 2026-02-24T19:15:44.636Z
1
+ Built at: 2026-02-24T23:11:32.964Z
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.1",
4
4
  "description": "CLI for deploying Wraps email infrastructure to your AWS account",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",