Comparing version 1.0.1 to 1.0.2
@@ -72,3 +72,3 @@ 'use strict' | ||
const transformTariffs = (t) => ({ | ||
const transformTariffs = (t) => (t && { | ||
model: t.tickets['1t0'].name, | ||
@@ -80,3 +80,3 @@ amount: +(t.tickets['1t0'].price) / 100, | ||
const transformZones = (z) => ({ | ||
const transformZones = (z) => (z && { | ||
departure: z.zone_start, | ||
@@ -87,3 +87,3 @@ arrival: z.zone_end, | ||
const transformJourney = (j) => ({ | ||
const transformJourney = (j) => (j && { | ||
type: 'journey', | ||
@@ -90,0 +90,0 @@ id: hashJourney(j), |
{ | ||
"name": "lvb", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Inofficial LVB (Leipziger Verkehrsbetriebe) API client.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
21555