BREAKING CHANGE: When creating a gRPC Iroha service instance such as
CommandService or QueryService you have to make sure to create the
credentials 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:
Migrate over from the legacy and unmaintained grpc to @grpc/grpc-js
Move from devDependencies to dependencies so that is a production
dependency of the package.
Secondary changes:
Ignored the .yarn/cache directory in git so that there aren't 400
new files in the git index after a yarn install execution on the terminal.
BREAKING CHANGE: When creating a gRPC Iroha service instance such as
CommandService
orQueryService
you have to make sure to create the credentials 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 production dependency of the package.Secondary changes:
yarn install
execution on the terminal.Fixes https://github.com/hyperledger/iroha-javascript/issues/173
Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com