@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.esm.js
CHANGED
|
@@ -3787,7 +3787,8 @@ const GetInflationRewardResult = jsonRpcResult(array(nullable(type({
|
|
|
3787
3787
|
epoch: number(),
|
|
3788
3788
|
effectiveSlot: number(),
|
|
3789
3789
|
amount: number(),
|
|
3790
|
-
postBalance: number()
|
|
3790
|
+
postBalance: number(),
|
|
3791
|
+
commission: optional(nullable(number()))
|
|
3791
3792
|
}))));
|
|
3792
3793
|
|
|
3793
3794
|
/**
|
|
@@ -4466,7 +4467,8 @@ const RewardsResult = type({
|
|
|
4466
4467
|
pubkey: string(),
|
|
4467
4468
|
lamports: number(),
|
|
4468
4469
|
postBalance: nullable(number()),
|
|
4469
|
-
rewardType: nullable(string())
|
|
4470
|
+
rewardType: nullable(string()),
|
|
4471
|
+
commission: optional(nullable(number()))
|
|
4470
4472
|
});
|
|
4471
4473
|
/**
|
|
4472
4474
|
* Expected JSON RPC response for the "getBlock" message
|