@wemap/routers 11.8.6 → 11.8.7

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/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "directory": "packages/routers"
13
13
  },
14
14
  "name": "@wemap/routers",
15
- "version": "11.8.6",
15
+ "version": "11.8.7",
16
16
  "bugs": {
17
17
  "url": "https://github.com/wemap/wemap-modules-js/issues"
18
18
  },
@@ -52,5 +52,5 @@
52
52
  },
53
53
  "./helpers/*": "./helpers/*"
54
54
  },
55
- "gitHead": "85ecb346b13f810d6ab917c2be5c890991281f59"
55
+ "gitHead": "c04ebfaf659b5b6f575c6a4e77c710ffdcad0d4b"
56
56
  }
@@ -268,7 +268,7 @@ class OsrmRemoteRouter extends RemoteRouter {
268
268
  const routingModeCorrespondance = new Map<string, RoutingMode>();
269
269
  routingModeCorrespondance.set('walking', 'WALK');
270
270
  routingModeCorrespondance.set('driving', 'CAR');
271
- routingModeCorrespondance.set('bicycle', 'BIKE');
271
+ routingModeCorrespondance.set('bike', 'BIKE');
272
272
  const mode = routingModeCorrespondance.get(routingMode) || 'WALK';
273
273
 
274
274
  routerResponse.itineraries = jsonRoutes.map(jsonItinerary => {