@solana/web3.js 1.72.0 → 1.73.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.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 +9 -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 +5 -5
- package/src/connection.ts +11 -0
package/lib/index.cjs.js
CHANGED
|
@@ -6251,7 +6251,8 @@ const GetInflationRewardResult = jsonRpcResult(superstruct.array(superstruct.nul
|
|
|
6251
6251
|
epoch: superstruct.number(),
|
|
6252
6252
|
effectiveSlot: superstruct.number(),
|
|
6253
6253
|
amount: superstruct.number(),
|
|
6254
|
-
postBalance: superstruct.number()
|
|
6254
|
+
postBalance: superstruct.number(),
|
|
6255
|
+
commission: superstruct.optional(superstruct.nullable(superstruct.number()))
|
|
6255
6256
|
}))));
|
|
6256
6257
|
|
|
6257
6258
|
/**
|
|
@@ -6956,7 +6957,8 @@ const RewardsResult = superstruct.type({
|
|
|
6956
6957
|
pubkey: superstruct.string(),
|
|
6957
6958
|
lamports: superstruct.number(),
|
|
6958
6959
|
postBalance: superstruct.nullable(superstruct.number()),
|
|
6959
|
-
rewardType: superstruct.nullable(superstruct.string())
|
|
6960
|
+
rewardType: superstruct.nullable(superstruct.string()),
|
|
6961
|
+
commission: superstruct.optional(superstruct.nullable(superstruct.number()))
|
|
6960
6962
|
});
|
|
6961
6963
|
/**
|
|
6962
6964
|
* Expected JSON RPC response for the "getBlock" message
|