protobuf-platform 1.1.53 → 1.1.54

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
@@ -235,4 +235,5 @@ message DashboardRequest {
235
235
  message DashboardResponse {
236
236
  int32 free_spins_total = 1;
237
237
  int32 free_spins_played = 2;
238
+ float free_spins_played_sum = 3;
238
239
  }
package/bonus/bonus_pb.js CHANGED
@@ -10382,7 +10382,8 @@ proto.bonus.DashboardResponse.prototype.toObject = function(opt_includeInstance)
10382
10382
  proto.bonus.DashboardResponse.toObject = function(includeInstance, msg) {
10383
10383
  var f, obj = {
10384
10384
  freeSpinsTotal: jspb.Message.getFieldWithDefault(msg, 1, 0),
10385
- freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0)
10385
+ freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0),
10386
+ freeSpinsPlayedSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
10386
10387
  };
10387
10388
 
10388
10389
  if (includeInstance) {
@@ -10427,6 +10428,10 @@ proto.bonus.DashboardResponse.deserializeBinaryFromReader = function(msg, reader
10427
10428
  var value = /** @type {number} */ (reader.readInt32());
10428
10429
  msg.setFreeSpinsPlayed(value);
10429
10430
  break;
10431
+ case 3:
10432
+ var value = /** @type {number} */ (reader.readFloat());
10433
+ msg.setFreeSpinsPlayedSum(value);
10434
+ break;
10430
10435
  default:
10431
10436
  reader.skipField();
10432
10437
  break;
@@ -10470,6 +10475,13 @@ proto.bonus.DashboardResponse.serializeBinaryToWriter = function(message, writer
10470
10475
  f
10471
10476
  );
10472
10477
  }
10478
+ f = message.getFreeSpinsPlayedSum();
10479
+ if (f !== 0.0) {
10480
+ writer.writeFloat(
10481
+ 3,
10482
+ f
10483
+ );
10484
+ }
10473
10485
  };
10474
10486
 
10475
10487
 
@@ -10509,4 +10521,22 @@ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayed = function(value) {
10509
10521
  };
10510
10522
 
10511
10523
 
10524
+ /**
10525
+ * optional float free_spins_played_sum = 3;
10526
+ * @return {number}
10527
+ */
10528
+ proto.bonus.DashboardResponse.prototype.getFreeSpinsPlayedSum = function() {
10529
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
10530
+ };
10531
+
10532
+
10533
+ /**
10534
+ * @param {number} value
10535
+ * @return {!proto.bonus.DashboardResponse} returns this
10536
+ */
10537
+ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayedSum = function(value) {
10538
+ return jspb.Message.setProto3FloatField(this, 3, value);
10539
+ };
10540
+
10541
+
10512
10542
  goog.object.extend(exports, proto.bonus);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.53",
3
+ "version": "1.1.54",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {