@neilberkman/sidereon 3.0.1 → 3.0.3

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
@@ -1646,8 +1646,8 @@ export class BroadcastEphemeris {
1646
1646
  * @param {string} satellite
1647
1647
  * @param {ExactEpochQuery} state_epoch
1648
1648
  * @param {Float64Array} position_ecef_m
1649
- * @param {boolean | null} [fallback_to_broadcast]
1650
- * @param {number | null} [allow_regional_provider]
1649
+ * @param {boolean | null | undefined} fallback_to_broadcast
1650
+ * @param {number | null | undefined} allow_regional_provider
1651
1651
  * @param {string | null} [validity]
1652
1652
  * @returns {ClockRelativity}
1653
1653
  */
@@ -1660,7 +1660,7 @@ export class BroadcastEphemeris {
1660
1660
  const len1 = WASM_VECTOR_LEN;
1661
1661
  var ptr2 = isLikeNone(validity) ? 0 : passStringToWasm0(validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1662
1662
  var len2 = WASM_VECTOR_LEN;
1663
- const ret = wasm.broadcastephemeris_ssrClockRelativityAtExactQuery(this.__wbg_ptr, store.__wbg_ptr, ptr0, len0, state_epoch.__wbg_ptr, ptr1, len1, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr2, len2);
1663
+ const ret = wasm.broadcastephemeris_ssrClockRelativityAtExactQuery(this.__wbg_ptr, store.__wbg_ptr, ptr0, len0, state_epoch.__wbg_ptr, ptr1, len1, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr2, len2);
1664
1664
  if (ret[2]) {
1665
1665
  throw takeFromExternrefTable0(ret[1]);
1666
1666
  }
@@ -1673,8 +1673,8 @@ export class BroadcastEphemeris {
1673
1673
  * @param {string} satellite
1674
1674
  * @param {ExactEpochQuery} state_epoch
1675
1675
  * @param {ExactEpochQuery} selection_epoch
1676
- * @param {boolean | null} [fallback_to_broadcast]
1677
- * @param {number | null} [allow_regional_provider]
1676
+ * @param {boolean | null | undefined} fallback_to_broadcast
1677
+ * @param {number | null | undefined} allow_regional_provider
1678
1678
  * @param {string | null} [validity]
1679
1679
  * @returns {number}
1680
1680
  */
@@ -1686,7 +1686,7 @@ export class BroadcastEphemeris {
1686
1686
  _assertClass(selection_epoch, ExactEpochQuery);
1687
1687
  var ptr1 = isLikeNone(validity) ? 0 : passStringToWasm0(validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1688
1688
  var len1 = WASM_VECTOR_LEN;
1689
- const ret = wasm.broadcastephemeris_ssrEphemerisVarianceAtExactQueries(this.__wbg_ptr, store.__wbg_ptr, ptr0, len0, state_epoch.__wbg_ptr, selection_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr1, len1);
1689
+ const ret = wasm.broadcastephemeris_ssrEphemerisVarianceAtExactQueries(this.__wbg_ptr, store.__wbg_ptr, ptr0, len0, state_epoch.__wbg_ptr, selection_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr1, len1);
1690
1690
  if (ret[2]) {
1691
1691
  throw takeFromExternrefTable0(ret[1]);
1692
1692
  }
@@ -4052,6 +4052,9 @@ export class Constellation {
4052
4052
  const ptr0 = passArray64ToWasm0(epochs_unix_us, wasm.__wbindgen_malloc);
4053
4053
  const len0 = WASM_VECTOR_LEN;
4054
4054
  const ret = wasm.constellation_groundTracks(this.__wbg_ptr, ptr0, len0);
4055
+ if (ret[3]) {
4056
+ throw takeFromExternrefTable0(ret[2]);
4057
+ }
4055
4058
  var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4056
4059
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4057
4060
  return v2;
@@ -4089,6 +4092,9 @@ export class Constellation {
4089
4092
  const ptr0 = passArray64ToWasm0(epochs_unix_us, wasm.__wbindgen_malloc);
4090
4093
  const len0 = WASM_VECTOR_LEN;
4091
4094
  const ret = wasm.constellation_lookAngleArcs(this.__wbg_ptr, station.__wbg_ptr, ptr0, len0);
4095
+ if (ret[3]) {
4096
+ throw takeFromExternrefTable0(ret[2]);
4097
+ }
4092
4098
  var v2 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
4093
4099
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
4094
4100
  return v2;
@@ -5373,7 +5379,9 @@ if (Symbol.dispose) DragForce.prototype[Symbol.dispose] = DragForce.prototype.fr
5373
5379
  * A DTED terrain tile cache rooted at a directory of DTED Level 2 files.
5374
5380
  *
5375
5381
  * Heights are ORTHOMETRIC terrain elevations in meters. Point order is always
5376
- * longitude first, then latitude, both in degrees.
5382
+ * longitude first, then latitude, both in degrees. WebAssembly has no host
5383
+ * filesystem, so construction is rejected explicitly; use
5384
+ * `MmapTerrain.fromBytes` with fetched or Node-read terrain-store bytes.
5377
5385
  */
5378
5386
  export class DtedTerrain {
5379
5387
  __destroy_into_raw() {
@@ -5449,15 +5457,19 @@ export class DtedTerrain {
5449
5457
  /**
5450
5458
  * Create a DTED terrain reader rooted at `root`.
5451
5459
  *
5452
- * The root may contain tile files directly or the nested block layout the
5453
- * core reader recognizes. Height results are ORTHOMETRIC meters.
5454
- * @param {string} root
5460
+ * WebAssembly cannot access a host filesystem root. This constructor
5461
+ * throws a `TypeError` instead of silently treating every tile as missing.
5462
+ * Load a canonical terrain store with `MmapTerrain.fromBytes` instead.
5463
+ * @param {string} _root
5455
5464
  */
5456
- constructor(root) {
5457
- const ptr0 = passStringToWasm0(root, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5465
+ constructor(_root) {
5466
+ const ptr0 = passStringToWasm0(_root, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
5458
5467
  const len0 = WASM_VECTOR_LEN;
5459
5468
  const ret = wasm.dtedterrain_new(ptr0, len0);
5460
- this.__wbg_ptr = ret;
5469
+ if (ret[2]) {
5470
+ throw takeFromExternrefTable0(ret[1]);
5471
+ }
5472
+ this.__wbg_ptr = ret[0];
5461
5473
  DtedTerrainFinalization.register(this, this.__wbg_ptr, this);
5462
5474
  return this;
5463
5475
  }
@@ -9243,7 +9255,10 @@ export class Instant {
9243
9255
  */
9244
9256
  get deltaTSeconds() {
9245
9257
  const ret = wasm.instant_deltaTSeconds(this.__wbg_ptr);
9246
- return ret;
9258
+ if (ret[2]) {
9259
+ throw takeFromExternrefTable0(ret[1]);
9260
+ }
9261
+ return ret[0];
9247
9262
  }
9248
9263
  /**
9249
9264
  * Build an instant from a unix-microsecond UTC stamp.
@@ -9332,7 +9347,10 @@ export class Instant {
9332
9347
  */
9333
9348
  get jdWhole() {
9334
9349
  const ret = wasm.instant_jdWhole(this.__wbg_ptr);
9335
- return ret;
9350
+ if (ret[2]) {
9351
+ throw takeFromExternrefTable0(ret[1]);
9352
+ }
9353
+ return ret[0];
9336
9354
  }
9337
9355
  /**
9338
9356
  * IAU mean obliquity of the ecliptic, radians.
@@ -9393,7 +9411,10 @@ export class Instant {
9393
9411
  */
9394
9412
  get tdbFraction() {
9395
9413
  const ret = wasm.instant_tdbFraction(this.__wbg_ptr);
9396
- return ret;
9414
+ if (ret[2]) {
9415
+ throw takeFromExternrefTable0(ret[1]);
9416
+ }
9417
+ return ret[0];
9397
9418
  }
9398
9419
  /**
9399
9420
  * Full Barycentric Dynamical Time (TDB) Julian date.
@@ -9401,7 +9422,10 @@ export class Instant {
9401
9422
  */
9402
9423
  get tdbJd() {
9403
9424
  const ret = wasm.instant_tdbJd(this.__wbg_ptr);
9404
- return ret;
9425
+ if (ret[2]) {
9426
+ throw takeFromExternrefTable0(ret[1]);
9427
+ }
9428
+ return ret[0];
9405
9429
  }
9406
9430
  /**
9407
9431
  * The two-part TDB Julian date (`jdWhole`, `tdbFraction`).
@@ -9409,7 +9433,10 @@ export class Instant {
9409
9433
  */
9410
9434
  get tdbJdSplit() {
9411
9435
  const ret = wasm.instant_tdbJdSplit(this.__wbg_ptr);
9412
- return JulianDate.__wrap(ret);
9436
+ if (ret[2]) {
9437
+ throw takeFromExternrefTable0(ret[1]);
9438
+ }
9439
+ return JulianDate.__wrap(ret[0]);
9413
9440
  }
9414
9441
  /**
9415
9442
  * TT day fraction relative to `jdWhole`.
@@ -9417,7 +9444,10 @@ export class Instant {
9417
9444
  */
9418
9445
  get ttFraction() {
9419
9446
  const ret = wasm.instant_ttFraction(this.__wbg_ptr);
9420
- return ret;
9447
+ if (ret[2]) {
9448
+ throw takeFromExternrefTable0(ret[1]);
9449
+ }
9450
+ return ret[0];
9421
9451
  }
9422
9452
  /**
9423
9453
  * Full Terrestrial Time (TT) Julian date.
@@ -9425,7 +9455,10 @@ export class Instant {
9425
9455
  */
9426
9456
  get ttJd() {
9427
9457
  const ret = wasm.instant_ttJd(this.__wbg_ptr);
9428
- return ret;
9458
+ if (ret[2]) {
9459
+ throw takeFromExternrefTable0(ret[1]);
9460
+ }
9461
+ return ret[0];
9429
9462
  }
9430
9463
  /**
9431
9464
  * The two-part TT Julian date (`jdWhole`, `ttFraction`).
@@ -9433,7 +9466,10 @@ export class Instant {
9433
9466
  */
9434
9467
  get ttJdSplit() {
9435
9468
  const ret = wasm.instant_ttJdSplit(this.__wbg_ptr);
9436
- return JulianDate.__wrap(ret);
9469
+ if (ret[2]) {
9470
+ throw takeFromExternrefTable0(ret[1]);
9471
+ }
9472
+ return JulianDate.__wrap(ret[0]);
9437
9473
  }
9438
9474
  /**
9439
9475
  * The unix-microsecond UTC stamp backing this instant.
@@ -9451,6 +9487,9 @@ export class Instant {
9451
9487
  */
9452
9488
  get ut1Degraded() {
9453
9489
  const ret = wasm.instant_ut1Degraded(this.__wbg_ptr);
9490
+ if (ret[3]) {
9491
+ throw takeFromExternrefTable0(ret[2]);
9492
+ }
9454
9493
  let v1;
9455
9494
  if (ret[0] !== 0) {
9456
9495
  v1 = getStringFromWasm0(ret[0], ret[1]).slice();
@@ -9464,7 +9503,10 @@ export class Instant {
9464
9503
  */
9465
9504
  get ut1Fraction() {
9466
9505
  const ret = wasm.instant_ut1Fraction(this.__wbg_ptr);
9467
- return ret;
9506
+ if (ret[2]) {
9507
+ throw takeFromExternrefTable0(ret[1]);
9508
+ }
9509
+ return ret[0];
9468
9510
  }
9469
9511
  /**
9470
9512
  * Full UT1 Julian date.
@@ -9472,7 +9514,10 @@ export class Instant {
9472
9514
  */
9473
9515
  get ut1Jd() {
9474
9516
  const ret = wasm.instant_ut1Jd(this.__wbg_ptr);
9475
- return ret;
9517
+ if (ret[2]) {
9518
+ throw takeFromExternrefTable0(ret[1]);
9519
+ }
9520
+ return ret[0];
9476
9521
  }
9477
9522
  /**
9478
9523
  * The two-part UT1 Julian date (`jdWhole`, `ut1Fraction`).
@@ -9480,7 +9525,10 @@ export class Instant {
9480
9525
  */
9481
9526
  get ut1JdSplit() {
9482
9527
  const ret = wasm.instant_ut1JdSplit(this.__wbg_ptr);
9483
- return JulianDate.__wrap(ret);
9528
+ if (ret[2]) {
9529
+ throw takeFromExternrefTable0(ret[1]);
9530
+ }
9531
+ return JulianDate.__wrap(ret[0]);
9484
9532
  }
9485
9533
  }
9486
9534
  if (Symbol.dispose) Instant.prototype[Symbol.dispose] = Instant.prototype.free;
@@ -25121,7 +25169,7 @@ export class SsrCorrectedEphemeris {
25121
25169
  * @param {string} satellite
25122
25170
  * @param {ExactEpochQuery} state_epoch
25123
25171
  * @param {Float64Array} position_ecef_m
25124
- * @returns {any}
25172
+ * @returns {ClockRelativity}
25125
25173
  */
25126
25174
  clockRelativityAtQuery(satellite, state_epoch, position_ecef_m) {
25127
25175
  const ptr0 = passStringToWasm0(satellite, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -25260,7 +25308,7 @@ export class SsrCorrectedEphemeris {
25260
25308
  * staleness, UT1, size, attitude and regional-provider settings.
25261
25309
  * @param {BroadcastEphemeris} broadcast
25262
25310
  * @param {SsrCorrectionStore} store
25263
- * @param {any | null} [options]
25311
+ * @param {SsrCorrectedEphemerisOptions | null | undefined} options
25264
25312
  */
25265
25313
  constructor(broadcast, store, options) {
25266
25314
  _assertClass(broadcast, BroadcastEphemeris);
@@ -25287,7 +25335,7 @@ export class SsrCorrectedEphemeris {
25287
25335
  * @param {string} satellite
25288
25336
  * @param {ExactEpochQuery} state_epoch
25289
25337
  * @param {ExactEpochQuery} selection_epoch
25290
- * @returns {any}
25338
+ * @returns {Ut1Validated<SelectedPositionClock> | null}
25291
25339
  */
25292
25340
  selectedPositionClockAtQueries(satellite, state_epoch, selection_epoch) {
25293
25341
  const ptr0 = passStringToWasm0(satellite, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -25319,7 +25367,7 @@ export class SsrCorrectedEphemeris {
25319
25367
  * @param {string} satellite
25320
25368
  * @param {ExactEpochQuery} state_epoch
25321
25369
  * @param {ExactEpochQuery} selection_epoch
25322
- * @returns {any}
25370
+ * @returns {Ut1Validated<number> | null}
25323
25371
  */
25324
25372
  transmitEpochClockAtQueries(satellite, state_epoch, selection_epoch) {
25325
25373
  const ptr0 = passStringToWasm0(satellite, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -27280,7 +27328,7 @@ if (Symbol.dispose) TerrainGeoidModel.prototype[Symbol.dispose] = TerrainGeoidMo
27280
27328
 
27281
27329
  /**
27282
27330
  * Terrain store conversion, serialization, and parsing error variants.
27283
- * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10}
27331
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11}
27284
27332
  */
27285
27333
  export const TerrainStoreError = Object.freeze({
27286
27334
  /**
@@ -27330,6 +27378,11 @@ export const TerrainStoreError = Object.freeze({
27330
27378
  * A future core terrain-store error not yet mapped by this binding.
27331
27379
  */
27332
27380
  Unknown: 10, "10": "Unknown",
27381
+ /**
27382
+ * A DTED input could not be read as a tile. Appended to preserve all
27383
+ * previously published numeric enum discriminants.
27384
+ */
27385
+ Tile: 11, "11": "Tile",
27333
27386
  });
27334
27387
 
27335
27388
  /**
@@ -37715,8 +37768,8 @@ export function solvePppFixed(sp3, epochs, float_solution, config) {
37715
37768
  * @param {any} epochs
37716
37769
  * @param {PppFloatSolution} float_solution
37717
37770
  * @param {any} config
37718
- * @param {boolean | null} [fallback_to_broadcast]
37719
- * @param {number | null} [allow_regional_provider]
37771
+ * @param {boolean | null | undefined} fallback_to_broadcast
37772
+ * @param {number | null | undefined} allow_regional_provider
37720
37773
  * @param {string | null} [validity]
37721
37774
  * @returns {PppFixedSolution}
37722
37775
  */
@@ -37726,7 +37779,7 @@ export function solvePppFixedWithSsr(broadcast, store, epochs, float_solution, c
37726
37779
  _assertClass(float_solution, PppFloatSolution);
37727
37780
  var ptr0 = isLikeNone(validity) ? 0 : passStringToWasm0(validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
37728
37781
  var len0 = WASM_VECTOR_LEN;
37729
- const ret = wasm.solvePppFixedWithSsr(broadcast.__wbg_ptr, store.__wbg_ptr, epochs, float_solution.__wbg_ptr, config, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr0, len0);
37782
+ const ret = wasm.solvePppFixedWithSsr(broadcast.__wbg_ptr, store.__wbg_ptr, epochs, float_solution.__wbg_ptr, config, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr0, len0);
37730
37783
  if (ret[2]) {
37731
37784
  throw takeFromExternrefTable0(ret[1]);
37732
37785
  }
@@ -37760,8 +37813,8 @@ export function solvePppFloat(sp3, epochs, initial_state, config) {
37760
37813
  * @param {any} epochs
37761
37814
  * @param {any} initial_state
37762
37815
  * @param {any} config
37763
- * @param {boolean | null} [fallback_to_broadcast]
37764
- * @param {number | null} [allow_regional_provider]
37816
+ * @param {boolean | null | undefined} fallback_to_broadcast
37817
+ * @param {number | null | undefined} allow_regional_provider
37765
37818
  * @param {string | null} [validity]
37766
37819
  * @returns {PppFloatSolution}
37767
37820
  */
@@ -37770,7 +37823,7 @@ export function solvePppFloatWithSsr(broadcast, store, epochs, initial_state, co
37770
37823
  _assertClass(store, SsrCorrectionStore);
37771
37824
  var ptr0 = isLikeNone(validity) ? 0 : passStringToWasm0(validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
37772
37825
  var len0 = WASM_VECTOR_LEN;
37773
- const ret = wasm.solvePppFloatWithSsr(broadcast.__wbg_ptr, store.__wbg_ptr, epochs, initial_state, config, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr0, len0);
37826
+ const ret = wasm.solvePppFloatWithSsr(broadcast.__wbg_ptr, store.__wbg_ptr, epochs, initial_state, config, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr0, len0);
37774
37827
  if (ret[2]) {
37775
37828
  throw takeFromExternrefTable0(ret[1]);
37776
37829
  }
@@ -37886,8 +37939,8 @@ export function solveSppSbas(broadcast, store, geo, request, mode) {
37886
37939
  * @param {SsrCorrectionStore} store
37887
37940
  * @param {any} request
37888
37941
  * @param {ExactEpoch} receive_epoch
37889
- * @param {boolean | null} [fallback_to_broadcast]
37890
- * @param {number | null} [allow_regional_provider]
37942
+ * @param {boolean | null | undefined} fallback_to_broadcast
37943
+ * @param {number | null | undefined} allow_regional_provider
37891
37944
  * @param {string | null} [validity]
37892
37945
  * @returns {SppSolution}
37893
37946
  */
@@ -37897,7 +37950,7 @@ export function solveSppWithSsrExactEpoch(broadcast, store, request, receive_epo
37897
37950
  _assertClass(receive_epoch, ExactEpoch);
37898
37951
  var ptr0 = isLikeNone(validity) ? 0 : passStringToWasm0(validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
37899
37952
  var len0 = WASM_VECTOR_LEN;
37900
- const ret = wasm.solveSppWithSsrExactEpoch(broadcast.__wbg_ptr, store.__wbg_ptr, request, receive_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr0, len0);
37953
+ const ret = wasm.solveSppWithSsrExactEpoch(broadcast.__wbg_ptr, store.__wbg_ptr, request, receive_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr0, len0);
37901
37954
  if (ret[2]) {
37902
37955
  throw takeFromExternrefTable0(ret[1]);
37903
37956
  }
@@ -38380,8 +38433,8 @@ export function sppInputsFromRinexObs(source, obs, options) {
38380
38433
  * @param {SsrCorrectionStore} store
38381
38434
  * @param {string} sat
38382
38435
  * @param {number} t_j2000_s
38383
- * @param {boolean | null} [fallback_to_broadcast]
38384
- * @param {number | null} [allow_regional_provider]
38436
+ * @param {boolean | null | undefined} fallback_to_broadcast
38437
+ * @param {number | null | undefined} allow_regional_provider
38385
38438
  * @param {string | null} [ut1_validity]
38386
38439
  * @returns {SsrCorrectedState | null}
38387
38440
  */
@@ -38392,7 +38445,7 @@ export function ssrCorrectedState(broadcast, store, sat, t_j2000_s, fallback_to_
38392
38445
  const len0 = WASM_VECTOR_LEN;
38393
38446
  var ptr1 = isLikeNone(ut1_validity) ? 0 : passStringToWasm0(ut1_validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
38394
38447
  var len1 = WASM_VECTOR_LEN;
38395
- const ret = wasm.ssrCorrectedState(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, t_j2000_s, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr1, len1);
38448
+ const ret = wasm.ssrCorrectedState(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, t_j2000_s, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr1, len1);
38396
38449
  if (ret[2]) {
38397
38450
  throw takeFromExternrefTable0(ret[1]);
38398
38451
  }
@@ -38405,8 +38458,8 @@ export function ssrCorrectedState(broadcast, store, sat, t_j2000_s, fallback_to_
38405
38458
  * @param {string} sat
38406
38459
  * @param {ExactEpochQuery} epoch
38407
38460
  * @param {ExactEpochQuery} selection_epoch
38408
- * @param {boolean | null} [fallback_to_broadcast]
38409
- * @param {number | null} [allow_regional_provider]
38461
+ * @param {boolean | null | undefined} fallback_to_broadcast
38462
+ * @param {number | null | undefined} allow_regional_provider
38410
38463
  * @param {string | null} [ut1_validity]
38411
38464
  * @returns {SsrCorrectedState | null}
38412
38465
  */
@@ -38419,7 +38472,7 @@ export function ssrCorrectedStateExact(broadcast, store, sat, epoch, selection_e
38419
38472
  _assertClass(selection_epoch, ExactEpochQuery);
38420
38473
  var ptr1 = isLikeNone(ut1_validity) ? 0 : passStringToWasm0(ut1_validity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
38421
38474
  var len1 = WASM_VECTOR_LEN;
38422
- const ret = wasm.ssrCorrectedStateExact(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, epoch.__wbg_ptr, selection_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider, ptr1, len1);
38475
+ const ret = wasm.ssrCorrectedStateExact(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, epoch.__wbg_ptr, selection_epoch.__wbg_ptr, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, allow_regional_provider, ptr1, len1);
38423
38476
  if (ret[2]) {
38424
38477
  throw takeFromExternrefTable0(ret[1]);
38425
38478
  }
Binary file