protobuf-platform 1.2.593 → 1.2.595

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.593",
3
+ "version": "1.2.595",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -459,6 +459,7 @@ message VkCommonIdLoginRequest {
459
459
  // Gateway IP-derived country; distinct from profile country.
460
460
  optional string ip_country = 19;
461
461
  optional string preset_code = 20;
462
+ string state = 21;
462
463
  }
463
464
  message ConfirmTwoFaRequest {
464
465
  string code = 1;
package/user/user_pb.js CHANGED
@@ -17107,7 +17107,8 @@ proto.user.VkCommonIdLoginRequest.toObject = function(includeInstance, msg) {
17107
17107
  userAgent: jspb.Message.getFieldWithDefault(msg, 17, ""),
17108
17108
  antifraudSession: jspb.Message.getFieldWithDefault(msg, 18, ""),
17109
17109
  ipCountry: jspb.Message.getFieldWithDefault(msg, 19, ""),
17110
- presetCode: jspb.Message.getFieldWithDefault(msg, 20, "")
17110
+ presetCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
17111
+ state: jspb.Message.getFieldWithDefault(msg, 21, "")
17111
17112
  };
17112
17113
 
17113
17114
  if (includeInstance) {
@@ -17224,6 +17225,10 @@ proto.user.VkCommonIdLoginRequest.deserializeBinaryFromReader = function(msg, re
17224
17225
  var value = /** @type {string} */ (reader.readString());
17225
17226
  msg.setPresetCode(value);
17226
17227
  break;
17228
+ case 21:
17229
+ var value = /** @type {string} */ (reader.readString());
17230
+ msg.setState(value);
17231
+ break;
17227
17232
  default:
17228
17233
  reader.skipField();
17229
17234
  break;
@@ -17393,6 +17398,13 @@ proto.user.VkCommonIdLoginRequest.serializeBinaryToWriter = function(message, wr
17393
17398
  f
17394
17399
  );
17395
17400
  }
17401
+ f = message.getState();
17402
+ if (f.length > 0) {
17403
+ writer.writeString(
17404
+ 21,
17405
+ f
17406
+ );
17407
+ }
17396
17408
  };
17397
17409
 
17398
17410
 
@@ -18044,6 +18056,24 @@ proto.user.VkCommonIdLoginRequest.prototype.hasPresetCode = function() {
18044
18056
  };
18045
18057
 
18046
18058
 
18059
+ /**
18060
+ * optional string state = 21;
18061
+ * @return {string}
18062
+ */
18063
+ proto.user.VkCommonIdLoginRequest.prototype.getState = function() {
18064
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
18065
+ };
18066
+
18067
+
18068
+ /**
18069
+ * @param {string} value
18070
+ * @return {!proto.user.VkCommonIdLoginRequest} returns this
18071
+ */
18072
+ proto.user.VkCommonIdLoginRequest.prototype.setState = function(value) {
18073
+ return jspb.Message.setProto3StringField(this, 21, value);
18074
+ };
18075
+
18076
+
18047
18077
 
18048
18078
 
18049
18079