iobroker.boschindego
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"common": { | ||
"name": "boschindego", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"news": { | ||
"1.3.1": { | ||
"en": "Fix for Login", | ||
"de": "Fix für den Login", | ||
"ru": "Fix для входа", | ||
"pt": "Correção para login", | ||
"nl": "Fix voor login", | ||
"fr": "Correction pour connexion", | ||
"it": "Fissare per Login", | ||
"es": "Corrección para iniciar sesión", | ||
"pl": "Napraw logowanie", | ||
"uk": "Фіксація для входу", | ||
"zh-cn": "登录的修复" | ||
}, | ||
"1.3.0": { | ||
@@ -83,15 +96,2 @@ "en": "Admin-UI has been adapted for small displays.\nAdapter requires js-controller 5.0.19 and admin 6.17.14 now.\nIssues reported by adapter checker have been fixed.\nDependencies have been updated.", | ||
"zh-cn": "固定登录" | ||
}, | ||
"1.1.0": { | ||
"en": "fix login flow", | ||
"de": "Login Flow gefixt", | ||
"ru": "исправить поток входа", | ||
"pt": "corrigir fluxo de login", | ||
"nl": "vertaling:", | ||
"fr": "login flux", | ||
"it": "correzione del flusso di login", | ||
"es": "corrección de flujo de inicio", | ||
"pl": "naprawa przepływu logowania", | ||
"uk": "виправити потік логіна", | ||
"zh-cn": "fix 伐木" | ||
} | ||
@@ -125,8 +125,4 @@ }, | ||
}, | ||
"authors": [ | ||
"TA2k <tombox2020@gmail.com>" | ||
], | ||
"keywords": [ | ||
"Indego" | ||
], | ||
"authors": ["TA2k <tombox2020@gmail.com>"], | ||
"keywords": ["Indego"], | ||
"licenseInformation": { | ||
@@ -167,8 +163,4 @@ "license": "MIT", | ||
}, | ||
"encryptedNative": [ | ||
"password" | ||
], | ||
"protectedNative": [ | ||
"password" | ||
], | ||
"encryptedNative": ["password"], | ||
"protectedNative": ["password"], | ||
"native": { | ||
@@ -175,0 +167,0 @@ "username": "", |
11
main.js
@@ -164,3 +164,3 @@ 'use strict'; | ||
const loginParams = await this.requestClient({ | ||
const loginUrl = await this.requestClient({ | ||
method: 'get', | ||
@@ -186,3 +186,3 @@ url: 'https://prodindego.b2clogin.com/prodindego.onmicrosoft.com/B2C_1A_signup_signin/api/CombinedSigninAndSignup/unified', | ||
formData = this.extractHidden(res.data); | ||
return qs.parse(res.request.path.split('?')[1]); | ||
return res.request.path; | ||
}) | ||
@@ -193,3 +193,4 @@ .catch((error) => { | ||
}); | ||
const loginParams = qs.parse(loginUrl.split('?')[1]); | ||
const loginUrlPath = loginUrl.split('?')[0]; | ||
if (!loginParams || !loginParams.ReturnUrl) { | ||
@@ -204,3 +205,3 @@ this.log.error('Could not extract login params'); | ||
maxBodyLength: Infinity, | ||
url: 'https://singlekey-id.com/auth/de-de/login', | ||
url: 'https://singlekey-id.com' + loginUrlPath, | ||
headers: { | ||
@@ -240,3 +241,3 @@ 'content-type': 'application/x-www-form-urlencoded', | ||
maxBodyLength: Infinity, | ||
url: 'https://singlekey-id.com/auth/de-de/login/password', | ||
url: 'https://singlekey-id.com' + loginUrlPath + '/password', | ||
headers: { | ||
@@ -243,0 +244,0 @@ 'content-type': 'application/x-www-form-urlencoded', |
{ | ||
"name": "iobroker.boschindego", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Adapter for Bosch Indego Mower", | ||
@@ -25,6 +25,6 @@ "author": { | ||
"@iobroker/adapter-core": "^3.2.2", | ||
"axios": "^1.7.7", | ||
"axios": "^1.7.8", | ||
"http-cookie-agent": "^6.0.6", | ||
"json2iob": "^2.6.12", | ||
"qs": "^6.13.0", | ||
"qs": "^6.13.1", | ||
"tough-cookie": "^5.0.0" | ||
@@ -37,13 +37,13 @@ }, | ||
"@alcalzone/release-script-plugin-manual-review": "^3.7.0", | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.13.0", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.15.0", | ||
"@iobroker/testing": "^5.0.0", | ||
"@tsconfig/node16": "^16.1.3", | ||
"@types/node": "^22.9.0", | ||
"eslint": "^9.14.0", | ||
"@types/node": "^22.10.1", | ||
"eslint": "^9.15.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"globals": "^15.12.0", | ||
"prettier": "^3.3.3", | ||
"typescript": "~5.6.3" | ||
"prettier": "^3.4.1", | ||
"typescript": "~5.7.2" | ||
}, | ||
@@ -75,4 +75,4 @@ "main": "main.js", | ||
"overrides": { | ||
"axios": "^1.7.7" | ||
"axios": "^1.7.8" | ||
} | ||
} |
@@ -30,2 +30,6 @@ ![Logo](admin/boschindego.png) | ||
--> | ||
### 1.3.1 (2024-11-28) | ||
- Fix for Login | ||
### 1.3.0 (2024-11-12) | ||
@@ -32,0 +36,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
112262
915
101
Updatedaxios@^1.7.8
Updatedqs@^6.13.1