@triton-one/yellowstone-grpc
Advanced tools
Comparing version 1.4.1 to 2.0.0
{ | ||
"name": "@triton-one/yellowstone-grpc", | ||
"version": "1.4.1", | ||
"version": "2.0.0", | ||
"license": "Apache-2.0", | ||
"author": "Triton One", | ||
"description": "Yellowstone gRPC Geyser Node.js Client", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/cjs/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"scripts": { | ||
"build": "npm run grpc-generate && tsc -p .", | ||
"build": "npm run grpc-generate && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json && npm run cp-encoding-files && node add-js-extensions.js", | ||
"cp-encoding-files": "mkdir -p dist/esm/encoding && cp -r src/encoding/* dist/cjs/encoding/ && mkdir -p dist/esm/encoding && cp -r src/encoding/* dist/esm/encoding/ && mkdir -p dist/types/encoding && cp -r src/encoding/* dist/types/encoding/", | ||
"fmt": "prettier -w .", | ||
"grpc-generate": "mkdir -p src/grpc && 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" | ||
"grpc-generate": "mkdir -p src/grpc && 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 --ts_proto_opt=esModuleInterop=true" | ||
}, | ||
@@ -32,4 +33,6 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/parser": "^7.26.3", | ||
"@solana/rpc-api": "=2.0.0", | ||
"prettier": "^2.8.3", | ||
"recast": "^0.23.9", | ||
"ts-proto": "^1.139.0", | ||
@@ -43,3 +46,9 @@ "typescript": "=5.2.2" | ||
"dist" | ||
] | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
} | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5381916
39
31505
6
8
5