@readytomog/contracts 1.5.1 → 1.5.3

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/chat.ts CHANGED
@@ -33,6 +33,7 @@ export interface Message {
33
33
  id: string;
34
34
  createdAt: string;
35
35
  updatedAt: string;
36
+ chatId: string;
36
37
  }
37
38
 
38
39
  export interface User {
package/gen/payment.ts CHANGED
@@ -9,7 +9,7 @@ import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
10
  import { Empty } from "./google/protobuf/empty";
11
11
 
12
- export const protobufPackage = "payment.v3";
12
+ export const protobufPackage = "payment.v1";
13
13
 
14
14
  export interface Transaction {
15
15
  id: string;
@@ -73,7 +73,7 @@ export interface RefundRequest {
73
73
  export interface RefundResponse {
74
74
  }
75
75
 
76
- export const PAYMENT_V3_PACKAGE_NAME = "payment.v3";
76
+ export const PAYMENT_V1_PACKAGE_NAME = "payment.v1";
77
77
 
78
78
  export interface PaymentServiceClient {
79
79
  getHistory(request: Empty): Observable<GetHistoryResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readytomog/contracts",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/chat.proto CHANGED
@@ -34,6 +34,7 @@ message Message {
34
34
  string id = 4;
35
35
  string created_at = 5;
36
36
  string updated_at = 6;
37
+ string chatId = 7;
37
38
  }
38
39
 
39
40
  message User {
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package payment.v3;
3
+ package payment.v1;
4
4
 
5
5
  import "google/protobuf/empty.proto";
6
6