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.
|
@@ -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(
|
|
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
|
}
|