Skip to content

Commit

Permalink
client: add gRPC channel options to Node.js (rpcpool#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Mar 21, 2024
1 parent cd0f58d commit 9981285
Show file tree
Hide file tree
Showing 10 changed files with 6,405 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

- client: add gRPC channel options to Node.js ([#306](https://github.com/rpcpool/yellowstone-grpc/pull/306))

### Breaking

## 2024-03-20
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion examples/typescript/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ async function main() {
const args = parseCommandLineArgs();

// Open connection.
const client = new Client(args.endpoint, args.xToken);
const client = new Client(args.endpoint, args.xToken, {
'grpc.max_receive_message_length': 64 * 1024 * 1024 // 64MiB
});

const commitment = parseCommitmentLevel(args.commitment);

Expand Down
3 changes: 0 additions & 3 deletions yellowstone-grpc-client-nodejs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ node_modules

# Ignore built files
dist/**/*

# Do not include automatically generated files.
src/grpc/*.ts
4 changes: 2 additions & 2 deletions yellowstone-grpc-client-nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yellowstone-grpc-client-nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triton-one/yellowstone-grpc",
"version": "0.3.0",
"version": "0.4.0",
"license": "Apache-2.0",
"author": "Triton One",
"description": "Yellowstone gRPC Geyser Node.js Client",
Expand Down
Empty file.
Loading

0 comments on commit 9981285

Please sign in to comment.