build(deps): migrate from grpc to @grpc/grpc-js and make it a prod dependency #182
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: When creating a gRPC Iroha service instance such as
CommandService
orQueryService
you have to make sure to create thecredentials object that you will use to construct the service instances
from the new gRPC library. Otherwise your code will throw, claiming that
you have not passed in a valid credentials object (even though you did,
just with the wrong version of the gRPC library)
Primary changes:
devDependencies
todependencies
so that is a productiondependency of the package.
Secondary changes:
new files in the git index after a
yarn install
execution on the terminal.Fixes #173
Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com