From a680fb2e51c7b62803a7c4dc250b2aef5c005158 Mon Sep 17 00:00:00 2001 From: Marcus van Elst Date: Wed, 15 Apr 2026 13:12:30 +0200 Subject: [PATCH] fix: remove type parameter from login request (v0.1.4) --- SPEC.md | 4 ++-- pyproject.toml | 2 +- src/mcp_familywall/__init__.py | 2 +- src/mcp_familywall/fw_client.py | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SPEC.md b/SPEC.md index d53479b..4c8d660 100644 --- a/SPEC.md +++ b/SPEC.md @@ -18,7 +18,7 @@ Content-Type: application/x-www-form-urlencoded |---|---| | `identifier` | E-Mail-Adresse | | `password` | Passwort | -| `type` | `"EMAIL"` (verifiziert) | +| `type` | nicht senden — wird als `undefined` ignoriert (verifiziert per JS-Analyse) | | `clientId` | weglassen | | `clientSecret` | weglassen | | `generateAutologinToken` | weglassen | @@ -130,7 +130,7 @@ offener Punkte (z.B. `type`-Parameter beim Login, Kreis-Felder in Response). ## Noch zu verifizieren -- ~~Exakter Wert für `type`-Parameter beim Login~~ → `"EMAIL"` (verifiziert) +- ~~Exakter Wert für `type`-Parameter beim Login~~ → nicht senden (verifiziert per JS-Analyse) - Response-Struktur von `famlistfamily` (Kreise) - Kreis-Zuordnung in `accgetallfamily`-Response - Ob `partnerScope` / `withStateBean` benötigt werden diff --git a/pyproject.toml b/pyproject.toml index 62b17b2..0dcb1fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mcp-familywall" -version = "0.1.3" +version = "0.1.4" description = "MCP server for Family Wall — read your family's lists and tasks via Claude" readme = "README.md" requires-python = ">=3.12" diff --git a/src/mcp_familywall/__init__.py b/src/mcp_familywall/__init__.py index ae73625..bbab024 100644 --- a/src/mcp_familywall/__init__.py +++ b/src/mcp_familywall/__init__.py @@ -1 +1 @@ -__version__ = "0.1.3" +__version__ = "0.1.4" diff --git a/src/mcp_familywall/fw_client.py b/src/mcp_familywall/fw_client.py index c271ad0..bdb6655 100644 --- a/src/mcp_familywall/fw_client.py +++ b/src/mcp_familywall/fw_client.py @@ -86,7 +86,6 @@ class FamilyWallClient: payload = { "identifier": email, "password": password, - "type": "EMAIL", } _debug_log("LOGIN request", _mask_password(payload))