@wolfcinema/contracts 1.0.5 → 1.0.6

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
@@ -49,7 +49,7 @@ export interface ConfirmEmailChangeResponse {
49
49
  }
50
50
 
51
51
  export interface InitPhoneChangeRequest {
52
- email: string;
52
+ phone: string;
53
53
  userId: string;
54
54
  }
55
55
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolfcinema/contracts",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Protobuf definitions and generated ts",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -45,7 +45,7 @@ message ConfirmEmailChangeResponse {
45
45
  }
46
46
 
47
47
  message InitPhoneChangeRequest {
48
- string email = 1;
48
+ string phone = 1;
49
49
  string user_id = 2;
50
50
  }
51
51
 
@@ -54,7 +54,7 @@ message InitPhoneChangeResponse {
54
54
  }
55
55
 
56
56
  message ConfirmPhoneChangeRequest {
57
- string email = 1;
57
+ string phone = 1;
58
58
  string code = 2;
59
59
  string user_id = 3;
60
60
  }