@platfformx/proto-contracts 1.0.3 → 1.0.4

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.
@@ -33,9 +33,9 @@ export interface AuthenticationResponse {
33
33
  }
34
34
 
35
35
  export interface UserCredentials {
36
- email: string;
37
- phone: string;
38
- username: string;
36
+ email?: string | undefined;
37
+ phone?: string | undefined;
38
+ username?: string | undefined;
39
39
  password: string;
40
40
  }
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -37,9 +37,9 @@ message AuthenticationResponse {
37
37
 
38
38
 
39
39
  message UserCredentials {
40
- string email = 1;
41
- string phone = 2;
42
- string username = 3;
40
+ optional string email = 1;
41
+ optional string phone = 2;
42
+ optional string username = 3;
43
43
  string password = 4;
44
44
  }
45
45