watchfor 0.12.1 → 0.13.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
@@ -65,7 +65,7 @@ await wf.contactGroups.delete("<group-id>", { force: true });
65
65
 
66
66
  ### Live diagnostics
67
67
 
68
- Run any of 22 checks from WatchFor's probe fleet against **any public
68
+ Run any of 23 checks from WatchFor's probe fleet against **any public
69
69
  target**, monitored or not — this measures right now, rather than reading
70
70
  what WatchFor recorded:
71
71
 
package/dist/schema.d.ts CHANGED
@@ -1334,6 +1334,7 @@ export interface components {
1334
1334
  | "redirect-chain"
1335
1335
  | "websocket-test"
1336
1336
  | "smtp-test"
1337
+ | "mail-server-check"
1337
1338
  | "ntp-test"
1338
1339
  | "email-health";
1339
1340
  label: string;
@@ -1422,6 +1423,7 @@ export interface components {
1422
1423
  | "redirect-chain"
1423
1424
  | "websocket-test"
1424
1425
  | "smtp-test"
1426
+ | "mail-server-check"
1425
1427
  | "ntp-test"
1426
1428
  | "email-health";
1427
1429
  target: string;
@@ -1466,6 +1468,7 @@ export interface components {
1466
1468
  | "redirect-chain"
1467
1469
  | "websocket-test"
1468
1470
  | "smtp-test"
1471
+ | "mail-server-check"
1469
1472
  | "ntp-test"
1470
1473
  | "email-health";
1471
1474
  label: string;
@@ -3237,6 +3240,11 @@ export interface components {
3237
3240
  /** @default true */
3238
3241
  checkPtr: boolean;
3239
3242
  };
3243
+ /** @description Options for the `mail-server-check` diagnostic. How secure are this domain's mail servers — an A+…F grade per service (inbound MX, SMTP submission, IMAP, POP3) for TLS, certificates, STARTTLS, plain-text login, open relay, MTA-STS, TLS-RPT and DANE, checked from three regions? */
3244
+ DiagnosticOptionsMailServerCheck: {
3245
+ /** @description Services to check: smtp (inbound MX on 25 + submission on 587/465), imap, pop3. Omit for Auto: every service, and for a single host only the ones that answer are graded. */
3246
+ services?: ("smtp" | "imap" | "pop3")[];
3247
+ };
3240
3248
  /** @description Options for the `ntp-test` diagnostic. Does this NTP server answer, and what stratum, clock offset, round-trip delay and leap indicator does it report per sample? */
3241
3249
  DiagnosticOptionsNtpTest: {
3242
3250
  /** @default 123 */
@@ -3627,6 +3635,7 @@ export interface operations {
3627
3635
  | "redirect-chain"
3628
3636
  | "websocket-test"
3629
3637
  | "smtp-test"
3638
+ | "mail-server-check"
3630
3639
  | "ntp-test"
3631
3640
  | "email-health";
3632
3641
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "watchfor",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Official TypeScript SDK + CLI for WatchFor — uptime & infrastructure monitoring (monitors, alert rules, incidents, maintenance windows) over the REST API.",
5
5
  "keywords": [
6
6
  "watchfor",