mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-04-20 23:23:56 +03:00
* Removed Proxy and local address code * replaced node crypto with web crypto * Replaced require with static imports * removed commented out imports * import db-hafas-stations on demand * trying to handle undefined envs * Less optimistic variable handling * cleanup * Small browser docs addition * Linting * No async in new Promise * Bumped eslint to v9 and ecmaScript to 2025 * removed duplicated eslint config * Bumped minimal node version to node 18 * Added node 24 * using math.random instead of webcrypto and reintroduced randomizeUserAgent * Oh no node 24 is actually not released yet * removed temp debug file
32 lines
842 B
JavaScript
32 lines
842 B
JavaScript
import baseProfile from './base.json' with { type: 'json' };
|
|
import {products} from '../../lib/products.js';
|
|
import {formatJourneysReq, formatRefreshJourneyReq} from './journeys-req.js';
|
|
import {formatTripReq} from './trip-req.js';
|
|
import {formatLocationFilter} from './location-filter.js';
|
|
import {formatLocationsReq} from './locations-req.js';
|
|
import {formatStopReq} from './stop-req.js';
|
|
import {formatNearbyReq} from './nearby-req.js';
|
|
import {formatStationBoardReq} from './station-board-req.js';
|
|
import {parseStop} from './parse-stop.js';
|
|
|
|
const profile = {
|
|
...baseProfile,
|
|
locale: 'de-DE',
|
|
timezone: 'Europe/Berlin',
|
|
|
|
products,
|
|
formatJourneysReq,
|
|
formatRefreshJourneyReq,
|
|
formatTripReq,
|
|
formatNearbyReq,
|
|
formatLocationsReq,
|
|
formatStopReq,
|
|
formatStationBoardReq,
|
|
formatLocationFilter,
|
|
|
|
parseStop,
|
|
};
|
|
|
|
export {
|
|
profile,
|
|
};
|