Skip to content

Commit

Permalink
chore: fix some typos in comment
Browse files Browse the repository at this point in the history
Signed-off-by: guqicun <[email protected]>
  • Loading branch information
guqicun authored and steveluscher committed Dec 9, 2024
1 parent 4d1d2ce commit 285796a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 285796a

Please sign in to comment.