@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.browser.cjs.js
CHANGED
|
@@ -3817,7 +3817,8 @@ const GetInflationRewardResult = jsonRpcResult(superstruct.array(superstruct.nul
|
|
|
3817
3817
|
epoch: superstruct.number(),
|
|
3818
3818
|
effectiveSlot: superstruct.number(),
|
|
3819
3819
|
amount: superstruct.number(),
|
|
3820
|
-
postBalance: superstruct.number()
|
|
3820
|
+
postBalance: superstruct.number(),
|
|
3821
|
+
commission: superstruct.optional(superstruct.nullable(superstruct.number()))
|
|
3821
3822
|
}))));
|
|
3822
3823
|
|
|
3823
3824
|
/**
|
|
@@ -4496,7 +4497,8 @@ const RewardsResult = superstruct.type({
|
|
|
4496
4497
|
pubkey: superstruct.string(),
|
|
4497
4498
|
lamports: superstruct.number(),
|
|
4498
4499
|
postBalance: superstruct.nullable(superstruct.number()),
|
|
4499
|
-
rewardType: superstruct.nullable(superstruct.string())
|
|
4500
|
+
rewardType: superstruct.nullable(superstruct.string()),
|
|
4501
|
+
commission: superstruct.optional(superstruct.nullable(superstruct.number()))
|
|
4500
4502
|
});
|
|
4501
4503
|
/**
|
|
4502
4504
|
* Expected JSON RPC response for the "getBlock" message
|