@furkot/directions 2.1.0 → 2.1.1

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.
@@ -205,6 +205,9 @@ function init(options) {
205
205
  restrictions
206
206
  }
207
207
  };
208
+ if (query.mode === travelMode.rv) {
209
+ req.options.vehicle_type = 'hgv';
210
+ }
208
211
  }
209
212
  const param = { query, req };
210
213
  if ((profile[query.mode] || profile[0]) === 'driving-car') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furkot/directions",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Directions service for Furkot",
5
5
  "author": {
6
6
  "name": "Damian Krzeminski",