@faramircinema/contracts 1.0.18 → 1.0.19

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/account.ts CHANGED
@@ -39,7 +39,7 @@ export interface InitEmailChangeResponse {
39
39
  }
40
40
 
41
41
  export interface ConfirmEmailChangeRequest {
42
- phone: string;
42
+ email: string;
43
43
  code: string;
44
44
  userId: string;
45
45
  }
@@ -58,7 +58,7 @@ export interface InitPhoneChangeResponse {
58
58
  }
59
59
 
60
60
  export interface ConfirmPhoneChangeRequest {
61
- email: string;
61
+ phone: string;
62
62
  code: string;
63
63
  userId: string;
64
64
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "typescript": "^7.0.2"
7
7
  },
8
8
  "name": "@faramircinema/contracts",
9
- "version": "1.0.18",
9
+ "version": "1.0.19",
10
10
  "description": "Protobuf definitions and generated Typescript types",
11
11
  "main": "./dist/index.js",
12
12
  "types": "./dist/index.d.ts",
@@ -34,7 +34,7 @@ message InitEmailChangeResponse{
34
34
  }
35
35
 
36
36
  message ConfirmEmailChangeRequest{
37
- string phone =1;
37
+ string email =1;
38
38
  string code =2;
39
39
  string user_id =3;
40
40
  }
@@ -53,7 +53,7 @@ message InitPhoneChangeResponse{
53
53
  }
54
54
 
55
55
  message ConfirmPhoneChangeRequest{
56
- string email =1;
56
+ string phone =1;
57
57
  string code =2;
58
58
  string user_id =3;
59
59
  }