protobuf-platform 1.2.176 → 1.2.177

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.
@@ -146,7 +146,7 @@ message CommonCountriesResponse {
146
146
  repeated CountryItem countries = 1;
147
147
  }
148
148
  message CountriesResponse {
149
- repeated MirrorItem items = 1;
149
+ repeated CountryItem items = 1;
150
150
  optional int32 total_pages = 2;
151
151
  optional int32 total_items = 3;
152
152
  }
@@ -5471,7 +5471,7 @@ proto.config.CountriesResponse.prototype.toObject = function(opt_includeInstance
5471
5471
  proto.config.CountriesResponse.toObject = function(includeInstance, msg) {
5472
5472
  var f, obj = {
5473
5473
  itemsList: jspb.Message.toObjectList(msg.getItemsList(),
5474
- proto.config.MirrorItem.toObject, includeInstance),
5474
+ proto.config.CountryItem.toObject, includeInstance),
5475
5475
  totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
5476
5476
  totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
5477
5477
  };
@@ -5511,8 +5511,8 @@ proto.config.CountriesResponse.deserializeBinaryFromReader = function(msg, reade
5511
5511
  var field = reader.getFieldNumber();
5512
5512
  switch (field) {
5513
5513
  case 1:
5514
- var value = new proto.config.MirrorItem;
5515
- reader.readMessage(value,proto.config.MirrorItem.deserializeBinaryFromReader);
5514
+ var value = new proto.config.CountryItem;
5515
+ reader.readMessage(value,proto.config.CountryItem.deserializeBinaryFromReader);
5516
5516
  msg.addItems(value);
5517
5517
  break;
5518
5518
  case 2:
@@ -5557,7 +5557,7 @@ proto.config.CountriesResponse.serializeBinaryToWriter = function(message, write
5557
5557
  writer.writeRepeatedMessage(
5558
5558
  1,
5559
5559
  f,
5560
- proto.config.MirrorItem.serializeBinaryToWriter
5560
+ proto.config.CountryItem.serializeBinaryToWriter
5561
5561
  );
5562
5562
  }
5563
5563
  f = /** @type {number} */ (jspb.Message.getField(message, 2));
@@ -5578,17 +5578,17 @@ proto.config.CountriesResponse.serializeBinaryToWriter = function(message, write
5578
5578
 
5579
5579
 
5580
5580
  /**
5581
- * repeated MirrorItem items = 1;
5582
- * @return {!Array<!proto.config.MirrorItem>}
5581
+ * repeated CountryItem items = 1;
5582
+ * @return {!Array<!proto.config.CountryItem>}
5583
5583
  */
5584
5584
  proto.config.CountriesResponse.prototype.getItemsList = function() {
5585
- return /** @type{!Array<!proto.config.MirrorItem>} */ (
5586
- jspb.Message.getRepeatedWrapperField(this, proto.config.MirrorItem, 1));
5585
+ return /** @type{!Array<!proto.config.CountryItem>} */ (
5586
+ jspb.Message.getRepeatedWrapperField(this, proto.config.CountryItem, 1));
5587
5587
  };
5588
5588
 
5589
5589
 
5590
5590
  /**
5591
- * @param {!Array<!proto.config.MirrorItem>} value
5591
+ * @param {!Array<!proto.config.CountryItem>} value
5592
5592
  * @return {!proto.config.CountriesResponse} returns this
5593
5593
  */
5594
5594
  proto.config.CountriesResponse.prototype.setItemsList = function(value) {
@@ -5597,12 +5597,12 @@ proto.config.CountriesResponse.prototype.setItemsList = function(value) {
5597
5597
 
5598
5598
 
5599
5599
  /**
5600
- * @param {!proto.config.MirrorItem=} opt_value
5600
+ * @param {!proto.config.CountryItem=} opt_value
5601
5601
  * @param {number=} opt_index
5602
- * @return {!proto.config.MirrorItem}
5602
+ * @return {!proto.config.CountryItem}
5603
5603
  */
5604
5604
  proto.config.CountriesResponse.prototype.addItems = function(opt_value, opt_index) {
5605
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.MirrorItem, opt_index);
5605
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.CountryItem, opt_index);
5606
5606
  };
5607
5607
 
5608
5608
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.176",
3
+ "version": "1.2.177",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {