@wemap/routers 12.8.2 → 12.8.4

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.js CHANGED
@@ -3333,6 +3333,7 @@ class IdfmRemoteRouter extends RemoteRouter {
3333
3333
  const coreParams = new URLSearchParams();
3334
3334
  coreParams.set("from", `${origin.longitude};${origin.latitude}`);
3335
3335
  coreParams.set("to", `${destination.longitude};${destination.latitude}`);
3336
+ coreParams.set("data_freshness", "realtime");
3336
3337
  if ((_a = routerRequest.itineraryModifiers) == null ? void 0 : _a.avoidStairs) {
3337
3338
  coreParams.set("wheelchair", "true");
3338
3339
  }