@wemap/osm 0.3.4 → 0.3.5

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
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/osm"
12
12
  },
13
13
  "name": "@wemap/osm",
14
- "version": "0.3.4",
14
+ "version": "0.3.5",
15
15
  "bugs": {
16
16
  "url": "https://github.com/wemap/wemap-utils-js/issues"
17
17
  },
@@ -32,5 +32,5 @@
32
32
  "lodash.isnumber": "^3.0.3",
33
33
  "sax": "^1.2.4"
34
34
  },
35
- "gitHead": "ba6b8ab6550b6b3bf87eddff821865e3147cfc96"
35
+ "gitHead": "45e0f1b0f795849ff7038558b4f5bbde9cf80e29"
36
36
  }
@@ -111,8 +111,11 @@ class OsrmUtils {
111
111
  };
112
112
  }
113
113
 
114
- static get noRouteFoundJson() {
115
- return { 'code': 'NoRoute' };
114
+ static noRouteFoundJson(message) {
115
+ return {
116
+ 'code': 'NoRoute',
117
+ message
118
+ };
116
119
  }
117
120
 
118
121