protobuf-platform 1.0.169 → 1.0.170

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
@@ -95,6 +95,7 @@ message GameSearchRequest {
95
95
  optional int32 is_mobile = 10;
96
96
  optional string user_geo = 11;
97
97
  optional bool admin_side = 12;
98
+ optional int32 has_free_spins = 13;
98
99
  }
99
100
  message WagerSearchRequest {
100
101
  int32 wager_id = 1;
package/game/game_pb.js CHANGED
@@ -2358,7 +2358,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
2358
2358
  providerIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
2359
2359
  isMobile: jspb.Message.getFieldWithDefault(msg, 10, 0),
2360
2360
  userGeo: jspb.Message.getFieldWithDefault(msg, 11, ""),
2361
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
2361
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
2362
+ hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0)
2362
2363
  };
2363
2364
 
2364
2365
  if (includeInstance) {
@@ -2451,6 +2452,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
2451
2452
  var value = /** @type {boolean} */ (reader.readBool());
2452
2453
  msg.setAdminSide(value);
2453
2454
  break;
2455
+ case 13:
2456
+ var value = /** @type {number} */ (reader.readInt32());
2457
+ msg.setHasFreeSpins(value);
2458
+ break;
2454
2459
  default:
2455
2460
  reader.skipField();
2456
2461
  break;
@@ -2564,6 +2569,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
2564
2569
  f
2565
2570
  );
2566
2571
  }
2572
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
2573
+ if (f != null) {
2574
+ writer.writeInt32(
2575
+ 13,
2576
+ f
2577
+ );
2578
+ }
2567
2579
  };
2568
2580
 
2569
2581
 
@@ -3004,6 +3016,42 @@ proto.game.GameSearchRequest.prototype.hasAdminSide = function() {
3004
3016
  };
3005
3017
 
3006
3018
 
3019
+ /**
3020
+ * optional int32 has_free_spins = 13;
3021
+ * @return {number}
3022
+ */
3023
+ proto.game.GameSearchRequest.prototype.getHasFreeSpins = function() {
3024
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
3025
+ };
3026
+
3027
+
3028
+ /**
3029
+ * @param {number} value
3030
+ * @return {!proto.game.GameSearchRequest} returns this
3031
+ */
3032
+ proto.game.GameSearchRequest.prototype.setHasFreeSpins = function(value) {
3033
+ return jspb.Message.setField(this, 13, value);
3034
+ };
3035
+
3036
+
3037
+ /**
3038
+ * Clears the field making it undefined.
3039
+ * @return {!proto.game.GameSearchRequest} returns this
3040
+ */
3041
+ proto.game.GameSearchRequest.prototype.clearHasFreeSpins = function() {
3042
+ return jspb.Message.setField(this, 13, undefined);
3043
+ };
3044
+
3045
+
3046
+ /**
3047
+ * Returns whether this field is set.
3048
+ * @return {boolean}
3049
+ */
3050
+ proto.game.GameSearchRequest.prototype.hasHasFreeSpins = function() {
3051
+ return jspb.Message.getField(this, 13) != null;
3052
+ };
3053
+
3054
+
3007
3055
 
3008
3056
 
3009
3057
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {