@stadiamaps/ferrostar 0.37.0 → 0.38.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.
package/ferrostar.d.ts CHANGED
@@ -415,23 +415,6 @@ export interface GeographicCoordinate {
415
415
  lng: number;
416
416
  }
417
417
 
418
- export type SimulationError = { PolylineError: { error: string } } | "NotEnoughPoints";
419
-
420
- /**
421
- * Controls how simulated locations deviate from the actual route line.
422
- * This simulates real-world GPS behavior where readings often have systematic bias.
423
- */
424
- export type LocationBias = { Left: number } | { Right: number } | { Random: number } | "None";
425
-
426
- /**
427
- * The current state of the simulation.
428
- */
429
- export interface LocationSimulationState {
430
- current_location: UserLocation;
431
- remaining_locations: GeographicCoordinate[];
432
- bias: LocationBias;
433
- }
434
-
435
418
  export interface NavigationControllerConfig {
436
419
  /**
437
420
  * Configures when navigation advances to next waypoint in the route.
@@ -556,6 +539,23 @@ export type RouteDeviation = "NoDeviation" | { OffRoute: { deviationFromRouteLin
556
539
  */
557
540
  export type RouteDeviationTracking = "None" | { StaticThreshold: { minimumHorizontalAccuracy: number; maxAcceptableDeviation: number } };
558
541
 
542
+ export type SimulationError = { PolylineError: { error: string } } | "NotEnoughPoints";
543
+
544
+ /**
545
+ * Controls how simulated locations deviate from the actual route line.
546
+ * This simulates real-world GPS behavior where readings often have systematic bias.
547
+ */
548
+ export type LocationBias = { Left: number } | { Right: number } | { Random: number } | "None";
549
+
550
+ /**
551
+ * The current state of the simulation.
552
+ */
553
+ export interface LocationSimulationState {
554
+ current_location: UserLocation;
555
+ remaining_locations: GeographicCoordinate[];
556
+ bias: LocationBias;
557
+ }
558
+
559
559
  /**
560
560
  * JavaScript wrapper for `NavigationController`.
561
561
  */
package/ferrostar_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "Luke Seelenbinder <luke@stadiamaps.com>"
8
8
  ],
9
9
  "description": "The core of modern turn-by-turn navigation.",
10
- "version": "0.37.0",
10
+ "version": "0.38.0",
11
11
  "license": "BSD-3-Clause",
12
12
  "repository": {
13
13
  "type": "git",