@testcinemaorg/contracts 1.0.9 → 1.0.10

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/account.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 = "auth.v1";
11
+ export const protobufPackage = "account.v1";
12
12
 
13
13
  export enum Role {
14
14
  USER = 0,
@@ -29,7 +29,7 @@ export interface GetAccountResponse {
29
29
  role: Role;
30
30
  }
31
31
 
32
- export const AUTH_V1_PACKAGE_NAME = "auth.v1";
32
+ export const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
33
33
 
34
34
  export interface AccountServiceClient {
35
35
  getAccount(request: GetAccountRequest): Observable<GetAccountResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testcinemaorg/contracts",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Protobuf definition and generated TS types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package auth.v1;
3
+ package account.v1;
4
4
 
5
5
  service AccountService {
6
6
  rpc GetAccount (GetAccountRequest) returns (GetAccountResponse);