@neilberkman/sidereon 0.30.0 → 0.31.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.
package/pkg/sidereon.js CHANGED
@@ -17466,6 +17466,70 @@ export class Sp3MergeFlag {
17466
17466
  }
17467
17467
  if (Symbol.dispose) Sp3MergeFlag.prototype[Symbol.dispose] = Sp3MergeFlag.prototype.free;
17468
17468
 
17469
+ /**
17470
+ * Canonical identity of a complete exact SP3 input set and full merge policy.
17471
+ */
17472
+ export class Sp3MergeInputIdentity {
17473
+ static __wrap(ptr) {
17474
+ const obj = Object.create(Sp3MergeInputIdentity.prototype);
17475
+ obj.__wbg_ptr = ptr;
17476
+ Sp3MergeInputIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
17477
+ return obj;
17478
+ }
17479
+ __destroy_into_raw() {
17480
+ const ptr = this.__wbg_ptr;
17481
+ this.__wbg_ptr = 0;
17482
+ Sp3MergeInputIdentityFinalization.unregister(this);
17483
+ return ptr;
17484
+ }
17485
+ free() {
17486
+ const ptr = this.__destroy_into_raw();
17487
+ wasm.__wbg_sp3mergeinputidentity_free(ptr, 0);
17488
+ }
17489
+ /**
17490
+ * Contributors in distributor-independent canonical order.
17491
+ * @returns {any}
17492
+ */
17493
+ get contributors() {
17494
+ const ret = wasm.sp3mergeinputidentity_contributors(this.__wbg_ptr);
17495
+ return ret;
17496
+ }
17497
+ /**
17498
+ * Contributors in semantic source-priority order for precedence merges;
17499
+ * undefined for mean and median.
17500
+ * @returns {any}
17501
+ */
17502
+ get precedenceContributors() {
17503
+ const ret = wasm.sp3mergeinputidentity_precedenceContributors(this.__wbg_ptr);
17504
+ return ret;
17505
+ }
17506
+ /**
17507
+ * Canonical encoding version.
17508
+ * @returns {number}
17509
+ */
17510
+ get schemaVersion() {
17511
+ const ret = wasm.sp3mergeinputidentity_schemaVersion(this.__wbg_ptr);
17512
+ return ret;
17513
+ }
17514
+ /**
17515
+ * Versioned stable identity of every artifact and effective merge control.
17516
+ * @returns {string}
17517
+ */
17518
+ get stableId() {
17519
+ let deferred1_0;
17520
+ let deferred1_1;
17521
+ try {
17522
+ const ret = wasm.sp3mergeinputidentity_stableId(this.__wbg_ptr);
17523
+ deferred1_0 = ret[0];
17524
+ deferred1_1 = ret[1];
17525
+ return getStringFromWasm0(ret[0], ret[1]);
17526
+ } finally {
17527
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
17528
+ }
17529
+ }
17530
+ }
17531
+ if (Symbol.dispose) Sp3MergeInputIdentity.prototype[Symbol.dispose] = Sp3MergeInputIdentity.prototype.free;
17532
+
17469
17533
  /**
17470
17534
  * Audit report returned with a merged SP3 product.
17471
17535
  */
@@ -28821,6 +28885,29 @@ export function sourceSolveModeToa() {
28821
28885
  }
28822
28886
  }
28823
28887
 
28888
+ /**
28889
+ * Validate complete exact artifact records and return their canonical merge
28890
+ * input identity.
28891
+ *
28892
+ * `contributors` must be an array of complete `Sp3ArtifactIdentityInput`
28893
+ * objects. Contributor enumeration order does not affect mean or median
28894
+ * identities. Precedence identities bind the original order because it
28895
+ * determines source priority. Unordered policy fields are canonicalized.
28896
+ * Empty, duplicate, incomplete, malformed, non-SP3, or mismatched records fail
28897
+ * closed. Acquisition timestamps, URLs, HTTP metadata, credentials, cache
28898
+ * paths, and retry history are not accepted input fields.
28899
+ * @param {any} contributors
28900
+ * @param {any} options
28901
+ * @returns {Sp3MergeInputIdentity}
28902
+ */
28903
+ export function sp3MergeInputIdentity(contributors, options) {
28904
+ const ret = wasm.sp3MergeInputIdentity(contributors, options);
28905
+ if (ret[2]) {
28906
+ throw takeFromExternrefTable0(ret[1]);
28907
+ }
28908
+ return Sp3MergeInputIdentity.__wrap(ret[0]);
28909
+ }
28910
+
28824
28911
  /**
28825
28912
  * Extract a parsed SP3 product as the canonical precise-ephemeris samples, one
28826
28913
  * per real position record in ascending epoch order.
@@ -29899,6 +29986,16 @@ function __wbg_get_imports() {
29899
29986
  const ret = result;
29900
29987
  return ret;
29901
29988
  },
29989
+ __wbg_instanceof_Object_33f20e6f12439f3e: function(arg0) {
29990
+ let result;
29991
+ try {
29992
+ result = arg0 instanceof Object;
29993
+ } catch (_) {
29994
+ result = false;
29995
+ }
29996
+ const ret = result;
29997
+ return ret;
29998
+ },
29902
29999
  __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
29903
30000
  let result;
29904
30001
  try {
@@ -29929,6 +30026,10 @@ function __wbg_get_imports() {
29929
30026
  const ret = Symbol.iterator;
29930
30027
  return ret;
29931
30028
  },
30029
+ __wbg_keys_58421f8f96795607: function(arg0) {
30030
+ const ret = Object.keys(arg0);
30031
+ return ret;
30032
+ },
29932
30033
  __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
29933
30034
  const ret = arg0.length;
29934
30035
  return ret;
@@ -30669,6 +30770,9 @@ const Sp3InterpolationFinalization = (typeof FinalizationRegistry === 'undefined
30669
30770
  const Sp3MergeFlagFinalization = (typeof FinalizationRegistry === 'undefined')
30670
30771
  ? { register: () => {}, unregister: () => {} }
30671
30772
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3mergeflag_free(ptr, 1));
30773
+ const Sp3MergeInputIdentityFinalization = (typeof FinalizationRegistry === 'undefined')
30774
+ ? { register: () => {}, unregister: () => {} }
30775
+ : new FinalizationRegistry(ptr => wasm.__wbg_sp3mergeinputidentity_free(ptr, 1));
30672
30776
  const Sp3MergeReportFinalization = (typeof FinalizationRegistry === 'undefined')
30673
30777
  ? { register: () => {}, unregister: () => {} }
30674
30778
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3mergereport_free(ptr, 1));
Binary file