@vsniksnet/contracts 1.2.17 → 1.2.18

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/users.ts CHANGED
@@ -24,6 +24,7 @@ export interface CreateUserResponse {
24
24
  /** Get one user */
25
25
  export interface GetUserRequest {
26
26
  userId: string;
27
+ currentId: string;
27
28
  }
28
29
 
29
30
  export interface GetUserResponse {
@@ -122,7 +123,7 @@ export interface User {
122
123
  }
123
124
 
124
125
  export interface Profile {
125
- userId: string;
126
+ id: string;
126
127
  username: string;
127
128
  avatar: string;
128
129
  cover: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -38,6 +38,7 @@ message CreateUserResponse {
38
38
  /* Get one user */
39
39
  message GetUserRequest {
40
40
  string user_id = 1;
41
+ string current_id = 2;
41
42
  }
42
43
 
43
44
  message GetUserResponse {
@@ -137,7 +138,7 @@ message User {
137
138
  }
138
139
 
139
140
  message Profile {
140
- string user_id = 1;
141
+ string id = 1;
141
142
  string username = 2;
142
143
  string avatar = 3;
143
144
  string cover = 4;