@neilberkman/sidereon 0.31.2 → 0.32.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/pkg/sidereon.js CHANGED
@@ -25601,6 +25601,20 @@ export function mergeNavcen(records, statuses) {
25601
25601
  return takeFromExternrefTable0(ret[0]);
25602
25602
  }
25603
25603
 
25604
+ /**
25605
+ * Merge time-aware NAVCEN assessments into records by PRN.
25606
+ * @param {any} records
25607
+ * @param {any} assessments
25608
+ * @returns {any}
25609
+ */
25610
+ export function mergeNavcenAt(records, assessments) {
25611
+ const ret = wasm.mergeNavcenAt(records, assessments);
25612
+ if (ret[2]) {
25613
+ throw takeFromExternrefTable0(ret[1]);
25614
+ }
25615
+ return takeFromExternrefTable0(ret[0]);
25616
+ }
25617
+
25604
25618
  /**
25605
25619
  * Merge SP3 products with the core consensus merge path.
25606
25620
  *
@@ -26501,6 +26515,24 @@ export function parseNavcen(html) {
26501
26515
  return takeFromExternrefTable0(ret[0]);
26502
26516
  }
26503
26517
 
26518
+ /**
26519
+ * Parse NAVCEN status HTML and evaluate usability at explicit UTC Unix
26520
+ * microseconds. Parsed intervals are half-open; ambiguous forecasts are
26521
+ * retained without disabling the satellite.
26522
+ * @param {string} html
26523
+ * @param {bigint} evaluated_at_unix_us
26524
+ * @returns {any}
26525
+ */
26526
+ export function parseNavcenAt(html, evaluated_at_unix_us) {
26527
+ const ptr0 = passStringToWasm0(html, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
26528
+ const len0 = WASM_VECTOR_LEN;
26529
+ const ret = wasm.parseNavcenAt(ptr0, len0, evaluated_at_unix_us);
26530
+ if (ret[2]) {
26531
+ throw takeFromExternrefTable0(ret[1]);
26532
+ }
26533
+ return takeFromExternrefTable0(ret[0]);
26534
+ }
26535
+
26504
26536
  /**
26505
26537
  * Parse NMEA sentences from bytes.
26506
26538
  * @param {Uint8Array} bytes
Binary file