protobuf-platform 1.2.118 → 1.2.119

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.118",
3
+ "version": "1.2.119",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/sport/sport.proto CHANGED
@@ -30,6 +30,8 @@ message LaunchBetbyRequest {
30
30
 
31
31
  // Client IP address for Betby (X-Client-Ip).
32
32
  optional string client_ip = 5;
33
+
34
+ optional string player_name = 6;
33
35
  }
34
36
 
35
37
  // Launch response with rendered Betby widget.
package/sport/sport_pb.js CHANGED
@@ -635,7 +635,8 @@ proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
635
635
  currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
636
636
  language: jspb.Message.getFieldWithDefault(msg, 3, ""),
637
637
  returnUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
638
- clientIp: jspb.Message.getFieldWithDefault(msg, 5, "")
638
+ clientIp: jspb.Message.getFieldWithDefault(msg, 5, ""),
639
+ playerName: jspb.Message.getFieldWithDefault(msg, 6, "")
639
640
  };
640
641
 
641
642
  if (includeInstance) {
@@ -692,6 +693,10 @@ proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reade
692
693
  var value = /** @type {string} */ (reader.readString());
693
694
  msg.setClientIp(value);
694
695
  break;
696
+ case 6:
697
+ var value = /** @type {string} */ (reader.readString());
698
+ msg.setPlayerName(value);
699
+ break;
695
700
  default:
696
701
  reader.skipField();
697
702
  break;
@@ -756,6 +761,13 @@ proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, write
756
761
  f
757
762
  );
758
763
  }
764
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
765
+ if (f != null) {
766
+ writer.writeString(
767
+ 6,
768
+ f
769
+ );
770
+ }
759
771
  };
760
772
 
761
773
 
@@ -939,6 +951,42 @@ proto.sport.LaunchBetbyRequest.prototype.hasClientIp = function() {
939
951
  };
940
952
 
941
953
 
954
+ /**
955
+ * optional string player_name = 6;
956
+ * @return {string}
957
+ */
958
+ proto.sport.LaunchBetbyRequest.prototype.getPlayerName = function() {
959
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
960
+ };
961
+
962
+
963
+ /**
964
+ * @param {string} value
965
+ * @return {!proto.sport.LaunchBetbyRequest} returns this
966
+ */
967
+ proto.sport.LaunchBetbyRequest.prototype.setPlayerName = function(value) {
968
+ return jspb.Message.setField(this, 6, value);
969
+ };
970
+
971
+
972
+ /**
973
+ * Clears the field making it undefined.
974
+ * @return {!proto.sport.LaunchBetbyRequest} returns this
975
+ */
976
+ proto.sport.LaunchBetbyRequest.prototype.clearPlayerName = function() {
977
+ return jspb.Message.setField(this, 6, undefined);
978
+ };
979
+
980
+
981
+ /**
982
+ * Returns whether this field is set.
983
+ * @return {boolean}
984
+ */
985
+ proto.sport.LaunchBetbyRequest.prototype.hasPlayerName = function() {
986
+ return jspb.Message.getField(this, 6) != null;
987
+ };
988
+
989
+
942
990
 
943
991
 
944
992