@yrarami-teacinema/contracts 1.1.5 → 1.1.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/user.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
10
 
11
- export const protobufPackage = "users.v1";
11
+ export const protobufPackage = "user.v1";
12
12
 
13
13
  export interface GetMeRequest {
14
14
  id: string;
@@ -34,7 +34,7 @@ export interface User {
34
34
  avatar?: string | undefined;
35
35
  }
36
36
 
37
- export const USERS_V1_PACKAGE_NAME = "users.v1";
37
+ export const USER_V1_PACKAGE_NAME = "user.v1";
38
38
 
39
39
  export interface UsersServiceClient {
40
40
  getMe(request: GetMeRequest): Observable<GetMeResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yrarami-teacinema/contracts",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Protobufs for the TeaCinema project",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/user.proto CHANGED
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package users.v1;
3
+ package user.v1;
4
4
 
5
5
  service UsersService {
6
6
  rpc GetMe (GetMeRequest) returns (GetMeResponse);