@wraps.dev/cli 3.8.0 → 3.9.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/dist/cli.js CHANGED
@@ -37392,6 +37392,11 @@ function buildConsolePolicyDocument(emailConfig, smsConfig) {
37392
37392
  // SES v2 API for listing/getting email identities (domains)
37393
37393
  "ses:ListEmailIdentities",
37394
37394
  "ses:GetEmailIdentity",
37395
+ // Write, deliberately. verifyOwnEmailIdentity in
37396
+ // apps/web/src/actions/ses-onboarding.ts creates the operator's own
37397
+ // address as an SES identity so a sandboxed account can complete a
37398
+ // real first send. This is the ONLY identity write the role grants.
37399
+ "ses:CreateEmailIdentity",
37395
37400
  // SES v2 API for configuration set scanning (needed by dashboard).
37396
37401
  // List is what makes Get reachable — Get takes a name only List can find.
37397
37402
  "ses:ListConfigurationSets",
@@ -37442,6 +37447,18 @@ function buildConsolePolicyDocument(emailConfig, smsConfig) {
37442
37447
  Resource: "*"
37443
37448
  });
37444
37449
  }
37450
+ const suppressionList = emailConfig?.suppressionList;
37451
+ if (suppressionList?.enabled !== false) {
37452
+ statements.push({
37453
+ Effect: "Allow",
37454
+ Action: [
37455
+ "ses:ListSuppressedDestinations",
37456
+ "ses:GetSuppressedDestination",
37457
+ "ses:DeleteSuppressedDestination"
37458
+ ],
37459
+ Resource: "*"
37460
+ });
37461
+ }
37445
37462
  statements.push({
37446
37463
  Effect: "Allow",
37447
37464
  Action: [