geniebox-shared-lib 1.0.6 → 1.0.7

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,7 +21,7 @@ export interface UserPersonal {
21
21
  export interface UserAuthentication {
22
22
  uuid: string;
23
23
  userId: string;
24
- password: string;
24
+ password?: string | undefined;
25
25
  passwordHash: string;
26
26
  }
27
27
  export interface User {
@@ -160,7 +160,7 @@ exports.UserPersonal = {
160
160
  },
161
161
  };
162
162
  function createBaseUserAuthentication() {
163
- return { uuid: "", userId: "", password: "", passwordHash: "" };
163
+ return { uuid: "", userId: "", passwordHash: "" };
164
164
  }
165
165
  exports.UserAuthentication = {
166
166
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -170,7 +170,7 @@ exports.UserAuthentication = {
170
170
  if (message.userId !== "") {
171
171
  writer.uint32(18).string(message.userId);
172
172
  }
173
- if (message.password !== "") {
173
+ if (message.password !== undefined) {
174
174
  writer.uint32(26).string(message.password);
175
175
  }
176
176
  if (message.passwordHash !== "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",