Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "nice-grpc", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A Node.js gRPC library that is nice to you", | ||
@@ -8,3 +8,6 @@ "keywords": [ | ||
"promise", | ||
"async-iterable" | ||
"async-iterable", | ||
"abort-controller", | ||
"abort-signal", | ||
"typescript" | ||
], | ||
@@ -49,6 +52,6 @@ "repository": "deeplay-io/nice-grpc", | ||
"abort-controller-x": "^0.2.4", | ||
"nice-grpc-common": "^1.0.2", | ||
"nice-grpc-common": "^1.0.3", | ||
"node-abort-controller": "^1.2.1" | ||
}, | ||
"gitHead": "512bf522275b5f5f9e9b94bfa49fb0f339c2b488" | ||
"gitHead": "44e6462e3fd71bfbf2aa6a8717575f406baa75c2" | ||
} |
@@ -72,7 +72,12 @@ # nice-grpc [![npm version][npm-image]][npm-url] <!-- omit in toc --> | ||
./node_modules/.bin/grpc_tools_node_protoc \ | ||
--plugin=protoc-gen-ts_proto=./node_modules/.bin/protoc-gen-ts_proto \ | ||
--ts_proto_out=./compiled_proto \ | ||
--ts_proto_opt=outputServices=generic-definitions \ | ||
--proto_path=./proto \ | ||
./proto/example.proto | ||
``` | ||
> You can omit the `--plugin` flag if you invoke this command via | ||
> [npm script](https://docs.npmjs.com/cli/v7/using-npm/scripts). | ||
#### Using `google-protobuf` | ||
@@ -92,5 +97,8 @@ | ||
./node_modules/.bin/grpc_tools_node_protoc \ | ||
--plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin \ | ||
--plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ | ||
--js_out=import_style=commonjs,binary:./compiled_proto \ | ||
--ts_out=grpc_js:./compiled_proto \ | ||
--grpc_out=grpc_js:./compiled_proto \ | ||
--proto_path=./proto \ | ||
./proto/example.proto | ||
@@ -97,0 +105,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188830
1026
Updatednice-grpc-common@^1.0.3