@masters-union/outbound-sdk 0.4.11 → 0.4.12

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/index.d.mts CHANGED
@@ -546,8 +546,16 @@ interface WebhookEventDetails {
546
546
  bounceType?: string | null;
547
547
  bounceSubType?: string | null;
548
548
  smtpStatus?: string | null;
549
+ /**
550
+ * The receiving mail server's own diagnostic, with infrastructure-provider branding
551
+ * and provider documentation links removed. Display text, not a stable key.
552
+ */
549
553
  diagnosticCode?: string | null;
550
- /** bounce / reject / rendering_failure / dropped (dropped carries the drop reason) */
554
+ /**
555
+ * bounce / reject / rendering_failure / dropped (dropped carries the drop reason).
556
+ * A stable Outbound sentence for known bounce subtypes, otherwise the remote
557
+ * diagnostic. Branch on `bounceType`/`bounceSubType`/`smtpStatus`, not on this.
558
+ */
551
559
  failedReason?: string | null;
552
560
  /** bounce / complaint — true when we auto-added the address to the suppression list */
553
561
  suppressed?: boolean;
package/dist/index.d.ts CHANGED
@@ -546,8 +546,16 @@ interface WebhookEventDetails {
546
546
  bounceType?: string | null;
547
547
  bounceSubType?: string | null;
548
548
  smtpStatus?: string | null;
549
+ /**
550
+ * The receiving mail server's own diagnostic, with infrastructure-provider branding
551
+ * and provider documentation links removed. Display text, not a stable key.
552
+ */
549
553
  diagnosticCode?: string | null;
550
- /** bounce / reject / rendering_failure / dropped (dropped carries the drop reason) */
554
+ /**
555
+ * bounce / reject / rendering_failure / dropped (dropped carries the drop reason).
556
+ * A stable Outbound sentence for known bounce subtypes, otherwise the remote
557
+ * diagnostic. Branch on `bounceType`/`bounceSubType`/`smtpStatus`, not on this.
558
+ */
551
559
  failedReason?: string | null;
552
560
  /** bounce / complaint — true when we auto-added the address to the suppression list */
553
561
  suppressed?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masters-union/outbound-sdk",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "Official Node.js SDK for the Outbound Email SaaS platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",