diff --git a/p/db/index.js b/p/db/index.js index 6a5edde2..0b3a65bf 100644 --- a/p/db/index.js +++ b/p/db/index.js @@ -15,7 +15,7 @@ const formatBitmask = createFormatBitmask(modes) const transformReqBody = (body) => { body.client = {id: 'DB', v: '16040000', type: 'IPH', name: 'DB Navigator'} body.ext = 'DB.R15.12.a' - body.ver = '1.15' + body.ver = '1.16' body.auth = {type: 'AID', aid: 'n91dB8Z77MLdoR0K'} return body @@ -145,7 +145,9 @@ const dbProfile = { parseJourney: createParseJourney, formatStation, - formatProducts + formatProducts, + + journeyLeg: true // todo: #49 } module.exports = dbProfile diff --git a/package.json b/package.json index 52e915ba..cb86c435 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hafas-client", "description": "JavaScript client for HAFAS public transport APIs.", - "version": "2.7.5", + "version": "2.8.0", "main": "index.js", "files": [ "index.js",