protobuf-platform 1.2.439 → 1.2.440

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
@@ -164,7 +164,8 @@ message GameSearchRequest {
164
164
  optional int32 has_free_spins = 13;
165
165
  optional int32 is_hidden = 14;
166
166
  repeated int32 game_ids = 15;
167
- optional string query = 16;
167
+ optional string query = 16;
168
+ optional string type = 17;
168
169
  }
169
170
  message WagerSearchRequest {
170
171
  optional int32 wager_id = 1;
package/game/game_pb.js CHANGED
@@ -4532,7 +4532,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
4532
4532
  hasFreeSpins: jspb.Message.getFieldWithDefault(msg, 13, 0),
4533
4533
  isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0),
4534
4534
  gameIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
4535
- query: jspb.Message.getFieldWithDefault(msg, 16, "")
4535
+ query: jspb.Message.getFieldWithDefault(msg, 16, ""),
4536
+ type: jspb.Message.getFieldWithDefault(msg, 17, "")
4536
4537
  };
4537
4538
 
4538
4539
  if (includeInstance) {
@@ -4643,6 +4644,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
4643
4644
  var value = /** @type {string} */ (reader.readString());
4644
4645
  msg.setQuery(value);
4645
4646
  break;
4647
+ case 17:
4648
+ var value = /** @type {string} */ (reader.readString());
4649
+ msg.setType(value);
4650
+ break;
4646
4651
  default:
4647
4652
  reader.skipField();
4648
4653
  break;
@@ -4784,6 +4789,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
4784
4789
  f
4785
4790
  );
4786
4791
  }
4792
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
4793
+ if (f != null) {
4794
+ writer.writeString(
4795
+ 17,
4796
+ f
4797
+ );
4798
+ }
4787
4799
  };
4788
4800
 
4789
4801
 
@@ -5369,6 +5381,42 @@ proto.game.GameSearchRequest.prototype.hasQuery = function() {
5369
5381
  };
5370
5382
 
5371
5383
 
5384
+ /**
5385
+ * optional string type = 17;
5386
+ * @return {string}
5387
+ */
5388
+ proto.game.GameSearchRequest.prototype.getType = function() {
5389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
5390
+ };
5391
+
5392
+
5393
+ /**
5394
+ * @param {string} value
5395
+ * @return {!proto.game.GameSearchRequest} returns this
5396
+ */
5397
+ proto.game.GameSearchRequest.prototype.setType = function(value) {
5398
+ return jspb.Message.setField(this, 17, value);
5399
+ };
5400
+
5401
+
5402
+ /**
5403
+ * Clears the field making it undefined.
5404
+ * @return {!proto.game.GameSearchRequest} returns this
5405
+ */
5406
+ proto.game.GameSearchRequest.prototype.clearType = function() {
5407
+ return jspb.Message.setField(this, 17, undefined);
5408
+ };
5409
+
5410
+
5411
+ /**
5412
+ * Returns whether this field is set.
5413
+ * @return {boolean}
5414
+ */
5415
+ proto.game.GameSearchRequest.prototype.hasType = function() {
5416
+ return jspb.Message.getField(this, 17) != null;
5417
+ };
5418
+
5419
+
5372
5420
 
5373
5421
  /**
5374
5422
  * 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.2.439",
3
+ "version": "1.2.440",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {