@neilberkman/sidereon 0.28.0 → 0.29.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
@@ -5807,6 +5807,86 @@ export class GlonassRecordJs {
5807
5807
  }
5808
5808
  if (Symbol.dispose) GlonassRecordJs.prototype[Symbol.dispose] = GlonassRecordJs.prototype.free;
5809
5809
 
5810
+ /**
5811
+ * Public location and transport metadata for one exact product identity.
5812
+ */
5813
+ export class GnssDistributionLocation {
5814
+ static __wrap(ptr) {
5815
+ const obj = Object.create(GnssDistributionLocation.prototype);
5816
+ obj.__wbg_ptr = ptr;
5817
+ GnssDistributionLocationFinalization.register(obj, obj.__wbg_ptr, obj);
5818
+ return obj;
5819
+ }
5820
+ __destroy_into_raw() {
5821
+ const ptr = this.__wbg_ptr;
5822
+ this.__wbg_ptr = 0;
5823
+ GnssDistributionLocationFinalization.unregister(this);
5824
+ return ptr;
5825
+ }
5826
+ free() {
5827
+ const ptr = this.__destroy_into_raw();
5828
+ wasm.__wbg_gnssdistributionlocation_free(ptr, 0);
5829
+ }
5830
+ /**
5831
+ * @returns {string}
5832
+ */
5833
+ get archiveFilename() {
5834
+ let deferred1_0;
5835
+ let deferred1_1;
5836
+ try {
5837
+ const ret = wasm.gnssdistributionlocation_archiveFilename(this.__wbg_ptr);
5838
+ deferred1_0 = ret[0];
5839
+ deferred1_1 = ret[1];
5840
+ return getStringFromWasm0(ret[0], ret[1]);
5841
+ } finally {
5842
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5843
+ }
5844
+ }
5845
+ /**
5846
+ * @returns {string}
5847
+ */
5848
+ get compression() {
5849
+ let deferred1_0;
5850
+ let deferred1_1;
5851
+ try {
5852
+ const ret = wasm.gnssdistributionlocation_compression(this.__wbg_ptr);
5853
+ deferred1_0 = ret[0];
5854
+ deferred1_1 = ret[1];
5855
+ return getStringFromWasm0(ret[0], ret[1]);
5856
+ } finally {
5857
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5858
+ }
5859
+ }
5860
+ /**
5861
+ * @returns {string | undefined}
5862
+ */
5863
+ get originalUrl() {
5864
+ const ret = wasm.gnssdistributionlocation_originalUrl(this.__wbg_ptr);
5865
+ let v1;
5866
+ if (ret[0] !== 0) {
5867
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
5868
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
5869
+ }
5870
+ return v1;
5871
+ }
5872
+ /**
5873
+ * @returns {string}
5874
+ */
5875
+ get source() {
5876
+ let deferred1_0;
5877
+ let deferred1_1;
5878
+ try {
5879
+ const ret = wasm.gnssdistributionlocation_source(this.__wbg_ptr);
5880
+ deferred1_0 = ret[0];
5881
+ deferred1_1 = ret[1];
5882
+ return getStringFromWasm0(ret[0], ret[1]);
5883
+ } finally {
5884
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5885
+ }
5886
+ }
5887
+ }
5888
+ if (Symbol.dispose) GnssDistributionLocation.prototype[Symbol.dispose] = GnssDistributionLocation.prototype.free;
5889
+
5810
5890
  /**
5811
5891
  * Stateful GNSS/INS filter resource.
5812
5892
  */
@@ -6209,6 +6289,218 @@ export class GnssPass {
6209
6289
  }
6210
6290
  if (Symbol.dispose) GnssPass.prototype[Symbol.dispose] = GnssPass.prototype.free;
6211
6291
 
