@solana/web3.js 1.50.2 → 1.51.1

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,
@@ -5687,6 +5687,10 @@ const TokenBalanceResult = superstruct.type({
5687
5687
  owner: superstruct.optional(superstruct.string()),
5688
5688
  uiTokenAmount: TokenAmountResult
5689
5689
  });
5690
+ const LoadedAddressesResult = superstruct.type({
5691
+ writable: superstruct.array(PublicKeyFromString),
5692
+ readonly: superstruct.array(PublicKeyFromString)
5693
+ });
5690
5694
  /**
5691
5695
  * @internal
5692
5696
  */
@@ -5706,7 +5710,8 @@ const ConfirmedTransactionMetaResult = superstruct.type({
5706
5710
  postBalances: superstruct.array(superstruct.number()),
5707
5711
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5708
5712
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5709
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5713
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5714
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5710
5715
  });
5711
5716
  /**
5712
5717
  * @internal
@@ -5723,7 +5728,8 @@ const ParsedConfirmedTransactionMetaResult = superstruct.type({
5723
5728
  postBalances: superstruct.array(superstruct.number()),
5724
5729
  logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
5725
5730
  preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5726
- postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
5731
+ postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
5732
+ loadedAddresses: superstruct.optional(LoadedAddressesResult)
5727
5733
  });
5728
5734
  /**
5729
5735
  * Expected JSON RPC response for the "getBlock" message
@@ -5878,7 +5884,7 @@ const LogsNotificationResult = superstruct.type({
5878
5884
 
5879
5885
  /** @internal */
5880
5886
  const COMMON_HTTP_HEADERS = {
5881
- 'solana-client': `js/${(_process$env$npm_pack = "1.50.2") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
5887
+ 'solana-client': `js/${(_process$env$npm_pack = "1.51.1") !== null && _process$env$npm_pack !== void 0 ? _process$env$npm_pack : 'UNKNOWN'}`
5882
5888
  };
5883
5889
  /**
5884
5890
  * A connection to a fullnode JSON RPC endpoint