@beignet/provider-mail-resend 0.0.32 → 0.0.33

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @beignet/provider-mail-resend
2
2
 
3
+ ## 0.0.33
4
+
5
+ ### Patch Changes
6
+
7
+ - 92af951: Document and test the provider resilience baseline: mail providers fail fast
8
+ without provider-owned retries, while S3 delegates bounded retries to the AWS
9
+ SDK or caller-owned injected clients.
10
+
3
11
  ## 0.0.32
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -115,9 +115,10 @@ When `ctx.ports.devtools` is installed, this provider records `mail.send`,
115
115
 
116
116
  ## Failure and retry semantics
117
117
 
118
- The provider fails fast and does not retry. Mail delivery is not idempotent: a
119
- timed-out send may still have been delivered, so a blind provider retry risks
120
- duplicate emails.
118
+ The provider fails fast and does not retry. Each `send(...)` call makes one
119
+ Resend SDK call, even for transient network errors or provider-side failures.
120
+ Mail delivery is not idempotent: a timed-out send may still have been
121
+ delivered, so a blind provider retry risks duplicate emails.
121
122
 
122
123
  Delivery failures throw `MailDeliveryError` from `@beignet/core/mail` with the
123
124
  provider name, the recipient count, and the original Resend error preserved as
@@ -125,8 +126,9 @@ provider name, the recipient count, and the original Resend error preserved as
125
126
  configuration problems throw during provider setup.
126
127
 
127
128
  When mail needs retries, dispatch it from a job or an outbox-backed listener
128
- and own idempotency there, for example by recording one delivery per business
129
- event before sending.
129
+ and own idempotency there. The job or outbox row should choose attempts and
130
+ delay, and the application should record one delivery per business event before
131
+ sending.
130
132
 
131
133
  ## Local and tests
132
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beignet/provider-mail-resend",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "description": "Resend mail provider for Beignet - adds mailer port using Resend",
6
6
  "main": "./dist/index.js",