@bernierllc/nevarmail 0.25.0 → 0.26.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 +18 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -531,6 +531,24 @@ 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
+ /** The record found, or the recommended `v=DMARC1; p=none;`. */
550
+ value: string;
551
+ checkedAt: string | null;
534
552
  }
535
553
  export interface DomainDnsRecords {
536
554
  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.26.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",