protobuf-platform 1.0.155 → 1.0.156

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
@@ -477,7 +477,7 @@ message WagerListRequest {
477
477
  optional int32 id = 1;
478
478
  optional string title = 2;
479
479
  optional string description = 3;
480
- optional bool is_active = 4;
480
+ optional int32 is_active = 4;
481
481
  optional float contribution = 5;
482
482
  }
483
483
  message WagerListGamesRequest {
package/game/game_pb.js CHANGED
@@ -19523,7 +19523,7 @@ proto.game.WagerListRequest.toObject = function(includeInstance, msg) {
19523
19523
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
19524
19524
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
19525
19525
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
19526
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
19526
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
19527
19527
  contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
19528
19528
  };
19529
19529
 
@@ -19574,7 +19574,7 @@ proto.game.WagerListRequest.deserializeBinaryFromReader = function(msg, reader)
19574
19574
  msg.setDescription(value);
19575
19575
  break;
19576
19576
  case 4:
19577
- var value = /** @type {boolean} */ (reader.readBool());
19577
+ var value = /** @type {number} */ (reader.readInt32());
19578
19578
  msg.setIsActive(value);
19579
19579
  break;
19580
19580
  case 5:
@@ -19631,9 +19631,9 @@ proto.game.WagerListRequest.serializeBinaryToWriter = function(message, writer)
19631
19631
  f
19632
19632
  );
19633
19633
  }
19634
- f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
19634
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
19635
19635
  if (f != null) {
19636
- writer.writeBool(
19636
+ writer.writeInt32(
19637
19637
  4,
19638
19638
  f
19639
19639
  );
@@ -19757,16 +19757,16 @@ proto.game.WagerListRequest.prototype.hasDescription = function() {
19757
19757
 
19758
19758
 
19759
19759
  /**
19760
- * optional bool is_active = 4;
19761
- * @return {boolean}
19760
+ * optional int32 is_active = 4;
19761
+ * @return {number}
19762
19762
  */
19763
19763
  proto.game.WagerListRequest.prototype.getIsActive = function() {
19764
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
19764
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
19765
19765
  };
19766
19766
 
19767
19767
 
19768
19768
  /**
19769
- * @param {boolean} value
19769
+ * @param {number} value
19770
19770
  * @return {!proto.game.WagerListRequest} returns this
19771
19771
  */
19772
19772
  proto.game.WagerListRequest.prototype.setIsActive = function(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.155",
3
+ "version": "1.0.156",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {