@chrtco/sdk 0.10.5 → 0.10.6

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
@@ -492,8 +492,22 @@ interface CellDetail {
492
492
  * database does not enforce would be a promise the wire cannot keep.
493
493
  */
494
494
  scale_band: string | null;
495
+ /**
496
+ * The S-57 edition and update number of the release **CHRT holds and serves**
497
+ * for this cell — not necessarily the newest the issuing office has published.
498
+ * That is the number to quote when you need to say which chart a response came
499
+ * from. `status` is what tells you whether the office has moved on since.
500
+ */
495
501
  edition: number | null;
496
502
  update_number: number | null;
503
+ /**
504
+ * Publication date of the release named by `edition` / `update_number`.
505
+ *
506
+ * `null` means the date for *that* release is unknown — most often a cell
507
+ * ingested before CHRT started recording it, which resolves on the cell's next
508
+ * update. It never carries the date of an earlier edition: a plausible wrong
509
+ * date on a provenance field is worse than an honest absence.
510
+ */
497
511
  issue_date: string | null;
498
512
  /**
499
513
  * Bounds in decimal degrees (WGS 84), or `null` when the issuing office recorded
@@ -506,9 +520,14 @@ interface CellDetail {
506
520
  bbox_east: number | null;
507
521
  bbox_west: number | null;
508
522
  /**
509
- * ISO 8601 timestamp of when CHRT last checked the issuing office's catalogue
510
- * for this cell — freshness of the *check*, not of the chart. Compare
511
- * `edition` / `update_number` / `issue_date` for chart currency.
523
+ * ISO 8601 timestamp — a **lower bound** on when CHRT last checked the issuing
524
+ * office for this cell, not the exact time. It advances whenever a check
525
+ * results in a new release; a check that finds the cell unchanged leaves no
526
+ * per-cell record, so the real figure is at least this recent and usually more
527
+ * so. Treat it as "no older than", never as "not since".
528
+ *
529
+ * Freshness of the *check*, not of the chart — compare `edition` /
530
+ * `update_number` / `issue_date` for chart currency.
512
531
  */
513
532
  last_checked_at: string | null;
514
533
  }
package/dist/index.d.ts CHANGED
@@ -492,8 +492,22 @@ interface CellDetail {
492
492
  * database does not enforce would be a promise the wire cannot keep.
493
493
  */
494
494
  scale_band: string | null;
495
+ /**
496
+ * The S-57 edition and update number of the release **CHRT holds and serves**
497
+ * for this cell — not necessarily the newest the issuing office has published.
498
+ * That is the number to quote when you need to say which chart a response came
499
+ * from. `status` is what tells you whether the office has moved on since.
500
+ */
495
501
  edition: number | null;
496
502
  update_number: number | null;
503
+ /**
504
+ * Publication date of the release named by `edition` / `update_number`.
505
+ *
506
+ * `null` means the date for *that* release is unknown — most often a cell
507
+ * ingested before CHRT started recording it, which resolves on the cell's next
508
+ * update. It never carries the date of an earlier edition: a plausible wrong
509
+ * date on a provenance field is worse than an honest absence.
510
+ */
497
511
  issue_date: string | null;
498
512
  /**
499
513
  * Bounds in decimal degrees (WGS 84), or `null` when the issuing office recorded
@@ -506,9 +520,14 @@ interface CellDetail {
506
520
  bbox_east: number | null;
507
521
  bbox_west: number | null;
508
522
  /**
509
- * ISO 8601 timestamp of when CHRT last checked the issuing office's catalogue
510
- * for this cell — freshness of the *check*, not of the chart. Compare
511
- * `edition` / `update_number` / `issue_date` for chart currency.
523
+ * ISO 8601 timestamp — a **lower bound** on when CHRT last checked the issuing
524
+ * office for this cell, not the exact time. It advances whenever a check
525
+ * results in a new release; a check that finds the cell unchanged leaves no
526
+ * per-cell record, so the real figure is at least this recent and usually more
527
+ * so. Treat it as "no older than", never as "not since".
528
+ *
529
+ * Freshness of the *check*, not of the chart — compare `edition` /
530
+ * `update_number` / `issue_date` for chart currency.
512
531
  */
513
532
  last_checked_at: string | null;
514
533
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrtco/sdk",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "Official TypeScript SDK for the CHRT nautical chart API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",