add missing dep, expose profile

This commit is contained in:
Jannis R 2017-12-16 07:54:39 +01:00
parent e03ad5bf3d
commit 1415036e46
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 1 deletions

View file

@ -227,6 +227,7 @@ const createClient = (profile) => {
const client = {departures, journeys, locations, nearby} const client = {departures, journeys, locations, nearby}
if (profile.journeyPart) client.journeyPart = journeyPart if (profile.journeyPart) client.journeyPart = journeyPart
if (profile.radar) client.radar = radar if (profile.radar) client.radar = radar
Object.defineProperty(client, 'profile', {value: profile})
return client return client
} }

View file

@ -33,6 +33,7 @@
"pinkie-promise": "^2.0.1", "pinkie-promise": "^2.0.1",
"query-string": "^5.0.0", "query-string": "^5.0.0",
"slugg": "^1.2.0", "slugg": "^1.2.0",
"vbb-parse-line": "^0.2.5",
"vbb-parse-ticket": "^0.2.1", "vbb-parse-ticket": "^0.2.1",
"vbb-short-station-name": "^0.4.0", "vbb-short-station-name": "^0.4.0",
"vbb-stations": "^5.8.0", "vbb-stations": "^5.8.0",
@ -47,7 +48,6 @@
"tape": "^4.8.0", "tape": "^4.8.0",
"tape-promise": "^2.0.1", "tape-promise": "^2.0.1",
"validate-fptf": "^1.0.2", "validate-fptf": "^1.0.2",
"vbb-parse-line": "^0.2.5",
"vbb-stations-autocomplete": "^2.9.0" "vbb-stations-autocomplete": "^2.9.0"
}, },
"scripts": { "scripts": {