protobuf-platform 1.0.157 → 1.0.158

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
@@ -45,8 +45,8 @@ service Game {
45
45
  rpc searchGamesByTags(SearchGamesIntoTagsRequest) returns (GameItemsResponse);
46
46
  rpc initGameSession(InitGameSessionRequest) returns (InitGameSessionResponse);
47
47
  rpc initDemoGameSession(InitDemoGameSessionRequest) returns (InitGameSessionResponse);
48
- rpc getCollectionsByGeo(GameRelationsRequest) returns (GameRelationsRequest);
49
- rpc getTagsByGeo(GameRelationsRequest) returns (GameRelationsRequest);
48
+ rpc getCollectionsByGeo(GameRelationsRequest) returns (GameRelationsResponse);
49
+ rpc getTagsByGeo(GameRelationsRequest) returns (GameRelationsResponse);
50
50
  //Vendor
51
51
  rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
52
52
  rpc getIntegratorSettings(IntegratorSettingsRequest) returns (IntegratorSettingsResponse);
@@ -213,6 +213,17 @@ function deserialize_game_GameRelationsRequest(buffer_arg) {
213
213
  return game_pb.GameRelationsRequest.deserializeBinary(new Uint8Array(buffer_arg));
214
214
  }
215
215
 
216
+ function serialize_game_GameRelationsResponse(arg) {
217
+ if (!(arg instanceof game_pb.GameRelationsResponse)) {
218
+ throw new Error('Expected argument of type game.GameRelationsResponse');
219
+ }
220
+ return Buffer.from(arg.serializeBinary());
221
+ }
222
+
223
+ function deserialize_game_GameRelationsResponse(buffer_arg) {
224
+ return game_pb.GameRelationsResponse.deserializeBinary(new Uint8Array(buffer_arg));
225
+ }
226
+
216
227
  function serialize_game_GameRequest(arg) {
217
228
  if (!(arg instanceof game_pb.GameRequest)) {
218
229
  throw new Error('Expected argument of type game.GameRequest');
@@ -1116,22 +1127,22 @@ parseGames: {
1116
1127
  requestStream: false,
1117
1128
  responseStream: false,
1118
1129
  requestType: game_pb.GameRelationsRequest,
1119
- responseType: game_pb.GameRelationsRequest,
1130
+ responseType: game_pb.GameRelationsResponse,
1120
1131
  requestSerialize: serialize_game_GameRelationsRequest,
1121
1132
  requestDeserialize: deserialize_game_GameRelationsRequest,
1122
- responseSerialize: serialize_game_GameRelationsRequest,
1123
- responseDeserialize: deserialize_game_GameRelationsRequest,
1133
+ responseSerialize: serialize_game_GameRelationsResponse,
1134
+ responseDeserialize: deserialize_game_GameRelationsResponse,
1124
1135
  },
1125
1136
  getTagsByGeo: {
1126
1137
  path: '/game.Game/getTagsByGeo',
1127
1138
  requestStream: false,
1128
1139
  responseStream: false,
1129
1140
  requestType: game_pb.GameRelationsRequest,
1130
- responseType: game_pb.GameRelationsRequest,
1141
+ responseType: game_pb.GameRelationsResponse,
1131
1142
  requestSerialize: serialize_game_GameRelationsRequest,
1132
1143
  requestDeserialize: deserialize_game_GameRelationsRequest,
1133
- responseSerialize: serialize_game_GameRelationsRequest,
1134
- responseDeserialize: deserialize_game_GameRelationsRequest,
1144
+ responseSerialize: serialize_game_GameRelationsResponse,
1145
+ responseDeserialize: deserialize_game_GameRelationsResponse,
1135
1146
  },
1136
1147
  // Vendor
1137
1148
  processedVendorActionCallback: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.157",
3
+ "version": "1.0.158",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {