@wemap/routers 11.3.1 → 11.3.2

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.mjs CHANGED
@@ -845,9 +845,9 @@ const _WemapOsmRouter = class extends GeoGraphRouter {
845
845
  return false;
846
846
  if (typeof (options == null ? void 0 : options.useStairs) !== "undefined" && !(options == null ? void 0 : options.useStairs) && edge.data instanceof OsmWay && edge.data.areStairs && !edge.data.isConveying)
847
847
  return false;
848
- if (typeof (options == null ? void 0 : options.useEscalator) !== "undefined" && !(options == null ? void 0 : options.useEscalator) && edge.data instanceof OsmWay && edge.data.areStairs && edge.data.isConveying)
848
+ if (typeof (options == null ? void 0 : options.useEscalators) !== "undefined" && !(options == null ? void 0 : options.useEscalators) && edge.data instanceof OsmWay && edge.data.areStairs && edge.data.isConveying)
849
849
  return false;
850
- if (typeof (options == null ? void 0 : options.useElevator) !== "undefined" && !(options == null ? void 0 : options.useElevator) && ((_c = edge.data) == null ? void 0 : _c.isElevator))
850
+ if (typeof (options == null ? void 0 : options.useElevators) !== "undefined" && !(options == null ? void 0 : options.useElevators) && ((_c = edge.data) == null ? void 0 : _c.isElevator))
851
851
  return false;
852
852
  return true;
853
853
  };