@t-cinema/contracts 1.0.0 → 1.0.2

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/auth.ts CHANGED
@@ -10,15 +10,9 @@ import { Observable } from "rxjs";
10
10
 
11
11
  export const protobufPackage = "auth.v1";
12
12
 
13
- export enum EOtpType {
14
- email = 0,
15
- phone = 1,
16
- UNRECOGNIZED = -1,
17
- }
18
-
19
13
  export interface SendOtpRequest {
20
14
  identifier: string;
21
- type: EOtpType;
15
+ type: string;
22
16
  }
23
17
 
24
18
  export interface SendOtpResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t-cinema/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "author": {
6
6
  "name": "Julia",
package/proto/auth.proto CHANGED
@@ -6,14 +6,9 @@ service AuthService {
6
6
  rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
7
7
  }
8
8
 
9
- enum EOtpType {
10
- email = 0;
11
- phone = 1;
12
- }
13
-
14
9
  message SendOtpRequest {
15
10
  string identifier = 1;
16
- EOtpType type = 2;
11
+ string type = 2;
17
12
  }
18
13
 
19
14
  message SendOtpResponse {