@skyvexsoftware/stratos-sdk 0.25.0 → 0.27.0

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.
@@ -32,6 +32,12 @@ export type HistoryReportEntry = {
32
32
  altitude: number;
33
33
  altitudeAgl: number;
34
34
  heading: number;
35
+ /**
36
+ * Magnetic heading (what the cockpit instruments show). `heading` is true.
37
+ * Null when the simulator did not report it, and for samples recorded
38
+ * before this field existed. Undefined from a core that predates it.
39
+ */
40
+ headingMagnetic?: number | null;
35
41
  groundSpeed: number;
36
42
  indicatedAirspeed: number;
37
43
  verticalSpeed: number;
@@ -111,7 +111,14 @@ export type RecoverableFlight = {
111
111
  latitude: number | null;
112
112
  longitude: number | null;
113
113
  altitude: number | null;
114
+ /** True heading in degrees. The autopilot selector is magnetic, so see `headingMagnetic` for what to show the pilot. */
114
115
  heading: number | null;
116
+ /**
117
+ * Magnetic heading in degrees: `heading` is true, this is what the cockpit
118
+ * shows and what the autopilot heading selector takes. Null when it was not
119
+ * recorded. Undefined when the core predates the field.
120
+ */
121
+ headingMagnetic?: number | null;
115
122
  groundSpeed: number | null;
116
123
  indicatedAirspeed: number | null;
117
124
  startedAt: number | null;
@@ -1,6 +1,7 @@
1
1
  declare const _default: any;
2
2
  export default _default;
3
3
  export declare const __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE: any;
4
+ export declare const browser: any;
4
5
  export declare const createPortal: any;
5
6
  export declare const flushSync: any;
6
7
  export declare const preconnect: any;
@@ -8,6 +8,7 @@ if (!__m)
8
8
  throw new Error('Stratos: window.__stratos_modules__["react-dom"] is not available. The shell must initialize it before plugin modules evaluate.');
9
9
  export default __m.default ?? __m;
10
10
  export const __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = __m.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
11
+ export const browser = __m.browser;
11
12
  export const createPortal = __m.createPortal;
12
13
  export const flushSync = __m.flushSync;
13
14
  export const preconnect = __m.preconnect;
@@ -4,6 +4,7 @@ export declare const __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPG
4
4
  export declare const __COMPILER_RUNTIME: any;
5
5
  export declare const act: any;
6
6
  export declare const Activity: any;
7
+ export declare const addTransitionType: any;
7
8
  export declare const cache: any;
8
9
  export declare const cacheSignal: any;
9
10
  export declare const captureOwnerStack: any;
@@ -44,4 +45,5 @@ export declare const useState: any;
44
45
  export declare const useSyncExternalStore: any;
45
46
  export declare const useTransition: any;
46
47
  export declare const version: any;
48
+ export declare const ViewTransition: any;
47
49
  //# sourceMappingURL=react.d.ts.map
@@ -11,6 +11,7 @@ export const __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _
11
11
  export const __COMPILER_RUNTIME = __m.__COMPILER_RUNTIME;
12
12
  export const act = __m.act;
13
13
  export const Activity = __m.Activity;
14
+ export const addTransitionType = __m.addTransitionType;
14
15
  export const cache = __m.cache;
15
16
  export const cacheSignal = __m.cacheSignal;
16
17
  export const captureOwnerStack = __m.captureOwnerStack;
@@ -51,3 +52,4 @@ export const useState = __m.useState;
51
52
  export const useSyncExternalStore = __m.useSyncExternalStore;
52
53
  export const useTransition = __m.useTransition;
53
54
  export const version = __m.version;
55
+ export const ViewTransition = __m.ViewTransition;
@@ -1,4 +1,4 @@
1
- import type maplibregl from "maplibre-gl";
1
+ import type * as maplibregl from "maplibre-gl";
2
2
  /**
3
3
  * The Stratos look on top of the base style: English place names (else the
4
4
  * local name), no village, hamlet, highway shield or minor road labels, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvexsoftware/stratos-sdk",
3
- "version": "0.25.0",
3
+ "version": "0.27.0",
4
4
  "description": "Plugin SDK for Stratos — types, hooks, and UI components",
5
5
  "author": {
6
6
  "name": "Skyvex Software Pty Ltd",
@@ -107,7 +107,7 @@
107
107
  "class-variance-authority": "^0.7.0",
108
108
  "cmdk": "^1.0.0",
109
109
  "lucide-react": ">=0.300.0",
110
- "maplibre-gl": "^5.0.0",
110
+ "maplibre-gl": "^6.0.0",
111
111
  "react": "^19.0.0",
112
112
  "react-map-gl": "^8.0.0",
113
113
  "socket.io-client": "^4.0.0",
@@ -122,34 +122,35 @@
122
122
  }
123
123
  },
124
124
  "dependencies": {
125
- "axios": "^1.17.0",
125
+ "axios": "^1.20.0",
126
126
  "clsx": "^2.1.1",
127
127
  "magic-string": "^0.30.21",
128
- "tailwind-merge": "^3.2.0"
128
+ "tailwind-merge": "^3.7.0"
129
129
  },
130
130
  "devDependencies": {
131
- "@radix-ui/react-alert-dialog": "^1.1.15",
132
- "@radix-ui/react-dialog": "^1.1.15",
131
+ "@radix-ui/react-alert-dialog": "^1.2.1",
132
+ "@radix-ui/react-dialog": "^1.3.1",
133
133
  "@radix-ui/react-label": "2.1.7",
134
- "@radix-ui/react-popover": "^1.1.15",
135
- "@radix-ui/react-radio-group": "^1.3.8",
136
- "@radix-ui/react-select": "^2.1.8",
134
+ "@radix-ui/react-popover": "^1.3.1",
135
+ "@radix-ui/react-radio-group": "^1.5.1",
136
+ "@radix-ui/react-select": "^2.4.1",
137
137
  "@radix-ui/react-separator": "1.1.7",
138
- "@radix-ui/react-slider": "^1.3.6",
138
+ "@radix-ui/react-slider": "^1.6.1",
139
139
  "@radix-ui/react-slot": "1.2.3",
140
- "@radix-ui/react-tabs": "^1.1.8",
141
- "@radix-ui/react-tooltip": "^1.1.12",
142
- "@types/react": "^19.1.2",
143
- "@types/react-dom": "^19.1.2",
144
- "@vitejs/plugin-react": "^5.1.4",
140
+ "@radix-ui/react-tabs": "^1.2.1",
141
+ "@radix-ui/react-tooltip": "^1.4.1",
142
+ "@types/react": "^19.3.0",
143
+ "@types/react-dom": "^19.3.0",
144
+ "@vitejs/plugin-react": "^5.2.0",
145
145
  "class-variance-authority": "^0.7.1",
146
146
  "cmdk": "^1.1.1",
147
147
  "lucide-react": "^0.577.0",
148
- "maplibre-gl": "5.19.0",
149
- "react-dom": "^19.0.0",
150
- "react-map-gl": "8.1.1",
151
- "socket.io-client": "^4.8.3",
152
- "typescript": "^5.8.3",
153
- "vite": "^7.3.1"
148
+ "maplibre-gl": "6.16.0",
149
+ "react": "19.3.0",
150
+ "react-dom": "19.3.0",
151
+ "react-map-gl": "8.1.3",
152
+ "socket.io-client": "^4.8.4",
153
+ "typescript": "^5.9.3",
154
+ "vite": "^7.3.7"
154
155
  }
155
156
  }