v0.1.7: alert validity window, proton flux rounding
alert validity window, proton flux rounding
Changed:
- get_alerts validity window: validFrom/validTo parse the full SWPC label set (Valid From/To, Now Valid Until, Begin/End Time) and normalize to ISO 8601 UTC; validTo was previously null on every product (#10)
- kpToGScale exported from the service and imported by get-kp-index, dropping the byte-identical copy — internal, no behavior change (#11)
Fixed:
- get_solar_activity latestProton.fluxPfu rounded to 3 significant figures instead of the raw IEEE-754 float; stays a number, S-scale still classified from the raw value (#8)
50 tests pass; bun run devcheck clean.