diff --git a/CHANGELOG.md b/CHANGELOG.md index 709483e6..2c33905b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The minor version will be incremented upon a breaking change and the patch versi ### Fixes +- examples: fix commitment in TypeScript example ([#440](https://github.com/rpcpool/yellowstone-grpc/pull/440)) + ### Features - proto: use `gzip`/`zstd` features by default ([#436](https://github.com/rpcpool/yellowstone-grpc/pull/436)) diff --git a/examples/golang/README.md b/examples/golang/README.md index 1475fe2c..8cf4a11b 100644 --- a/examples/golang/README.md +++ b/examples/golang/README.md @@ -1,5 +1,11 @@ # Golang client for Solana gRPC interface +## DISCLAIMER + +This example can contains errors or be behind of the latest stable version, please use it only as an example of how your subscription can looks like. If you want well tested production ready example, please check our implementation on Rust. + +
+ This is a sample golang client for the Solana gRPC interface. Requires golang 1.17 diff --git a/examples/python/README.md b/examples/python/README.md index 02904f52..325dae11 100644 --- a/examples/python/README.md +++ b/examples/python/README.md @@ -1,5 +1,11 @@ # Python example +## DISCLAIMER + +This example can contains errors or be behind of the latest stable version, please use it only as an example of how your subscription can looks like. If you want well tested production ready example, please check our implementation on Rust. + +
+ ## Instruction This Python example uses [grpc.io](https://grpc.io/) library. @@ -69,4 +75,4 @@ Which you can then import into your code. - [secure_channel](https://grpc.github.io/grpc/python/grpc.html#create-client-credentials) -- [extend auth method via call credentials](https://grpc.io/docs/guides/auth/#extending-grpc-to-support-other-authentication-mechanisms) \ No newline at end of file +- [extend auth method via call credentials](https://grpc.io/docs/guides/auth/#extending-grpc-to-support-other-authentication-mechanisms) diff --git a/examples/typescript/README.md b/examples/typescript/README.md index a480ccc2..fd69b1e9 100644 --- a/examples/typescript/README.md +++ b/examples/typescript/README.md @@ -1,5 +1,11 @@ # TypeScript client example +## DISCLAIMER + +This example can contains errors or be behind of the latest stable version, please use it only as an example of how your subscription can looks like. If you want well tested production ready example, please check our implementation on Rust. + +
+ This is a sample client for Solana geyser gRPC written in TypeScript. This can be used in the following way: diff --git a/examples/typescript/src/client.ts b/examples/typescript/src/client.ts index 9bb44373..cf3fb131 100644 --- a/examples/typescript/src/client.ts +++ b/examples/typescript/src/client.ts @@ -94,6 +94,7 @@ async function subscribeCommand(client, args) { entry: {}, blocks: {}, blocksMeta: {}, + commitment: parseCommitmentLevel(args.commitment), accountsDataSlice: [], ping: undefined, };