@teacinema-nekoo/contracts 1.4.0 → 1.4.1

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.
@@ -8,7 +8,7 @@
8
8
  import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
10
 
11
- export const protobufPackage = "screening_v1";
11
+ export const protobufPackage = "screening.v1";
12
12
 
13
13
  export interface CreateScreeningRequest {
14
14
  movieId: string;
@@ -81,7 +81,7 @@ export interface SeatType {
81
81
  price: number;
82
82
  }
83
83
 
84
- export const SCREENING_V1_PACKAGE_NAME = "screening_v1";
84
+ export const SCREENING_V1_PACKAGE_NAME = "screening.v1";
85
85
 
86
86
  export interface ScreeningServiceClient {
87
87
  createScreening(request: CreateScreeningRequest): Observable<CreateScreeningResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teacinema-nekoo/contracts",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Protobuf definitions and generated TypeScript 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 screening_v1;
3
+ package screening.v1;
4
4
 
5
5
  service ScreeningService {
6
6
  rpc CreateScreening(CreateScreeningRequest) returns (CreateScreeningResponse);