stargate: Update define-proto script for esModuleInterop

This commit is contained in:
willclarktech 2021-01-27 17:07:10 +00:00
parent b647f1c80e
commit 881319cb81
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -14,7 +14,7 @@ protoc \
--ts_proto_out="$OUT_DIR" \
--proto_path="$COSMOS_PROTO_DIR" \
--proto_path="$THIRD_PARTY_PROTO_DIR" \
--ts_proto_opt="forceLong=long,useOptionals=true" \
--ts_proto_opt="esModuleInterop=true,forceLong=long,useOptionals=true" \
"$COSMOS_PROTO_DIR/cosmos/auth/v1beta1/auth.proto" \
"$COSMOS_PROTO_DIR/cosmos/auth/v1beta1/query.proto" \
"$COSMOS_PROTO_DIR/cosmos/bank/v1beta1/bank.proto" \