geniebox-shared-lib 1.0.5 → 1.0.6

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.
@@ -21,6 +21,7 @@ export interface UserPersonal {
21
21
  export interface UserAuthentication {
22
22
  uuid: string;
23
23
  userId: string;
24
+ password: string;
24
25
  passwordHash: string;
25
26
  }
26
27
  export interface User {
@@ -160,7 +160,7 @@ exports.UserPersonal = {
160
160
  },
161
161
  };
162
162
  function createBaseUserAuthentication() {
163
- return { uuid: "", userId: "", passwordHash: "" };
163
+ return { uuid: "", userId: "", password: "", passwordHash: "" };
164
164
  }
165
165
  exports.UserAuthentication = {
166
166
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -170,8 +170,11 @@ exports.UserAuthentication = {
170
170
  if (message.userId !== "") {
171
171
  writer.uint32(18).string(message.userId);
172
172
  }
173
+ if (message.password !== "") {
174
+ writer.uint32(26).string(message.password);
175
+ }
173
176
  if (message.passwordHash !== "") {
174
- writer.uint32(26).string(message.passwordHash);
177
+ writer.uint32(34).string(message.passwordHash);
175
178
  }
176
179
  return writer;
177
180
  },
@@ -200,6 +203,13 @@ exports.UserAuthentication = {
200
203
  if (tag !== 26) {
201
204
  break;
202
205
  }
206
+ message.password = reader.string();
207
+ continue;
208
+ }
209
+ case 4: {
210
+ if (tag !== 34) {
211
+ break;
212
+ }
203
213
  message.passwordHash = reader.string();
204
214
  continue;
205
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",