protobuf-platform 1.2.119 → 1.2.120
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 +1 -1
- package/sport/sport.proto +1 -3
- package/sport/sport_pb.js +50 -50
package/package.json
CHANGED
package/sport/sport.proto
CHANGED
|
@@ -32,6 +32,7 @@ message LaunchBetbyRequest {
|
|
|
32
32
|
optional string client_ip = 5;
|
|
33
33
|
|
|
34
34
|
optional string player_name = 6;
|
|
35
|
+
optional string session_id = 7;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
// Launch response with rendered Betby widget.
|
|
@@ -41,7 +42,4 @@ message LaunchBetbyResponse {
|
|
|
41
42
|
|
|
42
43
|
// Launch mode: "guest" or "player".
|
|
43
44
|
optional string mode = 2;
|
|
44
|
-
|
|
45
|
-
// Internal sportsbook session identifier on our side.
|
|
46
|
-
optional string session_id = 3;
|
|
47
45
|
}
|
package/sport/sport_pb.js
CHANGED
|
@@ -636,7 +636,8 @@ proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
|
|
|
636
636
|
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
637
637
|
returnUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
638
638
|
clientIp: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
639
|
-
playerName: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
639
|
+
playerName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
640
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
640
641
|
};
|
|
641
642
|
|
|
642
643
|
if (includeInstance) {
|
|
@@ -697,6 +698,10 @@ proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
697
698
|
var value = /** @type {string} */ (reader.readString());
|
|
698
699
|
msg.setPlayerName(value);
|
|
699
700
|
break;
|
|
701
|
+
case 7:
|
|
702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
703
|
+
msg.setSessionId(value);
|
|
704
|
+
break;
|
|
700
705
|
default:
|
|
701
706
|
reader.skipField();
|
|
702
707
|
break;
|
|
@@ -768,6 +773,13 @@ proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, write
|
|
|
768
773
|
f
|
|
769
774
|
);
|
|
770
775
|
}
|
|
776
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
777
|
+
if (f != null) {
|
|
778
|
+
writer.writeString(
|
|
779
|
+
7,
|
|
780
|
+
f
|
|
781
|
+
);
|
|
782
|
+
}
|
|
771
783
|
};
|
|
772
784
|
|
|
773
785
|
|
|
@@ -987,6 +999,42 @@ proto.sport.LaunchBetbyRequest.prototype.hasPlayerName = function() {
|
|
|
987
999
|
};
|
|
988
1000
|
|
|
989
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* optional string session_id = 7;
|
|
1004
|
+
* @return {string}
|
|
1005
|
+
*/
|
|
1006
|
+
proto.sport.LaunchBetbyRequest.prototype.getSessionId = function() {
|
|
1007
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @param {string} value
|
|
1013
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1014
|
+
*/
|
|
1015
|
+
proto.sport.LaunchBetbyRequest.prototype.setSessionId = function(value) {
|
|
1016
|
+
return jspb.Message.setField(this, 7, value);
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Clears the field making it undefined.
|
|
1022
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1023
|
+
*/
|
|
1024
|
+
proto.sport.LaunchBetbyRequest.prototype.clearSessionId = function() {
|
|
1025
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Returns whether this field is set.
|
|
1031
|
+
* @return {boolean}
|
|
1032
|
+
*/
|
|
1033
|
+
proto.sport.LaunchBetbyRequest.prototype.hasSessionId = function() {
|
|
1034
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
|
|
990
1038
|
|
|
991
1039
|
|
|
992
1040
|
|
|
@@ -1020,8 +1068,7 @@ proto.sport.LaunchBetbyResponse.prototype.toObject = function(opt_includeInstanc
|
|
|
1020
1068
|
proto.sport.LaunchBetbyResponse.toObject = function(includeInstance, msg) {
|
|
1021
1069
|
var f, obj = {
|
|
1022
1070
|
html: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1023
|
-
mode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1024
|
-
sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1071
|
+
mode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1025
1072
|
};
|
|
1026
1073
|
|
|
1027
1074
|
if (includeInstance) {
|
|
@@ -1066,10 +1113,6 @@ proto.sport.LaunchBetbyResponse.deserializeBinaryFromReader = function(msg, read
|
|
|
1066
1113
|
var value = /** @type {string} */ (reader.readString());
|
|
1067
1114
|
msg.setMode(value);
|
|
1068
1115
|
break;
|
|
1069
|
-
case 3:
|
|
1070
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1071
|
-
msg.setSessionId(value);
|
|
1072
|
-
break;
|
|
1073
1116
|
default:
|
|
1074
1117
|
reader.skipField();
|
|
1075
1118
|
break;
|
|
@@ -1113,13 +1156,6 @@ proto.sport.LaunchBetbyResponse.serializeBinaryToWriter = function(message, writ
|
|
|
1113
1156
|
f
|
|
1114
1157
|
);
|
|
1115
1158
|
}
|
|
1116
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1117
|
-
if (f != null) {
|
|
1118
|
-
writer.writeString(
|
|
1119
|
-
3,
|
|
1120
|
-
f
|
|
1121
|
-
);
|
|
1122
|
-
}
|
|
1123
1159
|
};
|
|
1124
1160
|
|
|
1125
1161
|
|
|
@@ -1177,40 +1213,4 @@ proto.sport.LaunchBetbyResponse.prototype.hasMode = function() {
|
|
|
1177
1213
|
};
|
|
1178
1214
|
|
|
1179
1215
|
|
|
1180
|
-
/**
|
|
1181
|
-
* optional string session_id = 3;
|
|
1182
|
-
* @return {string}
|
|
1183
|
-
*/
|
|
1184
|
-
proto.sport.LaunchBetbyResponse.prototype.getSessionId = function() {
|
|
1185
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1186
|
-
};
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* @param {string} value
|
|
1191
|
-
* @return {!proto.sport.LaunchBetbyResponse} returns this
|
|
1192
|
-
*/
|
|
1193
|
-
proto.sport.LaunchBetbyResponse.prototype.setSessionId = function(value) {
|
|
1194
|
-
return jspb.Message.setField(this, 3, value);
|
|
1195
|
-
};
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* Clears the field making it undefined.
|
|
1200
|
-
* @return {!proto.sport.LaunchBetbyResponse} returns this
|
|
1201
|
-
*/
|
|
1202
|
-
proto.sport.LaunchBetbyResponse.prototype.clearSessionId = function() {
|
|
1203
|
-
return jspb.Message.setField(this, 3, undefined);
|
|
1204
|
-
};
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Returns whether this field is set.
|
|
1209
|
-
* @return {boolean}
|
|
1210
|
-
*/
|
|
1211
|
-
proto.sport.LaunchBetbyResponse.prototype.hasSessionId = function() {
|
|
1212
|
-
return jspb.Message.getField(this, 3) != null;
|
|
1213
|
-
};
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
1216
|
goog.object.extend(exports, proto.sport);
|