protobuf-platform 1.1.40 → 1.1.49

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/game/game.proto CHANGED
@@ -126,6 +126,8 @@ message WagerSearchRequest {
126
126
  optional int32 wager_id = 1;
127
127
  optional string game_title = 2;
128
128
  repeated int32 wager_ids = 3;
129
+ optional string geo = 4;
130
+ optional bool is_mobile = 5;
129
131
  }
130
132
  message CashBackSearchRequest {
131
133
  optional int32 cashback_id = 1;
package/game/game_pb.js CHANGED
@@ -3661,7 +3661,9 @@ proto.game.WagerSearchRequest.toObject = function(includeInstance, msg) {
3661
3661
  var f, obj = {
3662
3662
  wagerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
3663
3663
  gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
3664
- wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
3664
+ wagerIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
3665
+ geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
3666
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
3665
3667
  };
3666
3668
 
3667
3669
  if (includeInstance) {
@@ -3712,6 +3714,14 @@ proto.game.WagerSearchRequest.deserializeBinaryFromReader = function(msg, reader
3712
3714
  msg.addWagerIds(values[i]);
3713
3715
  }
3714
3716
  break;
3717
+ case 4:
3718
+ var value = /** @type {string} */ (reader.readString());
3719
+ msg.setGeo(value);
3720
+ break;
3721
+ case 5:
3722
+ var value = /** @type {boolean} */ (reader.readBool());
3723
+ msg.setIsMobile(value);
3724
+ break;
3715
3725
  default:
3716
3726
  reader.skipField();
3717
3727
  break;
@@ -3762,6 +3772,20 @@ proto.game.WagerSearchRequest.serializeBinaryToWriter = function(message, writer
3762
3772
  f
3763
3773
  );
3764
3774
  }
3775
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
3776
+ if (f != null) {
3777
+ writer.writeString(
3778
+ 4,
3779
+ f
3780
+ );
3781
+ }
3782
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
3783
+ if (f != null) {
3784
+ writer.writeBool(
3785
+ 5,
3786
+ f
3787
+ );
3788
+ }
3765
3789
  };
3766
3790
 
3767
3791
 
@@ -3874,6 +3898,78 @@ proto.game.WagerSearchRequest.prototype.clearWagerIdsList = function() {
3874
3898
  };
3875
3899
 
3876
3900
 
3901
+ /**
3902
+ * optional string geo = 4;
3903
+ * @return {string}
3904
+ */
3905
+ proto.game.WagerSearchRequest.prototype.getGeo = function() {
3906
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3907
+ };
3908
+
3909
+
3910
+ /**
3911
+ * @param {string} value
3912
+ * @return {!proto.game.WagerSearchRequest} returns this
3913
+ */
3914
+ proto.game.WagerSearchRequest.prototype.setGeo = function(value) {
3915
+ return jspb.Message.setField(this, 4, value);
3916
+ };
3917
+
3918
+
3919
+ /**
3920
+ * Clears the field making it undefined.
3921
+ * @return {!proto.game.WagerSearchRequest} returns this
3922
+ */
3923
+ proto.game.WagerSearchRequest.prototype.clearGeo = function() {
3924
+ return jspb.Message.setField(this, 4, undefined);
3925
+ };
3926
+
3927
+
3928
+ /**
3929
+ * Returns whether this field is set.
3930
+ * @return {boolean}
3931
+ */
3932
+ proto.game.WagerSearchRequest.prototype.hasGeo = function() {
3933
+ return jspb.Message.getField(this, 4) != null;
3934
+ };
3935
+
3936
+
3937
+ /**
3938
+ * optional bool is_mobile = 5;
3939
+ * @return {boolean}
3940
+ */
3941
+ proto.game.WagerSearchRequest.prototype.getIsMobile = function() {
3942
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
3943
+ };
3944
+
3945
+
3946
+ /**
3947
+ * @param {boolean} value
3948
+ * @return {!proto.game.WagerSearchRequest} returns this
3949
+ */
3950
+ proto.game.WagerSearchRequest.prototype.setIsMobile = function(value) {
3951
+ return jspb.Message.setField(this, 5, value);
3952
+ };
3953
+
3954
+
3955
+ /**
3956
+ * Clears the field making it undefined.
3957
+ * @return {!proto.game.WagerSearchRequest} returns this
3958
+ */
3959
+ proto.game.WagerSearchRequest.prototype.clearIsMobile = function() {
3960
+ return jspb.Message.setField(this, 5, undefined);
3961
+ };
3962
+
3963
+
3964
+ /**
3965
+ * Returns whether this field is set.
3966
+ * @return {boolean}
3967
+ */
3968
+ proto.game.WagerSearchRequest.prototype.hasIsMobile = function() {
3969
+ return jspb.Message.getField(this, 5) != null;
3970
+ };
3971
+
3972
+
3877
3973
 
3878
3974
  /**
3879
3975
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.40",
3
+ "version": "1.1.49",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {