@shipstatic/ship 3.0.0-beta.1 → 3.0.0-beta.2

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.cts CHANGED
@@ -290,8 +290,10 @@ type DomainStatusType = (typeof DomainStatus)[keyof typeof DomainStatus];
290
290
  * - `verified`: all of them do. Platform names are born here, having no
291
291
  * records to configure.
292
292
  *
293
- * Written by the DNS verifier and at birth, and by nothing else. A reader who
294
- * only wants to know whether to go and fix DNS reads {@link Domain.status};
293
+ * Written by the DNS verifier and at birth, and by nothing else. **It is the
294
+ * only field that says whether DNS is verified NOW**: its sibling instant
295
+ * {@link Domain.verified} is monotonic and answers when it last was. A reader
296
+ * who only wants to know whether to go and fix DNS reads {@link Domain.status};
295
297
  * this field is the diagnostic underneath it, and it is the ONLY place
296
298
  * `partial` is distinguishable from `pending`. Do not fold that distinction
297
299
  * into `status`: the standing says what to do, and "configure DNS" is the
@@ -353,7 +355,16 @@ interface Domain {
353
355
  links: number;
354
356
  /** How far DNS verification has got. See {@link DomainVerification}. */
355
357
  verification: DomainVerificationType;
356
- /** Unix timestamp (seconds) when DNS verified, null while it is not. Cleared if the records later move away. */
358
+ /**
359
+ * When DNS LAST became verified, or null if it never has.
360
+ *
361
+ * MONOTONIC: nothing clears it, so a domain whose records later move away
362
+ * keeps the stamp it earned and reads "not verified now, last was <date>".
363
+ * It answers a HISTORY question and decides nothing — {@link verification}
364
+ * is the present tense and is what every DNS decision reads. A consumer
365
+ * testing this for null to mean "not verified" gets the wrong answer for
366
+ * exactly the domain that needs attention.
367
+ */
357
368
  verified: number | null;
358
369
  /** Total DNS verification attempts */
359
370
  verifications: number;
package/dist/index.d.ts CHANGED
@@ -290,8 +290,10 @@ type DomainStatusType = (typeof DomainStatus)[keyof typeof DomainStatus];
290
290
  * - `verified`: all of them do. Platform names are born here, having no
291
291
  * records to configure.
292
292
  *
293
- * Written by the DNS verifier and at birth, and by nothing else. A reader who
294
- * only wants to know whether to go and fix DNS reads {@link Domain.status};
293
+ * Written by the DNS verifier and at birth, and by nothing else. **It is the
294
+ * only field that says whether DNS is verified NOW**: its sibling instant
295
+ * {@link Domain.verified} is monotonic and answers when it last was. A reader
296
+ * who only wants to know whether to go and fix DNS reads {@link Domain.status};
295
297
  * this field is the diagnostic underneath it, and it is the ONLY place
296
298
  * `partial` is distinguishable from `pending`. Do not fold that distinction
297
299
  * into `status`: the standing says what to do, and "configure DNS" is the
@@ -353,7 +355,16 @@ interface Domain {
353
355
  links: number;
354
356
  /** How far DNS verification has got. See {@link DomainVerification}. */
355
357
  verification: DomainVerificationType;
356
- /** Unix timestamp (seconds) when DNS verified, null while it is not. Cleared if the records later move away. */
358
+ /**
359
+ * When DNS LAST became verified, or null if it never has.
360
+ *
361
+ * MONOTONIC: nothing clears it, so a domain whose records later move away
362
+ * keeps the stamp it earned and reads "not verified now, last was <date>".
363
+ * It answers a HISTORY question and decides nothing — {@link verification}
364
+ * is the present tense and is what every DNS decision reads. A consumer
365
+ * testing this for null to mean "not verified" gets the wrong answer for
366
+ * exactly the domain that needs attention.
367
+ */
357
368
  verified: number | null;
358
369
  /** Total DNS verification attempts */
359
370
  verifications: number;