@skyvexsoftware/stratos-sdk 0.10.3 → 0.10.5

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.
@@ -100,6 +100,16 @@ export type FlightData = {
100
100
  pauseFlag: boolean;
101
101
  slewMode: boolean;
102
102
  simulationRate: number;
103
+ /**
104
+ * Achieved time-compression multiplier to integrate for flight time, when it
105
+ * differs from the requested `simulationRate`. X-Plane sets this from
106
+ * `sim/time/sim_speed_actual_ogl` — the rate actually achieved after fps
107
+ * limiting and sub-19fps time dilation — so compressed flight time tracks the
108
+ * sim clock that really advanced, not the rate the pilot requested. Left
109
+ * undefined on sims with no achieved-rate source (MSFS/P3D/FSX), where the
110
+ * requested `simulationRate` is authoritative.
111
+ */
112
+ simulationRateActual?: number;
103
113
  isInMenu: boolean;
104
114
  isXPlane: boolean;
105
115
  isHelicopter: boolean;
@@ -298,7 +308,19 @@ export type LandingAnalysis = {
298
308
  touchdownFlapsIndex: number | null;
299
309
  touchdownPitch: number;
300
310
  touchdownBank: number;
311
+ /**
312
+ * Scored touchdown vertical-load G. The peak of a framerate-independent,
313
+ * time-constant EMA of per-frame gForce over the contact second — not the
314
+ * raw spike. This is the value scoring reads.
315
+ */
301
316
  touchdownGForce: number;
317
+ /**
318
+ * Forensic raw peak gForce over the same contact window (un-smoothed). Kept
319
+ * for diagnostics; NOT used for scoring. Optional/null when no frame-buffer
320
+ * samples fell in the window (the scored value then came from the instantaneous
321
+ * touchdown-frame G and there is no raw window peak to report).
322
+ */
323
+ touchdownGForceRaw?: number | null;
302
324
  approachAltitude: number;
303
325
  approachIas: number;
304
326
  approachVs: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software Pty Ltd",