protobuf-platform 1.2.8 → 1.2.9

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.8",
3
+ "version": "1.2.9",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -131,6 +131,7 @@ message LoggedInResponse {
131
131
  optional string first_name = 8;
132
132
  optional string last_name = 9;
133
133
  optional string session_id = 10;
134
+ optional string axiom_session_hash = 11;
134
135
  }
135
136
  message LoginRequest {
136
137
  string email = 1;
package/user/user_pb.js CHANGED
@@ -4596,7 +4596,8 @@ proto.user.LoggedInResponse.toObject = function(includeInstance, msg) {
4596
4596
  locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
4597
4597
  firstName: jspb.Message.getFieldWithDefault(msg, 8, ""),
4598
4598
  lastName: jspb.Message.getFieldWithDefault(msg, 9, ""),
4599
- sessionId: jspb.Message.getFieldWithDefault(msg, 10, "")
4599
+ sessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
4600
+ axiomSessionHash: jspb.Message.getFieldWithDefault(msg, 11, "")
4600
4601
  };
4601
4602
 
4602
4603
  if (includeInstance) {
@@ -4673,6 +4674,10 @@ proto.user.LoggedInResponse.deserializeBinaryFromReader = function(msg, reader)
4673
4674
  var value = /** @type {string} */ (reader.readString());
4674
4675
  msg.setSessionId(value);
4675
4676
  break;
4677
+ case 11:
4678
+ var value = /** @type {string} */ (reader.readString());
4679
+ msg.setAxiomSessionHash(value);
4680
+ break;
4676
4681
  default:
4677
4682
  reader.skipField();
4678
4683
  break;
@@ -4772,6 +4777,13 @@ proto.user.LoggedInResponse.serializeBinaryToWriter = function(message, writer)
4772
4777
  f
4773
4778
  );
4774
4779
  }
4780
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
4781
+ if (f != null) {
4782
+ writer.writeString(
4783
+ 11,
4784
+ f
4785
+ );
4786
+ }
4775
4787
  };
4776
4788
 
4777
4789
 
@@ -5009,6 +5021,42 @@ proto.user.LoggedInResponse.prototype.hasSessionId = function() {
5009
5021
  };
5010
5022
 
5011
5023
 
5024
+ /**
5025
+ * optional string axiom_session_hash = 11;
5026
+ * @return {string}
5027
+ */
5028
+ proto.user.LoggedInResponse.prototype.getAxiomSessionHash = function() {
5029
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5030
+ };
5031
+
5032
+
5033
+ /**
5034
+ * @param {string} value
5035
+ * @return {!proto.user.LoggedInResponse} returns this
5036
+ */
5037
+ proto.user.LoggedInResponse.prototype.setAxiomSessionHash = function(value) {
5038
+ return jspb.Message.setField(this, 11, value);
5039
+ };
5040
+
5041
+
5042
+ /**
5043
+ * Clears the field making it undefined.
5044
+ * @return {!proto.user.LoggedInResponse} returns this
5045
+ */
5046
+ proto.user.LoggedInResponse.prototype.clearAxiomSessionHash = function() {
5047
+ return jspb.Message.setField(this, 11, undefined);
5048
+ };
5049
+
5050
+
5051
+ /**
5052
+ * Returns whether this field is set.
5053
+ * @return {boolean}
5054
+ */
5055
+ proto.user.LoggedInResponse.prototype.hasAxiomSessionHash = function() {
5056
+ return jspb.Message.getField(this, 11) != null;
5057
+ };
5058
+
5059
+
5012
5060
 
5013
5061
 
5014
5062