From 4dae576fc56a8b62c77466dcda43dbcbc48bc01f Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 3 Apr 2026 17:07:18 +0200 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D1=83=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D1=81?= =?UTF-8?q?=D0=BE=D0=B1=D1=8B=D1=82=D0=B8=D1=8F=20=D1=83=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F=20=D0=B2=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20extract=5Fuser=5Fhwid=5Fevent?= =?UTF-8?q?=5Fdata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remnawave/controllers/webhooks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/remnawave/controllers/webhooks.py b/remnawave/controllers/webhooks.py index ecc9951..c6521eb 100644 --- a/remnawave/controllers/webhooks.py +++ b/remnawave/controllers/webhooks.py @@ -167,7 +167,10 @@ class WebhookUtility: """ if not WebhookUtility.is_user_hwid_devices_event(payload.event): return None - + + if isinstance(payload.data, UserHwidDeviceEventDto): + return (payload.data.user, payload.data.hwid_user_device) + if isinstance(payload.data, dict): user_data = payload.data.get("user", {}) hwid_data = payload.data.get("hwidUserDevice", {}) From f609bdb5e92aebf41a1dfe6f1a50ef0cfd54b2e0 Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 3 Apr 2026 17:07:32 +0200 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8E=20?= =?UTF-8?q?=D0=B8=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5=20SDK?= =?UTF-8?q?=20=D0=B4=D0=BE=202.7.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 69b3fdb..57b4af1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "remnawave" -version = "2.7.0" -description = "A Python SDK for interacting with the Remnawave API v2.7.0." +version = "2.7.1" +description = "A Python SDK for interacting with the Remnawave API v2.7.1." authors = [ {name = "Artem",email = "dev@forestsnet.com"} ]