@skyvexsoftware/stratos-sdk 0.10.4 → 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.10.4",
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",