Compare commits

..

No commits in common. "5ac43bcfba78fbd075bc2baefbe255626f88fe58" and "b2d9a4e53e10424930b0df716db1cf832e3c1c3b" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View file

@ -75,7 +75,7 @@ const formatJourneysReq = (ctx, from, to, when, outFrwd, journeysRef) => {
return {
endpoint: opt.bestprice ? profile.bestpriceEndpoint : profile.journeysEndpoint,
body: query,
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'),
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
method: 'post',
};
};
@ -92,7 +92,7 @@ const formatRefreshJourneyReq = (ctx, refreshToken) => {
return {
endpoint: opt.tickets ? profile.refreshJourneysEndpointTickets : profile.refreshJourneysEndpointPolyline,
body: query,
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'),
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
method: 'post',
};
};

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "db-vendo-client",
"version": "6.10.2",
"version": "6.10.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "db-vendo-client",
"version": "6.10.2",
"version": "6.10.0",
"license": "ISC",
"dependencies": {
"content-type": "^1.0.5",

View file

@ -1,7 +1,7 @@
{
"name": "db-vendo-client",
"description": "Client for bahn.de public transport APIs.",
"version": "6.10.2",
"version": "6.10.0",
"type": "module",
"main": "index.js",
"files": [
@ -95,7 +95,7 @@
"test-e2e": "VCR_OFF=true tap -t60 -j16 test/e2e/*.js",
"test-spelling": "cspell .",
"test": "npm run test-unit && npm run test-integration && npm run test-spelling",
"prepublishOnly": "npm run lint",
"prepublishOnly": "npm run lint && npm test",
"api": "node api.js"
},
"tap": {