@neilberkman/sidereon 0.29.2 → 0.30.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.
@@ -3100,6 +3100,7 @@ export class GnssProductIdentity {
3100
3100
  private constructor();
3101
3101
  free(): void;
3102
3102
  [Symbol.dispose](): void;
3103
+ readonly analysisCenter: string;
3103
3104
  /**
3104
3105
  * Stable validated identity key suitable for caller-managed cache paths.
3105
3106
  */
@@ -3109,6 +3110,7 @@ export class GnssProductIdentity {
3109
3110
  readonly family: string;
3110
3111
  readonly filenameVersion: number;
3111
3112
  readonly format: string;
3113
+ readonly formatVersion: string | undefined;
3112
3114
  readonly issue: string | undefined;
3113
3115
  readonly month: number;
3114
3116
  readonly officialFilename: string;
@@ -9010,6 +9012,14 @@ export function boundedIlsSearch(float_cycles: Float64Array, covariance: any, ra
9010
9012
  */
9011
9013
  export function buildDualFrequencyRinexRtkArc(ephemeris: Sp3, base_obs: RinexObs, rover_obs: RinexObs, options?: RtkRinexDualArcOptions | null): { epochs: RtkDualFrequencyArcEpoch[] };
9012
9014
 
9015
+ /**
9016
+ * Build the shared exact-cache commit bytes for a complete immutable candidate.
9017
+ *
9018
+ * Browser hosts should stage product, archive, and provenance under `entry_id`
9019
+ * and make the returned marker visible in the same IndexedDB transaction.
9020
+ */
9021
+ export function buildExactCacheCommit(identity: GnssProductIdentity, source: string, entry_id: string, product: Uint8Array, archive: Uint8Array, provenance: Uint8Array): Uint8Array;
9022
+
9013
9023
  /**
9014
9024
  * Build single-frequency RTK arc records from parsed RINEX OBS products.
9015
9025
  *
@@ -11911,6 +11921,12 @@ export function velocityMatchOutage(states: any, first_good_fix: any, config: an
11911
11921
  */
11912
11922
  export function velocityMidas(series: any, options: any): any;
11913
11923
 
11924
+ /**
11925
+ * Verify a shared commit marker against the requested full identity, source,
11926
+ * and all three immutable byte objects. Returns the committed entry id.
11927
+ */
11928
+ export function verifyExactCacheCommit(identity: GnssProductIdentity, source: string, marker: Uint8Array, product: Uint8Array, archive: Uint8Array, provenance: Uint8Array): string;
11929
+
11914
11930
  /**
11915
11931
  * Vertical one-dimensional percentile radius from an up variance.
11916
11932
  */
@@ -6446,6 +6446,21 @@ class GnssProductIdentity {
6446
6446
  const ptr = this.__destroy_into_raw();
6447
6447
  wasm.__wbg_gnssproductidentity_free(ptr, 0);
6448
6448
  }
6449
+ /**
6450
+ * @returns {string}
6451
+ */
6452
+ get analysisCenter() {
6453
+ let deferred1_0;
6454
+ let deferred1_1;
6455
+ try {
6456
+ const ret = wasm.gnssproductidentity_analysisCenter(this.__wbg_ptr);
6457
+ deferred1_0 = ret[0];
6458
+ deferred1_1 = ret[1];
6459
+ return getStringFromWasm0(ret[0], ret[1]);
6460
+ } finally {
6461
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6462
+ }
6463
+ }
6449
6464
  /**
6450
6465
  * Stable validated identity key suitable for caller-managed cache paths.
6451
6466
  * @returns {string}
@@ -6527,6 +6542,18 @@ class GnssProductIdentity {
6527
6542
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6528
6543
  }
6529
6544
  }
6545
+ /**
6546
+ * @returns {string | undefined}
6547
+ */
6548
+ get formatVersion() {
6549
+ const ret = wasm.gnssproductidentity_formatVersion(this.__wbg_ptr);
6550
+ let v1;
6551
+ if (ret[0] !== 0) {
6552
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6553
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6554
+ }
6555
+ return v1;
6556
+ }
6530
6557
  /**
6531
6558
  * @returns {string | undefined}
6532
6559
  */
@@ -21898,6 +21925,41 @@ function buildDualFrequencyRinexRtkArc(ephemeris, base_obs, rover_obs, options)
21898
21925
  }
21899
21926
  exports.buildDualFrequencyRinexRtkArc = buildDualFrequencyRinexRtkArc;
21900
21927
 
21928
+ /**
21929
+ * Build the shared exact-cache commit bytes for a complete immutable candidate.
21930
+ *
21931
+ * Browser hosts should stage product, archive, and provenance under `entry_id`
21932
+ * and make the returned marker visible in the same IndexedDB transaction.
21933
+ * @param {GnssProductIdentity} identity
21934
+ * @param {string} source
21935
+ * @param {string} entry_id
21936
+ * @param {Uint8Array} product
21937
+ * @param {Uint8Array} archive
21938
+ * @param {Uint8Array} provenance
21939
+ * @returns {Uint8Array}
21940
+ */
21941
+ function buildExactCacheCommit(identity, source, entry_id, product, archive, provenance) {
21942
+ _assertClass(identity, GnssProductIdentity);
21943
+ const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
21944
+ const len0 = WASM_VECTOR_LEN;
21945
+ const ptr1 = passStringToWasm0(entry_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
21946
+ const len1 = WASM_VECTOR_LEN;
21947
+ const ptr2 = passArray8ToWasm0(product, wasm.__wbindgen_malloc);
21948
+ const len2 = WASM_VECTOR_LEN;
21949
+ const ptr3 = passArray8ToWasm0(archive, wasm.__wbindgen_malloc);
21950
+ const len3 = WASM_VECTOR_LEN;
21951
+ const ptr4 = passArray8ToWasm0(provenance, wasm.__wbindgen_malloc);
21952
+ const len4 = WASM_VECTOR_LEN;
21953
+ const ret = wasm.buildExactCacheCommit(identity.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
21954
+ if (ret[3]) {
21955
+ throw takeFromExternrefTable0(ret[2]);
21956
+ }
21957
+ var v6 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
21958
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
21959
+ return v6;
21960
+ }
21961
+ exports.buildExactCacheCommit = buildExactCacheCommit;
21962
+
21901
21963
  /**
21902
21964
  * Build single-frequency RTK arc records from parsed RINEX OBS products.
21903
21965
  *
@@ -30120,6 +30182,48 @@ function velocityMidas(series, options) {
30120
30182
  }
30121
30183
  exports.velocityMidas = velocityMidas;
30122
30184
 
30185
+ /**
30186
+ * Verify a shared commit marker against the requested full identity, source,
30187
+ * and all three immutable byte objects. Returns the committed entry id.
30188
+ * @param {GnssProductIdentity} identity
30189
+ * @param {string} source
30190
+ * @param {Uint8Array} marker
30191
+ * @param {Uint8Array} product
30192
+ * @param {Uint8Array} archive
30193
+ * @param {Uint8Array} provenance
30194
+ * @returns {string}
30195
+ */
30196
+ function verifyExactCacheCommit(identity, source, marker, product, archive, provenance) {
30197
+ let deferred7_0;
30198
+ let deferred7_1;
30199
+ try {
30200
+ _assertClass(identity, GnssProductIdentity);
30201
+ const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
30202
+ const len0 = WASM_VECTOR_LEN;
30203
+ const ptr1 = passArray8ToWasm0(marker, wasm.__wbindgen_malloc);
30204
+ const len1 = WASM_VECTOR_LEN;
30205
+ const ptr2 = passArray8ToWasm0(product, wasm.__wbindgen_malloc);
30206
+ const len2 = WASM_VECTOR_LEN;
30207
+ const ptr3 = passArray8ToWasm0(archive, wasm.__wbindgen_malloc);
30208
+ const len3 = WASM_VECTOR_LEN;
30209
+ const ptr4 = passArray8ToWasm0(provenance, wasm.__wbindgen_malloc);
30210
+ const len4 = WASM_VECTOR_LEN;
30211
+ const ret = wasm.verifyExactCacheCommit(identity.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
30212
+ var ptr6 = ret[0];
30213
+ var len6 = ret[1];
30214
+ if (ret[3]) {
30215
+ ptr6 = 0; len6 = 0;
30216
+ throw takeFromExternrefTable0(ret[2]);
30217
+ }
30218
+ deferred7_0 = ptr6;
30219
+ deferred7_1 = len6;
30220
+ return getStringFromWasm0(ptr6, len6);
30221
+ } finally {
30222
+ wasm.__wbindgen_free(deferred7_0, deferred7_1, 1);
30223
+ }
30224
+ }
30225
+ exports.verifyExactCacheCommit = verifyExactCacheCommit;
30226
+
30123
30227
  /**
30124
30228
  * Vertical one-dimensional percentile radius from an up variance.
30125
30229
  * @param {number} sigma_u_m2
Binary file