@stadiamaps/ferrostar 0.33.0 → 0.34.1
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.
- package/ferrostar.d.ts +1 -1
- package/ferrostar_bg.wasm +0 -0
- package/package.json +1 -1
package/ferrostar.d.ts
CHANGED
|
@@ -162,7 +162,7 @@ export type StepAdvanceMode = "Manual" | { DistanceToEndOfStep: { distance: numb
|
|
|
162
162
|
|
|
163
163
|
export type CourseFiltering = "SnapToRoute" | "Raw";
|
|
164
164
|
|
|
165
|
-
export type TripState =
|
|
165
|
+
export type TripState = { Idle: { user_location: UserLocation | undefined } } | { Navigating: { currentStepGeometryIndex: number | undefined; userLocation: UserLocation; snappedUserLocation: UserLocation; remainingSteps: RouteStep[]; remainingWaypoints: Waypoint[]; progress: TripProgress; deviation: RouteDeviation; visualInstruction: VisualInstruction | undefined; spokenInstruction: SpokenInstruction | undefined; annotationJson: string | undefined } } | { Complete: { user_location: UserLocation } };
|
|
166
166
|
|
|
167
167
|
export interface TripProgress {
|
|
168
168
|
distanceToNextManeuver: number;
|
package/ferrostar_bg.wasm
CHANGED
|
Binary file
|