@wemap/routers 12.8.2 → 12.8.3
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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/remote/idfm/IdfmRemoteRouter.ts +1 -0
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
|
}
|