protobuf-platform 1.0.139 → 1.0.140

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
@@ -130,9 +130,9 @@ message UserBonusItem {
130
130
  optional string activated_at = 16;
131
131
  optional string completed_at = 17;
132
132
  optional string canceled_at = 18;
133
- optional string claiming_end_in_milliseconds = 19;
134
- optional string activation_end_in_milliseconds = 20;
135
- optional string wagering_end_in_milliseconds = 21;
133
+ optional int32 claiming_end_in_milliseconds = 19;
134
+ optional int32 activation_end_in_milliseconds = 20;
135
+ optional int32 wagering_end_in_milliseconds = 21;
136
136
  }
137
137
  message FreeSpinItem {
138
138
  int32 game_id = 1;
package/bonus/bonus_pb.js CHANGED
@@ -5180,9 +5180,9 @@ proto.bonus.UserBonusItem.toObject = function(includeInstance, msg) {
5180
5180
  activatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
5181
5181
  completedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
5182
5182
  canceledAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
5183
- claimingEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 19, ""),
5184
- activationEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, ""),
5185
- wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, "")
5183
+ claimingEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 19, 0),
5184
+ activationEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 20, 0),
5185
+ wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 21, 0)
5186
5186
  };
5187
5187
 
5188
5188
  if (includeInstance) {
@@ -5294,15 +5294,15 @@ proto.bonus.UserBonusItem.deserializeBinaryFromReader = function(msg, reader) {
5294
5294
  msg.setCanceledAt(value);
5295
5295
  break;
5296
5296
  case 19:
5297
- var value = /** @type {string} */ (reader.readString());
5297
+ var value = /** @type {number} */ (reader.readInt32());
5298
5298
  msg.setClaimingEndInMilliseconds(value);
5299
5299
  break;
5300
5300
  case 20:
5301
- var value = /** @type {string} */ (reader.readString());
5301
+ var value = /** @type {number} */ (reader.readInt32());
5302
5302
  msg.setActivationEndInMilliseconds(value);
5303
5303
  break;
5304
5304
  case 21:
5305
- var value = /** @type {string} */ (reader.readString());
5305
+ var value = /** @type {number} */ (reader.readInt32());
5306
5306
  msg.setWageringEndInMilliseconds(value);
5307
5307
  break;
5308
5308
  default:
@@ -5462,23 +5462,23 @@ proto.bonus.UserBonusItem.serializeBinaryToWriter = function(message, writer) {
5462
5462
  f
5463
5463
  );
5464
5464
  }
5465
- f = /** @type {string} */ (jspb.Message.getField(message, 19));
5465
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
5466
5466
  if (f != null) {
5467
- writer.writeString(
5467
+ writer.writeInt32(
5468
5468
  19,
5469
5469
  f
5470
5470
  );
5471
5471
  }
5472
- f = /** @type {string} */ (jspb.Message.getField(message, 20));
5472
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
5473
5473
  if (f != null) {
5474
- writer.writeString(
5474
+ writer.writeInt32(
5475
5475
  20,
5476
5476
  f
5477
5477
  );
5478
5478
  }
5479
- f = /** @type {string} */ (jspb.Message.getField(message, 21));
5479
+ f = /** @type {number} */ (jspb.Message.getField(message, 21));
5480
5480
  if (f != null) {
5481
- writer.writeString(
5481
+ writer.writeInt32(
5482
5482
  21,
5483
5483
  f
5484
5484
  );
@@ -6138,16 +6138,16 @@ proto.bonus.UserBonusItem.prototype.hasCanceledAt = function() {
6138
6138
 
6139
6139
 
6140
6140
  /**
6141
- * optional string claiming_end_in_milliseconds = 19;
6142
- * @return {string}
6141
+ * optional int32 claiming_end_in_milliseconds = 19;
6142
+ * @return {number}
6143
6143
  */
6144
6144
  proto.bonus.UserBonusItem.prototype.getClaimingEndInMilliseconds = function() {
6145
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
6145
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
6146
6146
  };
6147
6147
 
6148
6148
 
6149
6149
  /**
6150
- * @param {string} value
6150
+ * @param {number} value
6151
6151
  * @return {!proto.bonus.UserBonusItem} returns this
6152
6152
  */
6153
6153
  proto.bonus.UserBonusItem.prototype.setClaimingEndInMilliseconds = function(value) {
@@ -6174,16 +6174,16 @@ proto.bonus.UserBonusItem.prototype.hasClaimingEndInMilliseconds = function() {
6174
6174
 
6175
6175
 
6176
6176
  /**
6177
- * optional string activation_end_in_milliseconds = 20;
6178
- * @return {string}
6177
+ * optional int32 activation_end_in_milliseconds = 20;
6178
+ * @return {number}
6179
6179
  */
6180
6180
  proto.bonus.UserBonusItem.prototype.getActivationEndInMilliseconds = function() {
6181
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
6181
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
6182
6182
  };
6183
6183
 
6184
6184
 
6185
6185
  /**
6186
- * @param {string} value
6186
+ * @param {number} value
6187
6187
  * @return {!proto.bonus.UserBonusItem} returns this
6188
6188
  */
6189
6189
  proto.bonus.UserBonusItem.prototype.setActivationEndInMilliseconds = function(value) {
@@ -6210,16 +6210,16 @@ proto.bonus.UserBonusItem.prototype.hasActivationEndInMilliseconds = function()
6210
6210
 
6211
6211
 
6212
6212
  /**
6213
- * optional string wagering_end_in_milliseconds = 21;
6214
- * @return {string}
6213
+ * optional int32 wagering_end_in_milliseconds = 21;
6214
+ * @return {number}
6215
6215
  */
6216
6216
  proto.bonus.UserBonusItem.prototype.getWageringEndInMilliseconds = function() {
6217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
6217
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
6218
6218
  };
6219
6219
 
6220
6220
 
6221
6221
  /**
6222
- * @param {string} value
6222
+ * @param {number} value
6223
6223
  * @return {!proto.bonus.UserBonusItem} returns this
6224
6224
  */
6225
6225
  proto.bonus.UserBonusItem.prototype.setWageringEndInMilliseconds = function(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.139",
3
+ "version": "1.0.140",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {