@solana/web3.js 1.50.1 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -109,6 +109,10 @@ Each Github release features a tarball containing API documentation and a
109
109
  minified version of the module suitable for direct use in a browser environment
110
110
  (`<script>` tag)
111
111
 
112
+ ## Contributing
113
+
114
+ If you have an issue to report or would like to contribute a pull request, please do so against the monorepo at https://github.com/solana-labs/solana. We are not able to merge pull requests into the mirror repo https://github.com/solana-labs/solana-web3.js and issues filed there may go unnoticed.
115
+
112
116
  ## Disclaimer
113
117
 
114
118
  All claims, content, designs, algorithms, estimates, roadmaps,
@@ -5658,6 +5658,10 @@ const TokenBalanceResult = superstruct.type({
5658
5658
  owner: superstruct.optional(superstruct.string()),
5659
5659
  uiTokenAmount: TokenAmountResult
5660
5660
  });
5661
+ const LoadedAddressesResult = superstruct.type({
5662
+ writable: superstruct.array(PublicKeyFromString),
5663
+ readonly: superstruct.array(PublicKeyFromString)
5664
+ });
5661
5665
  /**
5662
5666
  * @internal
5663
5667
  */
@@ -5677,7 +5681,8 @@ const ConfirmedTransactionMetaResult = superstruct.type({
5677
5681
  postBalances: superstruct.array(superstruct.number()),
5678
5682
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5679
5683
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5680
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5684
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5685
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5681
5686
  });
5682
5687
  /**
5683
5688
  * @internal
@@ -5694,7 +5699,8 @@ const ParsedConfirmedTransactionMetaResult = superstruct.type({
5694
5699
  postBalances: superstruct.array(superstruct.number()),
5695
5700
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5696
5701
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5697
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5702
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5703
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5698
5704
  });
5699
5705
  /**
5700
5706
  * Expected JSON RPC response for the "getBlock" message