@neilberkman/sidereon 0.29.0 → 0.29.2

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.
@@ -2941,6 +2941,25 @@ export class GnssDistributionLocation {
2941
2941
  readonly source: string;
2942
2942
  }
2943
2943
 
2944
+ /**
2945
+ * Require available identities to be exactly the declared product set.
2946
+ *
2947
+ * The expected set must be non-empty. Both lists reject duplicates; missing
2948
+ * and undeclared identities fail. Comparison includes every identity field,
2949
+ * not only the official filename. SP3 observed/predicted timing comes from
2950
+ * `Sp3.predictionSummary()`, not catalog fields or issue times.
2951
+ */
2952
+ export class GnssExactProductSet {
2953
+ free(): void;
2954
+ [Symbol.dispose](): void;
2955
+ addAvailable(identity: GnssProductIdentity): void;
2956
+ addExpected(identity: GnssProductIdentity): void;
2957
+ constructor();
2958
+ validate(): void;
2959
+ readonly availableCount: number;
2960
+ readonly expectedCount: number;
2961
+ }
2962
+
2944
2963
  /**
2945
2964
  * Stateful GNSS/INS filter resource.
2946
2965
  */
@@ -5959,6 +5959,69 @@ class GnssDistributionLocation {
5959
5959
  if (Symbol.dispose) GnssDistributionLocation.prototype[Symbol.dispose] = GnssDistributionLocation.prototype.free;
5960
5960
  exports.GnssDistributionLocation = GnssDistributionLocation;
5961
5961
 
5962
+ /**
5963
+ * Require available identities to be exactly the declared product set.
5964
+ *
5965
+ * The expected set must be non-empty. Both lists reject duplicates; missing
5966
+ * and undeclared identities fail. Comparison includes every identity field,
5967
+ * not only the official filename. SP3 observed/predicted timing comes from
5968
+ * `Sp3.predictionSummary()`, not catalog fields or issue times.
5969
+ */
5970
+ class GnssExactProductSet {
5971
+ __destroy_into_raw() {
5972
+ const ptr = this.__wbg_ptr;
5973
+ this.__wbg_ptr = 0;
5974
+ GnssExactProductSetFinalization.unregister(this);
5975
+ return ptr;
5976
+ }
5977
+ free() {
5978
+ const ptr = this.__destroy_into_raw();
5979
+ wasm.__wbg_gnssexactproductset_free(ptr, 0);
5980
+ }
5981
+ /**
5982
+ * @param {GnssProductIdentity} identity
5983
+ */
5984
+ addAvailable(identity) {
5985
+ _assertClass(identity, GnssProductIdentity);
5986
+ wasm.gnssexactproductset_addAvailable(this.__wbg_ptr, identity.__wbg_ptr);
5987
+ }
5988
+ /**
5989
+ * @param {GnssProductIdentity} identity
5990
+ */
5991
+ addExpected(identity) {
5992
+ _assertClass(identity, GnssProductIdentity);
5993
+ wasm.gnssexactproductset_addExpected(this.__wbg_ptr, identity.__wbg_ptr);
5994
+ }
5995
+ /**
5996
+ * @returns {number}
5997
+ */
5998
+ get availableCount() {
5999
+ const ret = wasm.gnssexactproductset_availableCount(this.__wbg_ptr);
6000
+ return ret >>> 0;
6001
+ }
6002
+ /**
6003
+ * @returns {number}
6004
+ */
6005
+ get expectedCount() {
6006
+ const ret = wasm.gnssexactproductset_expectedCount(this.__wbg_ptr);
6007
+ return ret >>> 0;
6008
+ }
6009
+ constructor() {
6010
+ const ret = wasm.gnssexactproductset_new();
6011
+ this.__wbg_ptr = ret;
6012
+ GnssExactProductSetFinalization.register(this, this.__wbg_ptr, this);
6013
+ return this;
6014
+ }
6015
+ validate() {
6016
+ const ret = wasm.gnssexactproductset_validate(this.__wbg_ptr);
6017
+ if (ret[1]) {
6018
+ throw takeFromExternrefTable0(ret[0]);
6019
+ }
6020
+ }
6021
+ }
6022
+ if (Symbol.dispose) GnssExactProductSet.prototype[Symbol.dispose] = GnssExactProductSet.prototype.free;
6023
+ exports.GnssExactProductSet = GnssExactProductSet;
6024
+
5962
6025
  /**
5963
6026
  * Stateful GNSS/INS filter resource.
5964
6027
  */
@@ -30865,6 +30928,9 @@ const GlonassRecordJsFinalization = (typeof FinalizationRegistry === 'undefined'
30865
30928
  const GnssDistributionLocationFinalization = (typeof FinalizationRegistry === 'undefined')
30866
30929
  ? { register: () => {}, unregister: () => {} }
30867
30930
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssdistributionlocation_free(ptr, 1));
30931
+ const GnssExactProductSetFinalization = (typeof FinalizationRegistry === 'undefined')
30932
+ ? { register: () => {}, unregister: () => {} }
30933
+ : new FinalizationRegistry(ptr => wasm.__wbg_gnssexactproductset_free(ptr, 1));
30868
30934
  const GnssInsFilterFinalization = (typeof FinalizationRegistry === 'undefined')
30869
30935
  ? { register: () => {}, unregister: () => {} }
30870
30936
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssinsfilter_free(ptr, 1));
Binary file