protobuf-platform 1.0.20 → 1.0.22

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/index.js CHANGED
@@ -7,6 +7,8 @@ const UserService = require('./user/user_grpc_pb');
7
7
  const UserServiceMessages = require('./user/user_pb');
8
8
  const LogService = require('./log/log_grpc_pb');
9
9
  const LogServiceMessages = require('./log/log_pb');
10
+ const GameService = require('./game/game_grpc_pb');
11
+ const GameServiceMessages = require('./game/game_pb');
10
12
  module.exports = {
11
13
  gRPC: gRPC,
12
14
  maxSendMessageLength: 10388608,
@@ -24,4 +26,8 @@ module.exports = {
24
26
  service: LogService,
25
27
  messages: LogServiceMessages
26
28
  },
29
+ game: {
30
+ service: GameService,
31
+ messages: GameServiceMessages
32
+ },
27
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2,4 +2,5 @@
2
2
 
3
3
  grpc_tools_node_protoc --js_out=import_style=commonjs,binary:config --grpc_out=grpc_js:config --proto_path=./config ./config/*.proto &&
4
4
  grpc_tools_node_protoc --js_out=import_style=commonjs,binary:user --grpc_out=grpc_js:user --proto_path=./user ./user/*.proto &&
5
- grpc_tools_node_protoc --js_out=import_style=commonjs,binary:log --grpc_out=grpc_js:log --proto_path=./log ./log/*.proto
5
+ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:log --grpc_out=grpc_js:log --proto_path=./log ./log/*.proto &&
6
+ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:game --grpc_out=grpc_js:game --proto_path=./game ./game/*.proto