@bernierllc/nevarmail 0.25.0 → 0.27.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +26 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -531,6 +531,32 @@ export interface Domain {
531
531
  }[];
532
532
  mxStatus?: string;
533
533
  mxRecords?: DnsRecord[];
534
+ /**
535
+ * DMARC on the domain, refreshed on every verification check. Providers never
536
+ * verify DMARC, so a domain can be verified with none. `published`: the
537
+ * domain's own record (keep it; never add a second). `conflict`: more than
538
+ * one DMARC record at `host`, so receivers ignore all of them; remove all but
539
+ * one (`value` is the first). `inherited`: covered by
540
+ * its organizational domain's record. `missing`: add `value` at `host`.
541
+ * `unchecked`: not looked up yet; `value` is the recommended record.
542
+ */
543
+ dmarc: DomainDmarc;
544
+ }
545
+ export interface DomainDmarc {
546
+ status: "published" | "conflict" | "inherited" | "missing" | "unchecked";
547
+ /** Where the record lives, or should be added (`_dmarc.<domain>`). */
548
+ host: string;
549
+ /**
550
+ * The record found, or the recommended `v=DMARC1; p=none;` (with
551
+ * `rua=mailto:<reportAddress>;` when a report address is set).
552
+ */
553
+ value: string;
554
+ checkedAt: string | null;
555
+ /**
556
+ * The mailbox the org chose for DMARC aggregate reports, or null. Only a
557
+ * recommended record carries it; a published record is never rewritten.
558
+ */
559
+ reportAddress: string | null;
534
560
  }
535
561
  export interface DomainDnsRecords {
536
562
  domainId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bernierllc/nevarmail",
3
- "version": "0.25.0",
3
+ "version": "0.27.0",
4
4
  "description": "Official client for the NevarMail v1 API. Typed, retries 429/5xx, throws NevarMailError on every non-2xx.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",