@solana/web3.js 1.98.2 → 1.98.4
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.browser.cjs.js +4 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +4 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +4 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +4 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +4 -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 +4 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +6 -0
package/lib/index.cjs.js
CHANGED
|
@@ -5570,7 +5570,8 @@ const ConfirmedTransactionMetaResult = superstruct.type({
|
|
|
5570
5570
|
preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5571
5571
|
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5572
5572
|
loadedAddresses: superstruct.optional(LoadedAddressesResult),
|
|
5573
|
-
computeUnitsConsumed: superstruct.optional(superstruct.number())
|
|
5573
|
+
computeUnitsConsumed: superstruct.optional(superstruct.number()),
|
|
5574
|
+
costUnits: superstruct.optional(superstruct.number())
|
|
5574
5575
|
});
|
|
5575
5576
|
|
|
5576
5577
|
/**
|
|
@@ -5589,7 +5590,8 @@ const ParsedConfirmedTransactionMetaResult = superstruct.type({
|
|
|
5589
5590
|
preTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5590
5591
|
postTokenBalances: superstruct.optional(superstruct.nullable(superstruct.array(TokenBalanceResult))),
|
|
5591
5592
|
loadedAddresses: superstruct.optional(LoadedAddressesResult),
|
|
5592
|
-
computeUnitsConsumed: superstruct.optional(superstruct.number())
|
|
5593
|
+
computeUnitsConsumed: superstruct.optional(superstruct.number()),
|
|
5594
|
+
costUnits: superstruct.optional(superstruct.number())
|
|
5593
5595
|
});
|
|
5594
5596
|
const TransactionVersionStruct = superstruct.union([superstruct.literal(0), superstruct.literal('legacy')]);
|
|
5595
5597
|
|