@stadiamaps/ferrostar 0.41.0 → 0.42.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,6 +415,19 @@ export interface GeographicCoordinate {
415
415
  lng: number;
416
416
  }
417
417
 
418
+ /**
419
+ * Status information that describes whether the user is proceeding according to the route or not.
420
+ *
421
+ * Note that the name is intentionally a bit generic to allow for expansion of other states.
422
+ * For example, we could conceivably add a \"wrong way\" status in the future.
423
+ */
424
+ export type RouteDeviation = "NoDeviation" | { OffRoute: { deviationFromRouteLine: number } };
425
+
426
+ /**
427
+ * Determines if the user has deviated from the expected route.
428
+ */
429
+ export type RouteDeviationTracking = "None" | { StaticThreshold: { minimumHorizontalAccuracy: number; maxAcceptableDeviation: number } };
430
+
418
431
  export type SerializableStepAdvanceCondition = "Manual" | { DistanceToEndOfStep: { distance: number; minimumHorizontalAccuracy: number } } | { DistanceFromStep: { distance: number; minimumHorizontalAccuracy: number } } | { DistanceEntryExit: { distanceToEndOfStep: number; distanceAfterEndStep: number; minimumHorizontalAccuracy: number; hasReachedEndOfCurrentStep: boolean } } | { OrAdvanceConditions: { conditions: SerializableStepAdvanceCondition[] } } | { AndAdvanceConditions: { conditions: SerializableStepAdvanceCondition[] } };
419
432
 
420
433
  /**
@@ -571,19 +584,6 @@ export interface LocationSimulationState {
571
584
  bias: LocationBias;
572
585
  }
573
586
 
574
- /**
575
- * Status information that describes whether the user is proceeding according to the route or not.
576
- *
577
- * Note that the name is intentionally a bit generic to allow for expansion of other states.
578
- * For example, we could conceivably add a \"wrong way\" status in the future.
579
- */
580
- export type RouteDeviation = "NoDeviation" | { OffRoute: { deviationFromRouteLine: number } };
581
-
582
- /**
583
- * Determines if the user has deviated from the expected route.
584
- */
585
- export type RouteDeviationTracking = "None" | { StaticThreshold: { minimumHorizontalAccuracy: number; maxAcceptableDeviation: number } };
586
-
587
587
  /**
588
588
  * JavaScript wrapper for `NavigationController`.
589
589
  * This wrapper is required because `NavigationController` cannot be directly converted to a JavaScript object
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.41.0",
10
+ "version": "0.42.0",
11
11
  "license": "BSD-3-Clause",
12
12
  "repository": {
13
13
  "type": "git",