diff --git a/package.json b/package.json index 36fa990..25a5e20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lendry-erp/contracts", - "version": "1.0.4", + "version": "1.0.5", "description": "Protobuf definitions and generated TypeScript types", "type": "commonjs", "scripts": { diff --git a/proto/identity.proto b/proto/identity.proto index ecd7082..3f5b33f 100644 --- a/proto/identity.proto +++ b/proto/identity.proto @@ -50,8 +50,8 @@ message RegisterResponse { message Verify2FaRequest { string temp_token = 1; - string totp_code = 2; - string telegram_code = 3; + optional string totp_code = 2; + optional string telegram_code = 3; } message Verify2FaResponse {