From 089e8e305d9e83e20fed99e9ee8991ceb5dd230b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Fri, 3 Apr 2026 23:12:23 +0300 Subject: [PATCH] fix: add session id for requests --- package.json | 2 +- proto/account.proto | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8a45354..65c6ed6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.42", + "version": "1.0.43", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "main": "./dist/index.js", diff --git a/proto/account.proto b/proto/account.proto index a696652..7cc897f 100644 --- a/proto/account.proto +++ b/proto/account.proto @@ -43,6 +43,7 @@ message ChangePasswordRequest { string old_password = 3; string new_password = 4; optional string code = 5; + string session_id = 6; } message ChangePasswordResponse { @@ -53,6 +54,7 @@ message ChangePasswordResponse { message SetPinRequest { string user_id = 1; + string session_id = 2; string pin = 3; } @@ -63,7 +65,8 @@ message SetPinResponse { message UnlockPinRequest { string user_id = 1; - string pin = 2; + string session_id = 2; + string pin = 3; } message UnlockPinResponse { @@ -73,6 +76,7 @@ message UnlockPinResponse { message GetPinStatusRequest { string user_id = 1; + string session_id = 2; } message GetPinStatusResponse { @@ -84,6 +88,7 @@ message GetPinStatusResponse { message RemovePinRequest { string pin = 1; string user_id = 2; + string session_id=3; } message RemovePinResponse { bool success = 1;