Skip to content

v0.1.8: expired-alert filter, Kp UTC timeTags, alert messageCode

Choose a tag to compare

@cyanheads cyanheads released this 01 Jul 00:55
v0.1.8
883e8ff

expired-alert filter, Kp UTC timeTags, alert messageCode

Three SWPC data-accuracy fixes to get_alerts and get_kp_index.

Changed:

  • Dev deps: @biomejs/biome ^2.5.0 → ^2.5.1, @types/node ^26.0.0 → ^26.0.1

Fixed:

  • get_alerts active_only drops warnings whose parsed validTo has elapsed; null or unparseable validTo falls back to the recency window (#12)
  • get_kp_index observed and forecast timeTag normalized to explicit UTC (#13)
  • get_alerts adds messageCode (full SWPC code); productId corrected to the short feed-ID shape (#14)

56 tests pass; bun run devcheck clean.