mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
add missing dep, expose profile
This commit is contained in:
parent
e03ad5bf3d
commit
1415036e46
2 changed files with 2 additions and 1 deletions
1
index.js
1
index.js
|
@ -227,6 +227,7 @@ const createClient = (profile) => {
|
|||
const client = {departures, journeys, locations, nearby}
|
||||
if (profile.journeyPart) client.journeyPart = journeyPart
|
||||
if (profile.radar) client.radar = radar
|
||||
Object.defineProperty(client, 'profile', {value: profile})
|
||||
return client
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
"pinkie-promise": "^2.0.1",
|
||||
"query-string": "^5.0.0",
|
||||
"slugg": "^1.2.0",
|
||||
"vbb-parse-line": "^0.2.5",
|
||||
"vbb-parse-ticket": "^0.2.1",
|
||||
"vbb-short-station-name": "^0.4.0",
|
||||
"vbb-stations": "^5.8.0",
|
||||
|
@ -47,7 +48,6 @@
|
|||
"tape": "^4.8.0",
|
||||
"tape-promise": "^2.0.1",
|
||||
"validate-fptf": "^1.0.2",
|
||||
"vbb-parse-line": "^0.2.5",
|
||||
"vbb-stations-autocomplete": "^2.9.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
Loading…
Add table
Reference in a new issue