@platfformx/proto-contracts 1.2.6 → 1.2.7

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.
@@ -16,7 +16,7 @@ export interface InitEmailChangeRequest {
16
16
  email: string;
17
17
  }
18
18
  export interface InitEmailChangeResponse {
19
- retryAfterSec: number;
19
+ ok: boolean;
20
20
  }
21
21
  export interface ConfirmEmailChangeRequest {
22
22
  userId: string;
@@ -31,7 +31,7 @@ export interface InitPhoneChangeRequest {
31
31
  phone: string;
32
32
  }
33
33
  export interface InitPhoneChangeResponse {
34
- retryAfterSec: number;
34
+ ok: boolean;
35
35
  }
36
36
  export interface ConfirmPhoneChangeRequest {
37
37
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@ message InitEmailChangeRequest {
32
32
  }
33
33
 
34
34
  message InitEmailChangeResponse {
35
- int32 retry_after_sec = 1;
35
+ bool ok = 1;
36
36
  }
37
37
 
38
38
  message ConfirmEmailChangeRequest {
@@ -51,7 +51,7 @@ message InitPhoneChangeRequest {
51
51
  }
52
52
 
53
53
  message InitPhoneChangeResponse {
54
- int32 retry_after_sec = 1;
54
+ bool ok = 1;
55
55
  }
56
56
 
57
57
  message ConfirmPhoneChangeRequest {