Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #3693

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/deserialize-transaction/src/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ log.info(
const compiledTransactionMessageDecoder = getCompiledTransactionMessageDecoder();
const compiledTransactionMessage = compiledTransactionMessageDecoder.decode(decodedTransaction.messageBytes);

// This gives us the data stucture `CompiledTransactionMessage`. This is the format that transactions are
// This gives us the data structure `CompiledTransactionMessage`. This is the format that transactions are
// compiled before the entire transaction is encoded to base64 to be sent to the Solana network.

// Let's inspect some fields of `compiledTransactionMessage`
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Creates a `RpcApi` implementation of the Solana JSON RPC API with some default b

The default behaviours include:

- A transform that converts `bigint` inputs to `number` for compatiblity with version 1.0 of the Solana JSON RPC.
- A transform that converts `bigint` inputs to `number` for compatibility with version 1.0 of the Solana JSON RPC.
- A transform that calls the config's `onIntegerOverflow` handler whenever a `bigint` input would overflow a JavaScript IEEE 754 number. See [this](https://github.com/solana-labs/solana-web3.js/issues/1116) GitHub issue for more information.
- A transform that applies a default commitment wherever not specified

Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-subscriptions-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Creates a `RpcSubscriptionsApi` implementation of the Solana JSON RPC Subscripti

The default behaviours include:

- A transform that converts `bigint` inputs to `number` for compatiblity with version 1.0 of the Solana JSON RPC.
- A transform that converts `bigint` inputs to `number` for compatibility with version 1.0 of the Solana JSON RPC.
- A transform that calls the config's `onIntegerOverflow` handler whenever a `bigint` input would overflow a JavaScript IEEE 754 number. See [this](https://github.com/solana-labs/solana-web3.js/issues/1116) GitHub issue for more information.
- A transform that applies a default commitment wherever not specified

Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/src/rpc-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function createDefaultRpcTransport<TClusterUrl extends ClusterUrl>(
headers: {
...(__NODEJS__ &&
({
// Keep these headers lowercase so they will be overriden by any user-supplied headers below.
// Keep these headers lowercase so they will be overridden by any user-supplied headers below.
'accept-encoding':
// Natively supported by Node LTS v20.18.0 and above.
'br,gzip,deflate', // Brotli, gzip, and Deflate, in that order.
Expand Down