mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
changelog 📝, minor changes, 4.5.0
[ci skip]
This commit is contained in:
parent
b57c212bb5
commit
f5121f1bf6
5 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## `4.5.0`
|
||||
|
||||
- b144dd5/b57c212 return nice error messages & error codes
|
||||
|
||||
## `4.4.0`
|
||||
|
||||
- e46d6cd `parseLocation`: expose `stop.isMeta`
|
||||
|
|
|
@ -19,7 +19,7 @@ module.exports = [
|
|||
default: true
|
||||
},
|
||||
{
|
||||
id: 'regionalExp',
|
||||
id: 'regionalExp', // todo: rename
|
||||
mode: 'train',
|
||||
bitmasks: [4],
|
||||
name: 'RegionalExpress & InterRegio',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hafas-client",
|
||||
"description": "Client for HAFAS public transport APIs.",
|
||||
"version": "4.4.0",
|
||||
"version": "4.5.0",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js",
|
||||
|
@ -17,7 +17,7 @@
|
|||
"contributors": [
|
||||
"Julius Tens <mail@juliustens.eu>"
|
||||
],
|
||||
"homepage": "https://github.com/public-transport/hafas-client/tree/4.3.0",
|
||||
"homepage": "https://github.com/public-transport/hafas-client/tree/4.5.0",
|
||||
"repository": "public-transport/hafas-client",
|
||||
"bugs": "https://github.com/public-transport/hafas-client/issues",
|
||||
"license": "ISC",
|
||||
|
|
|
@ -38,7 +38,6 @@ const parseWarning = (profile, w, icons) => {
|
|||
}
|
||||
if ('prod' in w) res.products = profile.parseProducts(61442)
|
||||
|
||||
// todo: pass tzOffset to `parseDateTime`
|
||||
if (w.sDate && w.sTime) res.validFrom = parseDateTime(profile, w.sDate, w.sTime, null)
|
||||
if (w.eDate && w.eTime) res.validUntil = parseDateTime(profile, w.eDate, w.eTime, null)
|
||||
if (w.lModDate && w.lModTime) res.modified = parseDateTime(profile, w.lModDate, w.lModTime, null)
|
||||
|
|
|
@ -24,7 +24,6 @@ HAFAS endpoint | library
|
|||
|
||||
[](https://www.npmjs.com/package/hafas-client)
|
||||
[](https://travis-ci.org/public-transport/hafas-client)
|
||||
[](https://ci.appveyor.com/project/public-transport/hafas-client)
|
||||

|
||||
[](https://gitter.im/public-transport/Lobby)
|
||||
[](https://patreon.com/derhuerst)
|
||||
|
@ -198,6 +197,7 @@ The returned [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript
|
|||
- [List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.](https://github.com/public-transport/european-transport-operators)
|
||||
- [Collection of european transport JavaScript modules.](https://github.com/public-transport/european-transport-modules)
|
||||
- [`hafas-collect-departures-at`](https://github.com/derhuerst/hafas-collect-departures-at#hafas-collect-departures-at) – Utility to collect departures, using any HAFAS client.
|
||||
- [`hafas-monitor-trips`](https://github.com/derhuerst/hafas-monitor-trips#hafas-monitor-trips) – Using a HAFAS client, watch all trips in a bounding box.
|
||||
- [`hafas-monitor-departures`](https://github.com/derhuerst/hafas-monitor-departures#hafas-monitor-departures) – Pass in a HAFAS client, fetch all departures at any set of stations.
|
||||
- [`hafas-record-delays`](https://github.com/derhuerst/hafas-record-delays#hafas-record-delays) – Record delays from `hafas-monitor-departures` into a LevelDB.
|
||||
- [`hafas-monitor-journeys`](https://github.com/derhuerst/hafas-monitor-journeys) – Use `hafas-client` to monitor journeys from A to B.
|
||||
|
|
Loading…
Add table
Reference in a new issue