@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/lib/index.cjs.js CHANGED
@@ -5743,6 +5743,10 @@ const TokenBalanceResult = superstruct.type({
5743
5743
  owner: superstruct.optional(superstruct.string()),
5744
5744
  uiTokenAmount: TokenAmountResult
5745
5745
  });
5746
+ const LoadedAddressesResult = superstruct.type({
5747
+ writable: superstruct.array(PublicKeyFromString),
5748
+ readonly: superstruct.array(PublicKeyFromString)
5749
+ });
5746
5750
  /**
5747
5751
  * @internal
5748
5752
  */
@@ -5762,7 +5766,8 @@ const ConfirmedTransactionMetaResult = superstruct.type({
5762
5766
  postBalances: superstruct.array(superstruct.number()),
5763
5767
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5764
5768
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5765
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5769
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5770
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5766
5771
  });
5767
5772
  /**
5768
5773
  * @internal
@@ -5779,7 +5784,8 @@ const ParsedConfirmedTransactionMetaResult = superstruct.type({
5779
5784
  postBalances: superstruct.array(superstruct.number()),
5780
5785
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5781
5786
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5782
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5787
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5788
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5783
5789
  });
5784
5790
  /**
5785
5791
  * Expected JSON RPC response for the "getBlock" message