protobuf-platform 1.0.83 → 1.0.85
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/bet/bet.proto +35 -0
- package/bet/bet_grpc_pb.js +78 -0
- package/bet/bet_pb.js +1587 -0
- package/index.js +6 -0
- package/package.json +1 -1
- package/update_protobuf.sh +2 -1
package/index.js
CHANGED
@@ -11,6 +11,8 @@ const GameService = require('./game/game_grpc_pb');
|
|
11
11
|
const GameServiceMessages = require('./game/game_pb');
|
12
12
|
const FileService = require('./file/file_grpc_pb');
|
13
13
|
const FileServiceMessages = require('./file/file_pb');
|
14
|
+
const BetService = require('./bet/bet_grpc_pb');
|
15
|
+
const BetServiceMessages = require('./bet/bet_pb');
|
14
16
|
module.exports = {
|
15
17
|
gRPC: gRPC,
|
16
18
|
maxSendMessageLength: 10388608,
|
@@ -36,4 +38,8 @@ module.exports = {
|
|
36
38
|
service: FileService,
|
37
39
|
messages: FileServiceMessages
|
38
40
|
},
|
41
|
+
bet: {
|
42
|
+
service: BetService,
|
43
|
+
messages: BetServiceMessages
|
44
|
+
},
|
39
45
|
};
|
package/package.json
CHANGED
package/update_protobuf.sh
CHANGED
@@ -4,4 +4,5 @@ grpc_tools_node_protoc --js_out=import_style=commonjs,binary:config --grpc_out=g
|
|
4
4
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:user --grpc_out=grpc_js:user --proto_path=./user ./user/*.proto &&
|
5
5
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:log --grpc_out=grpc_js:log --proto_path=./log ./log/*.proto &&
|
6
6
|
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:game --grpc_out=grpc_js:game --proto_path=./game ./game/*.proto &&
|
7
|
-
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:file --grpc_out=grpc_js:file --proto_path=./file ./file/*.proto
|
7
|
+
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:file --grpc_out=grpc_js:file --proto_path=./file ./file/*.proto &&
|
8
|
+
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:bet --grpc_out=grpc_js:bet --proto_path=./bet ./bet/*.proto
|