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 { return {
endpoint: opt.bestprice ? profile.bestpriceEndpoint : profile.journeysEndpoint, endpoint: opt.bestprice ? profile.bestpriceEndpoint : profile.journeysEndpoint,
body: query, body: query,
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'), headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
method: 'post', method: 'post',
}; };
}; };
@ -92,7 +92,7 @@ const formatRefreshJourneyReq = (ctx, refreshToken) => {
return { return {
endpoint: opt.tickets ? profile.refreshJourneysEndpointTickets : profile.refreshJourneysEndpointPolyline, endpoint: opt.tickets ? profile.refreshJourneysEndpointTickets : profile.refreshJourneysEndpointPolyline,
body: query, body: query,
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'), headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
method: 'post', method: 'post',
}; };
}; };

4
package-lock.json generated
View file

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

View file

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