protobuf-platform 1.1.83 → 1.1.84

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/bet/bet.proto CHANGED
@@ -85,16 +85,16 @@ message SegmentedUserRequest {
85
85
  optional string currency = 1;
86
86
  optional float bet_amount_min = 2;
87
87
  optional float bet_amount_max = 3;
88
- optional float bet_count_min = 4;
89
- optional float bet_count_max = 5;
90
- optional int32 bet_sum_min = 6;
91
- optional int32 bet_sum_max = 7;
88
+ optional int32 bet_count_min = 4;
89
+ optional int32 bet_count_max = 5;
90
+ optional float bet_sum_min = 6;
91
+ optional float bet_sum_max = 7;
92
92
  optional float bet_avg_min = 8;
93
93
  optional float bet_avg_max = 9;
94
94
  optional float win_amount_min = 10;
95
95
  optional float win_amount_max = 11;
96
- optional float win_count_min = 12;
97
- optional float win_count_max = 13;
96
+ optional int32 win_count_min = 12;
97
+ optional int32 win_count_max = 13;
98
98
  optional float win_sum_min = 14;
99
99
  optional float win_sum_max = 15;
100
100
  optional float win_avg_min = 16;
package/bet/bet_pb.js CHANGED
@@ -3670,16 +3670,16 @@ proto.bet.SegmentedUserRequest.toObject = function(includeInstance, msg) {
3670
3670
  currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
3671
3671
  betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
3672
3672
  betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
3673
- betCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
3674
- betCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
3675
- betSumMin: jspb.Message.getFieldWithDefault(msg, 6, 0),
3676
- betSumMax: jspb.Message.getFieldWithDefault(msg, 7, 0),
3673
+ betCountMin: jspb.Message.getFieldWithDefault(msg, 4, 0),
3674
+ betCountMax: jspb.Message.getFieldWithDefault(msg, 5, 0),
3675
+ betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
3676
+ betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
3677
3677
  betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
3678
3678
  betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
3679
3679
  winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
3680
3680
  winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
3681
- winCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
3682
- winCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
3681
+ winCountMin: jspb.Message.getFieldWithDefault(msg, 12, 0),
3682
+ winCountMax: jspb.Message.getFieldWithDefault(msg, 13, 0),
3683
3683
  winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
3684
3684
  winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
3685
3685
  winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
@@ -3733,19 +3733,19 @@ proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reade
3733
3733
  msg.setBetAmountMax(value);
3734
3734
  break;
3735
3735
  case 4:
3736
- var value = /** @type {number} */ (reader.readFloat());
3736
+ var value = /** @type {number} */ (reader.readInt32());
3737
3737
  msg.setBetCountMin(value);
3738
3738
  break;
3739
3739
  case 5:
3740
- var value = /** @type {number} */ (reader.readFloat());
3740
+ var value = /** @type {number} */ (reader.readInt32());
3741
3741
  msg.setBetCountMax(value);
3742
3742
  break;
3743
3743
  case 6:
3744
- var value = /** @type {number} */ (reader.readInt32());
3744
+ var value = /** @type {number} */ (reader.readFloat());
3745
3745
  msg.setBetSumMin(value);
3746
3746
  break;
3747
3747
  case 7:
3748
- var value = /** @type {number} */ (reader.readInt32());
3748
+ var value = /** @type {number} */ (reader.readFloat());
3749
3749
  msg.setBetSumMax(value);
3750
3750
  break;
3751
3751
  case 8:
@@ -3765,11 +3765,11 @@ proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reade
3765
3765
  msg.setWinAmountMax(value);
3766
3766
  break;
3767
3767
  case 12:
3768
- var value = /** @type {number} */ (reader.readFloat());
3768
+ var value = /** @type {number} */ (reader.readInt32());
3769
3769
  msg.setWinCountMin(value);
3770
3770
  break;
3771
3771
  case 13:
3772
- var value = /** @type {number} */ (reader.readFloat());
3772
+ var value = /** @type {number} */ (reader.readInt32());
3773
3773
  msg.setWinCountMax(value);
3774
3774
  break;
3775
3775
  case 14:
@@ -3840,28 +3840,28 @@ proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, write
3840
3840
  }
3841
3841
  f = /** @type {number} */ (jspb.Message.getField(message, 4));
3842
3842
  if (f != null) {
3843
- writer.writeFloat(
3843
+ writer.writeInt32(
3844
3844
  4,
3845
3845
  f
3846
3846
  );
3847
3847
  }
3848
3848
  f = /** @type {number} */ (jspb.Message.getField(message, 5));
3849
3849
  if (f != null) {
3850
- writer.writeFloat(
3850
+ writer.writeInt32(
3851
3851
  5,
3852
3852
  f
3853
3853
  );
3854
3854
  }
3855
3855
  f = /** @type {number} */ (jspb.Message.getField(message, 6));
3856
3856
  if (f != null) {
3857
- writer.writeInt32(
3857
+ writer.writeFloat(
3858
3858
  6,
3859
3859
  f
3860
3860
  );
3861
3861
  }
3862
3862
  f = /** @type {number} */ (jspb.Message.getField(message, 7));
3863
3863
  if (f != null) {
3864
- writer.writeInt32(
3864
+ writer.writeFloat(
3865
3865
  7,
3866
3866
  f
3867
3867
  );
@@ -3896,14 +3896,14 @@ proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, write
3896
3896
  }
3897
3897
  f = /** @type {number} */ (jspb.Message.getField(message, 12));
3898
3898
  if (f != null) {
3899
- writer.writeFloat(
3899
+ writer.writeInt32(
3900
3900
  12,
3901
3901
  f
3902
3902
  );
3903
3903
  }
3904
3904
  f = /** @type {number} */ (jspb.Message.getField(message, 13));
3905
3905
  if (f != null) {
3906
- writer.writeFloat(
3906
+ writer.writeInt32(
3907
3907
  13,
3908
3908
  f
3909
3909
  );
@@ -4048,11 +4048,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetAmountMax = function() {
4048
4048
 
4049
4049
 
4050
4050
  /**
4051
- * optional float bet_count_min = 4;
4051
+ * optional int32 bet_count_min = 4;
4052
4052
  * @return {number}
4053
4053
  */
4054
4054
  proto.bet.SegmentedUserRequest.prototype.getBetCountMin = function() {
4055
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
4055
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4056
4056
  };
4057
4057
 
4058
4058
 
@@ -4084,11 +4084,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetCountMin = function() {
4084
4084
 
4085
4085
 
4086
4086
  /**
4087
- * optional float bet_count_max = 5;
4087
+ * optional int32 bet_count_max = 5;
4088
4088
  * @return {number}
4089
4089
  */
4090
4090
  proto.bet.SegmentedUserRequest.prototype.getBetCountMax = function() {
4091
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
4091
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
4092
4092
  };
4093
4093
 
4094
4094
 
@@ -4120,11 +4120,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetCountMax = function() {
4120
4120
 
4121
4121
 
4122
4122
  /**
4123
- * optional int32 bet_sum_min = 6;
4123
+ * optional float bet_sum_min = 6;
4124
4124
  * @return {number}
4125
4125
  */
4126
4126
  proto.bet.SegmentedUserRequest.prototype.getBetSumMin = function() {
4127
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4127
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
4128
4128
  };
4129
4129
 
4130
4130
 
@@ -4156,11 +4156,11 @@ proto.bet.SegmentedUserRequest.prototype.hasBetSumMin = function() {
4156
4156
 
4157
4157
 
4158
4158
  /**
4159
- * optional int32 bet_sum_max = 7;
4159
+ * optional float bet_sum_max = 7;
4160
4160
  * @return {number}
4161
4161
  */
4162
4162
  proto.bet.SegmentedUserRequest.prototype.getBetSumMax = function() {
4163
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4163
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
4164
4164
  };
4165
4165
 
4166
4166
 
@@ -4336,11 +4336,11 @@ proto.bet.SegmentedUserRequest.prototype.hasWinAmountMax = function() {
4336
4336
 
4337
4337
 
4338
4338
  /**
4339
- * optional float win_count_min = 12;
4339
+ * optional int32 win_count_min = 12;
4340
4340
  * @return {number}
4341
4341
  */
4342
4342
  proto.bet.SegmentedUserRequest.prototype.getWinCountMin = function() {
4343
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
4343
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
4344
4344
  };
4345
4345
 
4346
4346
 
@@ -4372,11 +4372,11 @@ proto.bet.SegmentedUserRequest.prototype.hasWinCountMin = function() {
4372
4372
 
4373
4373
 
4374
4374
  /**
4375
- * optional float win_count_max = 13;
4375
+ * optional int32 win_count_max = 13;
4376
4376
  * @return {number}
4377
4377
  */
4378
4378
  proto.bet.SegmentedUserRequest.prototype.getWinCountMax = function() {
4379
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
4379
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
4380
4380
  };
4381
4381
 
4382
4382
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {