@solana/web3.js 1.95.8 → 1.96.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 +2 -1
- package/lib/index.browser.cjs.js +3 -3
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -3
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +3 -3
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +3 -3
- 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 +3 -3
- package/lib/index.native.js.map +1 -1
- package/package.json +20 -19
- package/src/connection.ts +2 -2
package/lib/index.iife.js
CHANGED
|
@@ -19087,7 +19087,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
19087
19087
|
|
|
19088
19088
|
/** @internal */
|
|
19089
19089
|
const COMMON_HTTP_HEADERS = {
|
|
19090
|
-
'solana-client': `js/${"1.
|
|
19090
|
+
'solana-client': `js/${"1.0.0-maintenance"}`
|
|
19091
19091
|
};
|
|
19092
19092
|
|
|
19093
19093
|
/**
|
|
@@ -20705,7 +20705,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
20705
20705
|
*/
|
|
20706
20706
|
async getConfirmedBlock(slot, commitment) {
|
|
20707
20707
|
const args = this._buildArgsAtLeastConfirmed([slot], commitment);
|
|
20708
|
-
const unsafeRes = await this._rpcRequest('
|
|
20708
|
+
const unsafeRes = await this._rpcRequest('getBlock', args);
|
|
20709
20709
|
const res = create(unsafeRes, GetConfirmedBlockRpcResult);
|
|
20710
20710
|
if ('error' in res) {
|
|
20711
20711
|
throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');
|
|
@@ -20787,7 +20787,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
20787
20787
|
transactionDetails: 'signatures',
|
|
20788
20788
|
rewards: false
|
|
20789
20789
|
});
|
|
20790
|
-
const unsafeRes = await this._rpcRequest('
|
|
20790
|
+
const unsafeRes = await this._rpcRequest('getBlock', args);
|
|
20791
20791
|
const res = create(unsafeRes, GetBlockSignaturesRpcResult);
|
|
20792
20792
|
if ('error' in res) {
|
|
20793
20793
|
throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');
|