@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 +4 -0
- package/lib/index.browser.cjs.js +8 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +8 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +8 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +9 -0
- package/lib/index.esm.js +8 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +8 -2
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +8 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +2 -2
- package/src/connection.ts +17 -0
package/lib/index.native.js
CHANGED
|
@@ -5657,6 +5657,10 @@ const TokenBalanceResult = superstruct.type({
|
|
|
5657
5657
|
owner: superstruct.optional(superstruct.string()),
|
|
5658
5658
|
uiTokenAmount: TokenAmountResult
|
|
5659
5659
|
});
|
|
5660
|
+
const LoadedAddressesResult = superstruct.type({
|
|
5661
|
+
writable: superstruct.array(PublicKeyFromString),
|
|
5662
|
+
readonly: superstruct.array(PublicKeyFromString)
|
|
5663
|
+
});
|
|
5660
5664
|
/**
|
|
5661
5665
|
* @internal
|
|
5662
5666
|
*/
|
|
@@ -5676,7 +5680,8 @@ const ConfirmedTransactionMetaResult = superstruct.type({
|
|
|
5676
5680
|
postBalances: superstruct.array(superstruct.number()),
|
|
5677
5681
|
logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
|
|
5678
5682
|
preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5679
|
-
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
|
|
5683
|
+
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5684
|
+
loadedAddresses: superstruct.optional(LoadedAddressesResult)
|
|
5680
5685
|
});
|
|
5681
5686
|
/**
|
|
5682
5687
|
* @internal
|
|
@@ -5693,7 +5698,8 @@ const ParsedConfirmedTransactionMetaResult = superstruct.type({
|
|
|
5693
5698
|
postBalances: superstruct.array(superstruct.number()),
|
|
5694
5699
|
logMessages: superstruct.optional(superstruct.nullable(superstruct.array(superstruct.string()))),
|
|
5695
5700
|
preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5696
|
-
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult)))
|
|
5701
|
+
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5702
|
+
loadedAddresses: superstruct.optional(LoadedAddressesResult)
|
|
5697
5703
|
});
|
|
5698
5704
|
/**
|
|
5699
5705
|
* Expected JSON RPC response for the "getBlock" message
|