Skip to content

Commit c6ff97c

Browse files
authored
nodejs: fix connector for host/hostname (#491)
1 parent 103b54a commit c6ff97c

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The minor version will be incremented upon a breaking change and the patch versi
1313
### Fixes
1414

1515
- nodejs: fix connector for custom port ([#488](https://github.com/rpcpool/yellowstone-grpc/pull/488))
16+
- nodejs: fix connector for host/hostname ([#491](https://github.com/rpcpool/yellowstone-grpc/pull/491))
1617

1718
### Features
1819

examples/typescript/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yellowstone-grpc-client-nodejs/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yellowstone-grpc-client-nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triton-one/yellowstone-grpc",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"license": "Apache-2.0",
55
"author": "Triton One",
66
"description": "Yellowstone gRPC Geyser Node.js Client",

yellowstone-grpc-client-nodejs/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default class Client {
131131
}
132132

133133
this._client = new GeyserClient(
134-
`${endpointURL.host}:${port}`,
134+
`${endpointURL.hostname}:${port}`,
135135
creds,
136136
channelOptions
137137
);

0 commit comments

Comments
 (0)