@12-apps/routing 1.1.0 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12-apps/routing",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Road routes through an ordered list of stops, with the routing service chosen by host configuration (openrouteservice, OSRM, Google Routes, or your own adapter) and a straight-line fallback when none answers, plus a MapLibre route map for web hosts that draws markers, stops, a planned and a travelled line.",
@@ -19,7 +19,8 @@ export interface OpenRouteServiceOptions {
19
19
  baseUrl?: string;
20
20
  }
21
21
 
22
- const DEFAULT_BASE_URL = "https://api.openrouteservice.org";
22
+ /** `api.openrouteservice.org` is deprecated in favour of this host. */
23
+ const DEFAULT_BASE_URL = "https://api.heigit.org/openrouteservice";
23
24
 
24
25
  interface OrsSegment {
25
26
  distance?: unknown;