From ce9f05432bca501fb6cbb88935778952f2109678 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Sat, 3 Feb 2024 00:05:56 +0700 Subject: [PATCH] client: nodejs add flag to enabled proto3 (#286) --- yellowstone-grpc-client-nodejs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yellowstone-grpc-client-nodejs/package.json b/yellowstone-grpc-client-nodejs/package.json index 20b339ee..8e778f2a 100644 --- a/yellowstone-grpc-client-nodejs/package.json +++ b/yellowstone-grpc-client-nodejs/package.json @@ -9,7 +9,7 @@ "scripts": { "build": "npm run grpc-generate && tsc -p .", "fmt": "prettier -w .", - "grpc-generate": "protoc -I../yellowstone-grpc-proto/proto --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --ts_proto_out=./src/grpc geyser.proto" + "grpc-generate": "protoc -I../yellowstone-grpc-proto/proto --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=./src/grpc geyser.proto" }, "repository": { "type": "git",