@aaanton/contracts 1.0.13 → 1.0.14

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
@@ -111,7 +111,7 @@ export interface AuthServiceClient {
111
111
 
112
112
  /** */
113
113
 
114
- telegramConsume(request: TelegramConsumeRequest): Observable<TelegramCompleteResponse>;
114
+ telegramConsume(request: TelegramConsumeRequest): Observable<TelegramConsumeResponse>;
115
115
  }
116
116
 
117
117
  /** Auth service handles authentication */
@@ -149,7 +149,7 @@ export interface AuthServiceController {
149
149
 
150
150
  telegramConsume(
151
151
  request: TelegramConsumeRequest,
152
- ): Promise<TelegramCompleteResponse> | Observable<TelegramCompleteResponse> | TelegramCompleteResponse;
152
+ ): Promise<TelegramConsumeResponse> | Observable<TelegramConsumeResponse> | TelegramConsumeResponse;
153
153
  }
154
154
 
155
155
  export function AuthServiceControllerMethods() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaanton/contracts",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/auth.proto CHANGED
@@ -20,7 +20,7 @@ service AuthService {
20
20
  //
21
21
  rpc TelegramComplete (TelegramCompleteRequest) returns (TelegramCompleteResponse);
22
22
  //
23
- rpc TelegramConsume (TelegramConsumeRequest) returns (TelegramCompleteResponse);
23
+ rpc TelegramConsume (TelegramConsumeRequest) returns (TelegramConsumeResponse);
24
24
  }
25
25
 
26
26
  // Request to SendOtp