protobuf-platform 1.2.90 → 1.2.91

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/bonus/bonus.proto CHANGED
@@ -114,8 +114,8 @@ message BonusItemRequest {
114
114
  optional int32 type_id = 7;
115
115
  optional int32 wager_x = 8;
116
116
  optional int32 payout_x = 9;
117
- optional bool is_real_wagering = 10;
118
- optional bool is_bonus_wagering = 11;
117
+ optional int32 is_real_wagering = 10;
118
+ optional int32 is_bonus_wagering = 11;
119
119
  optional int32 repeat_count = 12;
120
120
  optional int32 wager_games_list_id = 13;
121
121
  optional string started_at = 14;
package/bonus/bonus_pb.js CHANGED
@@ -4235,8 +4235,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
4235
4235
  typeId: jspb.Message.getFieldWithDefault(msg, 7, 0),
4236
4236
  wagerX: jspb.Message.getFieldWithDefault(msg, 8, 0),
4237
4237
  payoutX: jspb.Message.getFieldWithDefault(msg, 9, 0),
4238
- isRealWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
4239
- isBonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
4238
+ isRealWagering: jspb.Message.getFieldWithDefault(msg, 10, 0),
4239
+ isBonusWagering: jspb.Message.getFieldWithDefault(msg, 11, 0),
4240
4240
  repeatCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
4241
4241
  wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 13, 0),
4242
4242
  startedAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
@@ -4319,11 +4319,11 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
4319
4319
  msg.setPayoutX(value);
4320
4320
  break;
4321
4321
  case 10:
4322
- var value = /** @type {boolean} */ (reader.readBool());
4322
+ var value = /** @type {number} */ (reader.readInt32());
4323
4323
  msg.setIsRealWagering(value);
4324
4324
  break;
4325
4325
  case 11:
4326
- var value = /** @type {boolean} */ (reader.readBool());
4326
+ var value = /** @type {number} */ (reader.readInt32());
4327
4327
  msg.setIsBonusWagering(value);
4328
4328
  break;
4329
4329
  case 12:
@@ -4454,16 +4454,16 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
4454
4454
  f
4455
4455
  );
4456
4456
  }
4457
- f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
4457
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
4458
4458
  if (f != null) {
4459
- writer.writeBool(
4459
+ writer.writeInt32(
4460
4460
  10,
4461
4461
  f
4462
4462
  );
4463
4463
  }
4464
- f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
4464
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
4465
4465
  if (f != null) {
4466
- writer.writeBool(
4466
+ writer.writeInt32(
4467
4467
  11,
4468
4468
  f
4469
4469
  );
@@ -4859,16 +4859,16 @@ proto.bonus.BonusItemRequest.prototype.hasPayoutX = function() {
4859
4859
 
4860
4860
 
4861
4861
  /**
4862
- * optional bool is_real_wagering = 10;
4863
- * @return {boolean}
4862
+ * optional int32 is_real_wagering = 10;
4863
+ * @return {number}
4864
4864
  */
4865
4865
  proto.bonus.BonusItemRequest.prototype.getIsRealWagering = function() {
4866
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
4866
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
4867
4867
  };
4868
4868
 
4869
4869
 
4870
4870
  /**
4871
- * @param {boolean} value
4871
+ * @param {number} value
4872
4872
  * @return {!proto.bonus.BonusItemRequest} returns this
4873
4873
  */
4874
4874
  proto.bonus.BonusItemRequest.prototype.setIsRealWagering = function(value) {
@@ -4895,16 +4895,16 @@ proto.bonus.BonusItemRequest.prototype.hasIsRealWagering = function() {
4895
4895
 
4896
4896
 
4897
4897
  /**
4898
- * optional bool is_bonus_wagering = 11;
4899
- * @return {boolean}
4898
+ * optional int32 is_bonus_wagering = 11;
4899
+ * @return {number}
4900
4900
  */
4901
4901
  proto.bonus.BonusItemRequest.prototype.getIsBonusWagering = function() {
4902
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
4902
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
4903
4903
  };
4904
4904
 
4905
4905
 
4906
4906
  /**
4907
- * @param {boolean} value
4907
+ * @param {number} value
4908
4908
  * @return {!proto.bonus.BonusItemRequest} returns this
4909
4909
  */
4910
4910
  proto.bonus.BonusItemRequest.prototype.setIsBonusWagering = function(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.90",
3
+ "version": "1.2.91",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {