@airticketss/contracts 1.0.8 → 1.0.9

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 = "";
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 _PACKAGE_NAME = "";
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": "@airticketss/contracts",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Protobuf definitions and generate TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,5 +1,7 @@
1
1
  syntax = "proto3";
2
2
 
3
+ package account.v1;
4
+
3
5
  service AccountService {
4
6
  rpc GetAccount (GetAccountRequest) returns (GetAccountResponse);
5
7
  }