@skyvexsoftware/stratos-sdk 0.10.2 → 0.10.4

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.
@@ -298,7 +298,19 @@ export type LandingAnalysis = {
298
298
  touchdownFlapsIndex: number | null;
299
299
  touchdownPitch: number;
300
300
  touchdownBank: number;
301
+ /**
302
+ * Scored touchdown vertical-load G. The peak of a framerate-independent,
303
+ * time-constant EMA of per-frame gForce over the contact second — not the
304
+ * raw spike. This is the value scoring reads.
305
+ */
301
306
  touchdownGForce: number;
307
+ /**
308
+ * Forensic raw peak gForce over the same contact window (un-smoothed). Kept
309
+ * for diagnostics; NOT used for scoring. Optional/null when no frame-buffer
310
+ * samples fell in the window (the scored value then came from the instantaneous
311
+ * touchdown-frame G and there is no raw window peak to report).
312
+ */
313
+ touchdownGForceRaw?: number | null;
302
314
  approachAltitude: number;
303
315
  approachIas: number;
304
316
  approachVs: number;
@@ -187,6 +187,7 @@ function createUIConfig(pluginDir, entry, extraConfig) {
187
187
  * aliases, externals, or output layout.
188
188
  */
189
189
  export function backgroundBuildOptions(pluginDir, entry) {
190
+ const isProduction = process.env.NODE_ENV === "production";
190
191
  return {
191
192
  root: pluginDir,
192
193
  resolve: {
@@ -223,7 +224,7 @@ export function backgroundBuildOptions(pluginDir, entry) {
223
224
  },
224
225
  },
225
226
  sourcemap: true,
226
- minify: false,
227
+ minify: isProduction ? "esbuild" : false,
227
228
  },
228
229
  };
229
230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software Pty Ltd",