@wemap/routers 12.9.2 → 12.10.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/dist/index.js CHANGED
@@ -439,6 +439,8 @@ class StepsBuilder {
439
439
  levelChangeType = "stairs";
440
440
  } else if (isMovingWalkway) {
441
441
  levelChangeType = "moving walkway";
442
+ } else {
443
+ levelChangeType = "incline plane";
442
444
  }
443
445
  let forceLevelChange;
444
446
  if ((areStairs || isElevator) && incline && !(previousStep == null ? void 0 : previousStep.levelChange)) {
@@ -4997,6 +4999,9 @@ const _InstructionManager = class _InstructionManager {
4997
4999
  if (step.levelChange.type === "moving walkway") {
4998
5000
  return "Go up the moving walkway";
4999
5001
  }
5002
+ if (step.levelChange.type === "incline plane") {
5003
+ return "Go up the incline plane";
5004
+ }
5000
5005
  return "Go up" + suffix;
5001
5006
  }
5002
5007
  if (step.levelChange.direction === "down") {
@@ -5012,6 +5017,9 @@ const _InstructionManager = class _InstructionManager {
5012
5017
  if (step.levelChange.type === "moving walkway") {
5013
5018
  return "Go down the moving walkway";
5014
5019
  }
5020
+ if (step.levelChange.type === "incline plane") {
5021
+ return "Go down the incline plane";
5022
+ }
5015
5023
  return "Go down" + suffix;
5016
5024
  }
5017
5025
  if ((_b = step.extras) == null ? void 0 : _b.subwayEntrance) {