@samva/email-sdk 0.9.0 → 0.10.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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Provider-owned Samva community adapter for
4
4
  [Email SDK](https://email-sdk.dev). It targets `@opencoredev/email-sdk@^1.1.0`
5
- and `samva@^0.23.0`.
5
+ and `samva@^0.25.0`.
6
6
 
7
7
  This adapter is maintained by Samva as a community integration; it is not an
8
8
  official built-in Email SDK adapter.
@@ -84,6 +84,10 @@ Successful sends return `{ adapter: "samva", id, raw }`. `raw` is the Samva
84
84
  `MessageReceipt`, including its wait reason and skipped recipients. A queued
85
85
  receipt is not a final delivery claim.
86
86
 
87
+ `FromAddressRequiredError` is reported as `delivery: "not_sent"` and is not
88
+ retryable. Configure a default sender or pass an explicit `from`; fallback can
89
+ then follow Email SDK's policy for a known rejection.
90
+
87
91
  Unsupported or lossy input throws `EmailValidationError` without calling
88
92
  Samva. API and transport failures become a redacted `EmailAdapterError` with
89
93
  status and `x-request-id` when available. Retryability is enabled for statuses
package/dist/index.mjs CHANGED
@@ -7,6 +7,7 @@ const knownNotSentTags = /* @__PURE__ */ new Set([
7
7
  "EmailChannelError",
8
8
  "FlagDisabledError",
9
9
  "ForbiddenError",
10
+ "FromAddressRequiredError",
10
11
  "OnboardingReviewRequiredError",
11
12
  "PaymentRequiredError",
12
13
  "RateLimitedError",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samva/email-sdk",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Samva community adapter for Email SDK.",
5
5
  "keywords": [
6
6
  "email",
@@ -47,11 +47,11 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@opencoredev/email-sdk": "^1.1.0",
50
- "samva": "0.23.0"
50
+ "samva": "0.25.0"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@opencoredev/email-sdk": "^1.1.0",
54
- "samva": "^0.23.0"
54
+ "samva": "^0.25.0"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=22"