protobuf-platform 1.0.24 → 1.0.25

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/game/game.proto CHANGED
@@ -34,8 +34,8 @@ message CategoryRequest {
34
34
  int32 id = 1;
35
35
  string title = 2;
36
36
  MetaDataFile metadata = 6;
37
- File file = 7;
38
37
  }
38
+ optional File file = 7;
39
39
  }
40
40
  message GetCategoryRequest {
41
41
  int32 id = 1;
package/game/game_pb.js CHANGED
@@ -921,7 +921,7 @@ proto.game.CategoryItem.prototype.hasImagePath = function() {
921
921
  * @private {!Array<!Array<number>>}
922
922
  * @const
923
923
  */
924
- proto.game.CategoryRequest.oneofGroups_ = [[1,2,6,7]];
924
+ proto.game.CategoryRequest.oneofGroups_ = [[1,2,6]];
925
925
 
926
926
  /**
927
927
  * @enum {number}
@@ -930,8 +930,7 @@ proto.game.CategoryRequest.RequestCase = {
930
930
  REQUEST_NOT_SET: 0,
931
931
  ID: 1,
932
932
  TITLE: 2,
933
- METADATA: 6,
934
- FILE: 7
933
+ METADATA: 6
935
934
  };
936
935
 
937
936
  /**
@@ -1360,7 +1359,7 @@ proto.game.CategoryRequest.prototype.getFile = function() {
1360
1359
  * @return {!proto.game.CategoryRequest} returns this
1361
1360
  */
1362
1361
  proto.game.CategoryRequest.prototype.setFile = function(value) {
1363
- return jspb.Message.setOneofWrapperField(this, 7, proto.game.CategoryRequest.oneofGroups_[0], value);
1362
+ return jspb.Message.setWrapperField(this, 7, value);
1364
1363
  };
1365
1364
 
1366
1365
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {