Comparing version 1.0.4 to 1.0.5
@@ -56,8 +56,8 @@ 'use strict' | ||
const body = { | ||
'results[5][4][function]': 'ws_info_stop', | ||
'results[5][4][data]': JSON.stringify([ | ||
{ name: 'results[5][4][stop]', value: station }, | ||
{ name: 'results[5][4][date]', value: day }, | ||
{ name: 'results[5][4][time]', value: time }, | ||
{ name: 'results[5][4][mode]', value: 'stop' } | ||
'results[5][5][function]': 'ws_info_stop', | ||
'results[5][5][data]': JSON.stringify([ | ||
{ name: 'results[5][5][stop]', value: station }, | ||
{ name: 'results[5][5][date]', value: day }, | ||
{ name: 'results[5][5][time]', value: time }, | ||
{ name: 'results[5][5][mode]', value: 'stop' } | ||
]) | ||
@@ -64,0 +64,0 @@ } |
@@ -118,16 +118,16 @@ 'use strict' | ||
const body = { | ||
'results[5][4][function]': 'ws_find_connections', | ||
'results[5][4][data]': JSON.stringify([ | ||
{ name: 'results[5][4][is_extended]', value: '1' }, | ||
{ name: 'results[5][4][from]', value: origin }, | ||
{ name: 'results[5][4][to]', value: destination }, | ||
{ name: 'results[5][4][via]', value: options.via || '' }, | ||
{ name: 'results[5][4][time_mode]', value: 'departure' }, | ||
{ name: 'results[5][4][time]', value: time }, | ||
{ name: 'results[5][4][date]', value: day }, | ||
{ name: 'results[5][4][means_of_transport][]', value: 'STR' }, | ||
{ name: 'results[5][4][means_of_transport][]', value: 'BUS' }, | ||
{ name: 'results[5][4][means_of_transport][]', value: 'S/U' }, | ||
{ name: 'results[5][4][means_of_transport][]', value: 'RB/RE' }, | ||
{ name: 'results[5][4][mode]', value: 'connection' } | ||
'results[5][5][function]': 'ws_find_connections', | ||
'results[5][5][data]': JSON.stringify([ | ||
{ name: 'results[5][5][is_extended]', value: '1' }, | ||
{ name: 'results[5][5][from]', value: origin }, | ||
{ name: 'results[5][5][to]', value: destination }, | ||
{ name: 'results[5][5][via]', value: options.via || '' }, | ||
{ name: 'results[5][5][time_mode]', value: 'departure' }, | ||
{ name: 'results[5][5][time]', value: time }, | ||
{ name: 'results[5][5][date]', value: day }, | ||
{ name: 'results[5][5][means_of_transport][]', value: 'STR' }, | ||
{ name: 'results[5][5][means_of_transport][]', value: 'BUS' }, | ||
{ name: 'results[5][5][means_of_transport][]', value: 'S/U' }, | ||
{ name: 'results[5][5][means_of_transport][]', value: 'RB/RE' }, | ||
{ name: 'results[5][5][mode]', value: 'connection' } | ||
]) | ||
@@ -134,0 +134,0 @@ } |
@@ -20,8 +20,8 @@ 'use strict' | ||
const body = { | ||
'results[5][4][function]': 'ws_info_stop', | ||
'results[5][4][data]': JSON.stringify([ | ||
{ name: 'results[5][4][stop]', value: s }, | ||
{ name: 'results[5][4][date]', value: moment.tz('Europe/Berlin').add(1, 'days').format('DD.MM.YYYY') }, | ||
{ name: 'results[5][4][time]', value: '' }, | ||
{ name: 'results[5][4][mode]', value: 'stop' } | ||
'results[5][5][function]': 'ws_info_stop', | ||
'results[5][5][data]': JSON.stringify([ | ||
{ name: 'results[5][5][stop]', value: s }, | ||
{ name: 'results[5][5][date]', value: moment.tz('Europe/Berlin').add(1, 'days').format('DD.MM.YYYY') }, | ||
{ name: 'results[5][5][time]', value: '' }, | ||
{ name: 'results[5][5][mode]', value: 'stop' } | ||
]) | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "lvb", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Inofficial LVB (Leipziger Verkehrsbetriebe) API client.", | ||
@@ -32,3 +32,2 @@ "keywords": [ | ||
"lint": "eslint lib test.js", | ||
"prepublishOnly": "npm test", | ||
"test": "npm run lint && npm run check-deps && node test" | ||
@@ -35,0 +34,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21524