@requ1emz/contracts 1.0.35 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen/user.ts CHANGED
@@ -45,9 +45,9 @@ export interface SendGetUserResponse {
45
45
 
46
46
  export interface SendUpdateUserRequest {
47
47
  id: string;
48
- email: string;
49
- username: string;
50
- password: string;
48
+ email?: string | undefined;
49
+ username?: string | undefined;
50
+ passwordHash?: string | undefined;
51
51
  }
52
52
 
53
53
  export interface SendUpdateUserResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@requ1emz/contracts",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/user.proto CHANGED
@@ -46,10 +46,10 @@ message SendGetUserResponse {
46
46
  }
47
47
 
48
48
  message SendUpdateUserRequest {
49
- string id = 1;
50
- string email = 2;
51
- string username = 3;
52
- string password = 4;
49
+ string id = 1;
50
+ optional string email = 2;
51
+ optional string username = 3;
52
+ optional string password_hash = 4;
53
53
  }
54
54
 
55
55
  message SendUpdateUserResponse {