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