homebridge-fordpass
Advanced tools
Comparing version 1.6.0-test.2 to 1.6.0-test.3
@@ -18,6 +18,6 @@ "use strict"; | ||
const axios_1 = __importDefault(require("axios")); | ||
const authUrl = 'https://sso.ci.lincoln.com/'; | ||
const applicationId = '6B2384AF-FCD1-4652-8816-C54F303DE5BD'; | ||
const authUrl = 'https://sso.ci.ford.com/'; | ||
const applicationId = '5C80A6BB-CF0D-4A30-BDBF-FC804B5C1A98'; | ||
const clientId = '9fb503e0-715b-47e8-adfd-ad4b7770f73b'; | ||
const userAgent = 'LincolnWay/5 CFNetwork/1325.0.1 Darwin/21.1.0'; | ||
const userAgent = 'FordPass/5 CFNetwork/1325.0.1 Darwin/21.1.0'; | ||
class Connection { | ||
@@ -24,0 +24,0 @@ constructor(config, log) { |
@@ -20,6 +20,5 @@ "use strict"; | ||
'Content-Type': 'application/json', | ||
'User-Agent': 'LincolnWay/5 CFNetwork/1325.0.1 Darwin/21.1.0', | ||
'User-Agent': 'FordPass/5 CFNetwork/1325.0.1 Darwin/21.1.0', | ||
}; | ||
const fordAPIUrl = 'https://usapi.cv.ford.com/'; | ||
const applicationId = '6B2384AF-FCD1-4652-8816-C54F303DE5BD'; | ||
const handleError = function (name, status, log) { | ||
@@ -59,3 +58,3 @@ log.error(`${name} failed with status: ${status}`); | ||
if (options.headers) { | ||
options.headers['Application-Id'] = applicationId; | ||
options.headers['Application-Id'] = '71A3AD0A-CF46-4CCF-B473-FC7FE5BC4592'; | ||
options.headers['auth-token'] = this.config.access_token; | ||
@@ -128,3 +127,3 @@ } | ||
if (options.headers) { | ||
options.headers['Application-Id'] = applicationId; | ||
options.headers['Application-Id'] = '71A3AD0A-CF46-4CCF-B473-FC7FE5BC4592'; | ||
options.headers['auth-token'] = this.config.access_token; | ||
@@ -167,3 +166,3 @@ } | ||
if (options.headers) { | ||
options.headers['Application-Id'] = applicationId; | ||
options.headers['Application-Id'] = '71A3AD0A-CF46-4CCF-B473-FC7FE5BC4592'; | ||
options.headers['auth-token'] = this.config.access_token; | ||
@@ -170,0 +169,0 @@ } |
{ | ||
"displayName": "Homebridge FordPass", | ||
"name": "homebridge-fordpass", | ||
"version": "1.6.0-test.2", | ||
"version": "1.6.0-test.3", | ||
"description": "Fordpass plugin for homebridge: https://homebridge.io/", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
91888
674