6292
+ /**
6293
+ * Exact public GNSS product identity, independent of distributor.
6294
+ */
6295
+ export class GnssProductIdentity {
6296
+ static __wrap(ptr) {
6297
+ const obj = Object.create(GnssProductIdentity.prototype);
6298
+ obj.__wbg_ptr = ptr;
6299
+ GnssProductIdentityFinalization.register(obj, obj.__wbg_ptr, obj);
6300
+ return obj;
6301
+ }
6302
+ __destroy_into_raw() {
6303
+ const ptr = this.__wbg_ptr;
6304
+ this.__wbg_ptr = 0;
6305
+ GnssProductIdentityFinalization.unregister(this);
6306
+ return ptr;
6307
+ }
6308
+ free() {
6309
+ const ptr = this.__destroy_into_raw();
6310
+ wasm.__wbg_gnssproductidentity_free(ptr, 0);
6311
+ }
6312
+ /**
6313
+ * Stable validated identity key suitable for caller-managed cache paths.
6314
+ * @returns {string}
6315
+ */
6316
+ get cacheKey() {
6317
+ let deferred2_0;
6318
+ let deferred2_1;
6319
+ try {
6320
+ const ret = wasm.gnssproductidentity_cacheKey(this.__wbg_ptr);
6321
+ var ptr1 = ret[0];
6322
+ var len1 = ret[1];
6323
+ if (ret[3]) {
6324
+ ptr1 = 0; len1 = 0;
6325
+ throw takeFromExternrefTable0(ret[2]);
6326
+ }
6327
+ deferred2_0 = ptr1;
6328
+ deferred2_1 = len1;
6329
+ return getStringFromWasm0(ptr1, len1);
6330
+ } finally {
6331
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
6332
+ }
6333
+ }
6334
+ /**
6335
+ * @returns {string}
6336
+ */
6337
+ get campaign() {
6338
+ let deferred1_0;
6339
+ let deferred1_1;
6340
+ try {
6341
+ const ret = wasm.gnssproductidentity_campaign(this.__wbg_ptr);
6342
+ deferred1_0 = ret[0];
6343
+ deferred1_1 = ret[1];
6344
+ return getStringFromWasm0(ret[0], ret[1]);
6345
+ } finally {
6346
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6347
+ }
6348
+ }
6349
+ /**
6350
+ * @returns {number}
6351
+ */
6352
+ get day() {
6353
+ const ret = wasm.gnssproductidentity_day(this.__wbg_ptr);
6354
+ return ret;
6355
+ }
6356
+ /**
6357
+ * @returns {string}
6358
+ */
6359
+ get family() {
6360
+ let deferred1_0;
6361
+ let deferred1_1;
6362
+ try {
6363
+ const ret = wasm.gnssproductidentity_family(this.__wbg_ptr);
6364
+ deferred1_0 = ret[0];
6365
+ deferred1_1 = ret[1];
6366
+ return getStringFromWasm0(ret[0], ret[1]);
6367
+ } finally {
6368
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6369
+ }
6370
+ }
6371
+ /**
6372
+ * @returns {number}
6373
+ */
6374
+ get filenameVersion() {
6375
+ const ret = wasm.gnssproductidentity_filenameVersion(this.__wbg_ptr);
6376
+ return ret;
6377
+ }
6378
+ /**
6379
+ * @returns {string}
6380
+ */
6381
+ get format() {
6382
+ let deferred1_0;
6383
+ let deferred1_1;
6384
+ try {
6385
+ const ret = wasm.gnssproductidentity_format(this.__wbg_ptr);
6386
+ deferred1_0 = ret[0];
6387
+ deferred1_1 = ret[1];
6388
+ return getStringFromWasm0(ret[0], ret[1]);
6389
+ } finally {
6390
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6391
+ }
6392
+ }
6393
+ /**
6394
+ * @returns {string | undefined}
6395
+ */
6396
+ get issue() {
6397
+ const ret = wasm.gnssproductidentity_issue(this.__wbg_ptr);
6398
+ let v1;
6399
+ if (ret[0] !== 0) {
6400
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
6401
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
6402
+ }
6403
+ return v1;
6404
+ }
6405
+ /**
6406
+ * @returns {number}
6407
+ */
6408
+ get month() {
6409
+ const ret = wasm.gnssproductidentity_month(this.__wbg_ptr);
6410
+ return ret;
6411
+ }
6412
+ /**
6413
+ * @returns {string}
6414
+ */
6415
+ get officialFilename() {
6416
+ let deferred1_0;
6417
+ let deferred1_1;
6418
+ try {
6419
+ const ret = wasm.gnssproductidentity_officialFilename(this.__wbg_ptr);
6420
+ deferred1_0 = ret[0];
6421
+ deferred1_1 = ret[1];
6422
+ return getStringFromWasm0(ret[0], ret[1]);
6423
+ } finally {
6424
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6425
+ }
6426
+ }
6427
+ /**
6428
+ * @returns {number | undefined}
6429
+ */
6430
+ get predictionHorizonDays() {
6431
+ const ret = wasm.gnssproductidentity_predictionHorizonDays(this.__wbg_ptr);
6432
+ return ret === 0xFFFFFF ? undefined : ret;
6433
+ }
6434
+ /**
6435
+ * @returns {string}
6436
+ */
6437
+ get publisher() {
6438
+ let deferred1_0;
6439
+ let deferred1_1;
6440
+ try {
6441
+ const ret = wasm.gnssproductidentity_publisher(this.__wbg_ptr);
6442
+ deferred1_0 = ret[0];
6443
+ deferred1_1 = ret[1];
6444
+ return getStringFromWasm0(ret[0], ret[1]);
6445
+ } finally {
6446
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6447
+ }
6448
+ }
6449
+ /**
6450
+ * @returns {string}
6451
+ */
6452
+ get sample() {
6453
+ let deferred1_0;
6454
+ let deferred1_1;
6455
+ try {
6456
+ const ret = wasm.gnssproductidentity_sample(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
+ }
6464
+ /**
6465
+ * @returns {string}
6466
+ */
6467
+ get solutionClass() {
6468
+ let deferred1_0;
6469
+ let deferred1_1;
6470
+ try {
6471
+ const ret = wasm.gnssproductidentity_solutionClass(this.__wbg_ptr);
6472
+ deferred1_0 = ret[0];
6473
+ deferred1_1 = ret[1];
6474
+ return getStringFromWasm0(ret[0], ret[1]);
6475
+ } finally {
6476
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6477
+ }
6478
+ }
6479
+ /**
6480
+ * @returns {string}
6481
+ */
6482
+ get span() {
6483
+ let deferred1_0;
6484
+ let deferred1_1;
6485
+ try {
6486
+ const ret = wasm.gnssproductidentity_span(this.__wbg_ptr);
6487
+ deferred1_0 = ret[0];
6488
+ deferred1_1 = ret[1];
6489
+ return getStringFromWasm0(ret[0], ret[1]);
6490
+ } finally {
6491
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
6492
+ }
6493
+ }
6494
+ /**
6495
+ * @returns {number}
6496
+ */
6497
+ get year() {
6498
+ const ret = wasm.gnssproductidentity_year(this.__wbg_ptr);
6499
+ return ret;
6500
+ }
6501
+ }
6502
+ if (Symbol.dispose) GnssProductIdentity.prototype[Symbol.dispose] = GnssProductIdentity.prototype.free;
6503
+
6212
6504
  /**
6213
6505
  * A GNSS constellation. The JS value matches the variant order below.
6214
6506
  * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6}
@@ -22100,6 +22392,36 @@ export function dishGain(diameter_m, frequency_hz, efficiency) {
22100
22392
  return ret[0];
22101
22393
  }
22102
22394
 
22395
+ /**
22396
+ * Resolve one explicit public distributor without performing network IO.
22397
+ * @param {string} center
22398
+ * @param {string} family
22399
+ * @param {number} year
22400
+ * @param {number} month
22401
+ * @param {number} day
22402
+ * @param {string | null | undefined} sample
22403
+ * @param {string | null | undefined} issue
22404
+ * @param {string} source
22405
+ * @returns {GnssDistributionLocation}
22406
+ */
22407
+ export function distributionLocation(center, family, year, month, day, sample, issue, source) {
22408
+ const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22409
+ const len0 = WASM_VECTOR_LEN;
22410
+ const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22411
+ const len1 = WASM_VECTOR_LEN;
22412
+ var ptr2 = isLikeNone(sample) ? 0 : passStringToWasm0(sample, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22413
+ var len2 = WASM_VECTOR_LEN;
22414
+ var ptr3 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22415
+ var len3 = WASM_VECTOR_LEN;
22416
+ const ptr4 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
22417
+ const len4 = WASM_VECTOR_LEN;
22418
+ const ret = wasm.distributionLocation(ptr0, len0, ptr1, len1, year, month, day, ptr2, len2, ptr3, len3, ptr4, len4);
22419
+ if (ret[2]) {
22420
+ throw takeFromExternrefTable0(ret[1]);
22421
+ }
22422
+ return GnssDistributionLocation.__wrap(ret[0]);
22423
+ }
22424
+
22103
22425
  /**
22104
22426
  * GNSS dilution of precision with an explicit ENU convention for the
22105
22427
  * horizontal/vertical split.
@@ -26613,6 +26935,33 @@ export function prepareIonosphereFreeRtkArc(epochs, wide_lane_cycles, config) {
26613
26935
  return takeFromExternrefTable0(ret[0]);
26614
26936
  }
26615
26937
 
26938
+ /**
26939
+ * Resolve an exact catalog product independently from distributor.
26940
+ * @param {string} center
26941
+ * @param {string} family
26942
+ * @param {number} year
26943
+ * @param {number} month
26944
+ * @param {number} day
26945
+ * @param {string | null} [sample]
26946
+ * @param {string | null} [issue]
26947
+ * @returns {GnssProductIdentity}
26948
+ */
26949
+ export function productIdentity(center, family, year, month, day, sample, issue) {
26950
+ const ptr0 = passStringToWasm0(center, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
26951
+ const len0 = WASM_VECTOR_LEN;
26952
+ const ptr1 = passStringToWasm0(family, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
26953
+ const len1 = WASM_VECTOR_LEN;
26954
+ var ptr2 = isLikeNone(sample) ? 0 : passStringToWasm0(sample, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
26955
+ var len2 = WASM_VECTOR_LEN;
26956
+ var ptr3 = isLikeNone(issue) ? 0 : passStringToWasm0(issue, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
26957
+ var len3 = WASM_VECTOR_LEN;
26958
+ const ret = wasm.productIdentity(ptr0, len0, ptr1, len1, year, month, day, ptr2, len2, ptr3, len3);
26959
+ if (ret[2]) {
26960
+ throw takeFromExternrefTable0(ret[1]);
26961
+ }
26962
+ return GnssProductIdentity.__wrap(ret[0]);
26963
+ }
26964
+
26616
26965
  /**
26617
26966
  * Propagate a fleet of already-initialized [`Tle`]s over a shared epoch grid in
26618
26967
  * a single call: the batched form of [`Tle.propagate`].
@@ -29829,12 +30178,18 @@ const GeometryQualityFinalization = (typeof FinalizationRegistry === 'undefined'
29829
30178
  const GlonassRecordJsFinalization = (typeof FinalizationRegistry === 'undefined')
29830
30179
  ? { register: () => {}, unregister: () => {} }
29831
30180
  : new FinalizationRegistry(ptr => wasm.__wbg_glonassrecordjs_free(ptr, 1));
30181
+ const GnssDistributionLocationFinalization = (typeof FinalizationRegistry === 'undefined')
30182
+ ? { register: () => {}, unregister: () => {} }
30183
+ : new FinalizationRegistry(ptr => wasm.__wbg_gnssdistributionlocation_free(ptr, 1));
29832
30184
  const GnssInsFilterFinalization = (typeof FinalizationRegistry === 'undefined')
29833
30185
  ? { register: () => {}, unregister: () => {} }
29834
30186
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssinsfilter_free(ptr, 1));
29835
30187
  const GnssPassFinalization = (typeof FinalizationRegistry === 'undefined')
29836
30188
  ? { register: () => {}, unregister: () => {} }
29837
30189
  : new FinalizationRegistry(ptr => wasm.__wbg_gnsspass_free(ptr, 1));
30190
+ const GnssProductIdentityFinalization = (typeof FinalizationRegistry === 'undefined')
30191
+ ? { register: () => {}, unregister: () => {} }
30192
+ : new FinalizationRegistry(ptr => wasm.__wbg_gnssproductidentity_free(ptr, 1));
29838
30193
  const GnssVisibilityCountFinalization = (typeof FinalizationRegistry === 'undefined')
29839
30194
  ? { register: () => {}, unregister: () => {} }
29840
30195
  : new FinalizationRegistry(ptr => wasm.__wbg_gnssvisibilitycount_free(ptr, 1));
Binary file