@skyvexsoftware/stratos-sdk 0.15.0 → 0.15.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.
@@ -131,6 +131,13 @@ export type StartFlightResult = {
131
131
  vaConfirmation?: string;
132
132
  /** Sim variables sent to VA for display in confirmation dialog */
133
133
  simVariables?: Record<string, string>;
134
+ /**
135
+ * Per-start override flag from the VA `/flights/start` response (`can_override`).
136
+ * Takes priority over the airline's `allowStartOverride` setting for the
137
+ * confirmation dialog: `true` always permits "Start tracking anyway", `false`
138
+ * always forbids it. Omitted ⇒ the `allowStartOverride` setting applies.
139
+ */
140
+ canOverride?: boolean;
134
141
  error?: string;
135
142
  };
136
143
  //# sourceMappingURL=flight-manager.d.ts.map
@@ -125,6 +125,14 @@ export type LandingSample = {
125
125
  pitch: number;
126
126
  bank: number;
127
127
  groundSpeed: number;
128
+ /**
129
+ * Indicated airspeed (knots) at the sample. Optional: absent on payloads from
130
+ * shells older than the frame-IAS fix, in which case consumers fall back to
131
+ * `groundSpeed`. When present it is the sim's true `AIRSPEED INDICATED` (MSFS)
132
+ * / `indicated_airspeed` (X-Plane), so the FDR IAS column is real IAS rather
133
+ * than a copy of groundspeed.
134
+ */
135
+ indicatedAirspeed?: number;
128
136
  latitude: number;
129
137
  longitude: number;
130
138
  glideslopeDeviation: number | null;
@@ -206,6 +206,12 @@ export type AutoStartConfirmPayload = {
206
206
  flightPlan: FlightPlan;
207
207
  /** Booking bid_id so the renderer can fetch the full booking. */
208
208
  bidId: number;
209
+ /**
210
+ * Per-start override flag from the VA `/flights/start` response (`can_override`).
211
+ * Takes priority over the airline's `allowStartOverride` setting. Omitted ⇒ the
212
+ * setting applies.
213
+ */
214
+ canOverride?: boolean;
209
215
  };
210
216
  /** Socket.io connection state as observed by the client. */
211
217
  export type ConnectionState = "connecting" | "connected" | "disconnected" | "error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software Pty Ltd",