@microteacinema/contracts 1.0.3 → 1.0.4
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 +2 -2
- package/package.json +1 -1
- package/proto/auth.proto +1 -1
package/gen/auth.ts
CHANGED
|
@@ -46,7 +46,7 @@ export interface AuthServiceClient {
|
|
|
46
46
|
|
|
47
47
|
verifyOtp(request: VerifyOtpRequest): Observable<VerifyOtpResponse>;
|
|
48
48
|
|
|
49
|
-
refresh(request: RefreshRequest): Observable<
|
|
49
|
+
refresh(request: RefreshRequest): Observable<RefreshResponse>;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export interface AuthServiceController {
|
|
@@ -54,7 +54,7 @@ export interface AuthServiceController {
|
|
|
54
54
|
|
|
55
55
|
verifyOtp(request: VerifyOtpRequest): Promise<VerifyOtpResponse> | Observable<VerifyOtpResponse> | VerifyOtpResponse;
|
|
56
56
|
|
|
57
|
-
refresh(request: RefreshRequest): Promise<
|
|
57
|
+
refresh(request: RefreshRequest): Promise<RefreshResponse> | Observable<RefreshResponse> | RefreshResponse;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export function AuthServiceControllerMethods() {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -5,7 +5,7 @@ package auth.v1;
|
|
|
5
5
|
service AuthService {
|
|
6
6
|
rpc SendOtp(SendOtpRequest) returns (SendOtpResponse);
|
|
7
7
|
rpc VerifyOtp(VerifyOtpRequest) returns (VerifyOtpResponse);
|
|
8
|
-
rpc Refresh(RefreshRequest) returns (
|
|
8
|
+
rpc Refresh(RefreshRequest) returns (RefreshResponse);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
message SendOtpRequest {
|