@readytomog/contracts 1.3.7 → 1.3.8

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
@@ -17,8 +17,7 @@ export interface CreateChatRequest {
17
17
 
18
18
  export interface CreateChatResponse {
19
19
  id: string;
20
- participant1: string;
21
- participant2: string;
20
+ users: User[];
22
21
  }
23
22
 
24
23
  export interface DeleteChatRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readytomog/contracts",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
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
@@ -17,8 +17,7 @@ message CreateChatRequest {
17
17
  }
18
18
  message CreateChatResponse {
19
19
  string id = 1;
20
- string participant1 = 2;
21
- string participant2 = 3;
20
+ repeated User users = 2;
22
21
  }
23
22
 
24
23
  message DeleteChatRequest {