protobuf-platform 1.2.76 → 1.2.77

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.76",
3
+ "version": "1.2.77",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -138,6 +138,7 @@ message LoggedInResponse {
138
138
  optional string last_name = 9;
139
139
  optional string session_id = 10;
140
140
  optional string axiom_session_hash = 11;
141
+ optional string nickname = 12;
141
142
  }
142
143
  message LoginRequest {
143
144
  string email = 1;
package/user/user_pb.js CHANGED
@@ -4785,7 +4785,8 @@ proto.user.LoggedInResponse.toObject = function(includeInstance, msg) {
4785
4785
  firstName: jspb.Message.getFieldWithDefault(msg, 8, ""),
4786
4786
  lastName: jspb.Message.getFieldWithDefault(msg, 9, ""),
4787
4787
  sessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
4788
- axiomSessionHash: jspb.Message.getFieldWithDefault(msg, 11, "")
4788
+ axiomSessionHash: jspb.Message.getFieldWithDefault(msg, 11, ""),
4789
+ nickname: jspb.Message.getFieldWithDefault(msg, 12, "")
4789
4790
  };
4790
4791
 
4791
4792
  if (includeInstance) {
@@ -4866,6 +4867,10 @@ proto.user.LoggedInResponse.deserializeBinaryFromReader = function(msg, reader)
4866
4867
  var value = /** @type {string} */ (reader.readString());
4867
4868
  msg.setAxiomSessionHash(value);
4868
4869
  break;
4870
+ case 12:
4871
+ var value = /** @type {string} */ (reader.readString());
4872
+ msg.setNickname(value);
4873
+ break;
4869
4874
  default:
4870
4875
  reader.skipField();
4871
4876
  break;
@@ -4972,6 +4977,13 @@ proto.user.LoggedInResponse.serializeBinaryToWriter = function(message, writer)
4972
4977
  f
4973
4978
  );
4974
4979
  }
4980
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
4981
+ if (f != null) {
4982
+ writer.writeString(
4983
+ 12,
4984
+ f
4985
+ );
4986
+ }
4975
4987
  };
4976
4988
 
4977
4989
 
@@ -5245,6 +5257,42 @@ proto.user.LoggedInResponse.prototype.hasAxiomSessionHash = function() {
5245
5257
  };
5246
5258
 
5247
5259
 
5260
+ /**
5261
+ * optional string nickname = 12;
5262
+ * @return {string}
5263
+ */
5264
+ proto.user.LoggedInResponse.prototype.getNickname = function() {
5265
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
5266
+ };
5267
+
5268
+
5269
+ /**
5270
+ * @param {string} value
5271
+ * @return {!proto.user.LoggedInResponse} returns this
5272
+ */
5273
+ proto.user.LoggedInResponse.prototype.setNickname = function(value) {
5274
+ return jspb.Message.setField(this, 12, value);
5275
+ };
5276
+
5277
+
5278
+ /**
5279
+ * Clears the field making it undefined.
5280
+ * @return {!proto.user.LoggedInResponse} returns this
5281
+ */
5282
+ proto.user.LoggedInResponse.prototype.clearNickname = function() {
5283
+ return jspb.Message.setField(this, 12, undefined);
5284
+ };
5285
+
5286
+
5287
+ /**
5288
+ * Returns whether this field is set.
5289
+ * @return {boolean}
5290
+ */
5291
+ proto.user.LoggedInResponse.prototype.hasNickname = function() {
5292
+ return jspb.Message.getField(this, 12) != null;
5293
+ };
5294
+
5295
+
5248
5296
 
5249
5297
 
5250
5298