@solana/web3.js 2.0.0-preview.3.20240730084245.6f6d0ed2bb0000f0c000ce6ddff230c799be2da0 → 2.0.0-preview.3.20240730161108.1b391f9d971c87160ffaba66a915b05511e971f4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +162 -188
- package/dist/index.development.js +5 -3
- package/dist/index.development.js.map +1 -1
- package/dist/index.production.min.js +3 -1
- package/package.json +18 -18
@@ -3950,7 +3950,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
3950
3950
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
3951
3951
|
...{
|
3952
3952
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
3953
|
-
"solana-client": (_a = `js/${"2.0.0-preview.3.
|
3953
|
+
"solana-client": (_a = `js/${"2.0.0-preview.3.20240730161108.1b391f9d971c87160ffaba66a915b05511e971f4"}`) != null ? _a : "UNKNOWN"
|
3954
3954
|
}
|
3955
3955
|
}
|
3956
3956
|
}),
|
@@ -4491,7 +4491,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
4491
4491
|
safeCaptureStackTrace(error, createSolanaJsonRpcIntegerOverflowError2);
|
4492
4492
|
return error;
|
4493
4493
|
}
|
4494
|
-
var
|
4494
|
+
var DEFAULT_RPC_SUBSCRIPTIONS_CONFIG = {
|
4495
4495
|
defaultCommitment: "confirmed",
|
4496
4496
|
onIntegerOverflow(methodName, keyPath, value) {
|
4497
4497
|
throw createSolanaJsonRpcIntegerOverflowError2(methodName, keyPath, value);
|
@@ -4793,7 +4793,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
4793
4793
|
function createSolanaRpcSubscriptionsFromTransport(transport) {
|
4794
4794
|
return pipe(
|
4795
4795
|
createSubscriptionRpc({
|
4796
|
-
api: createSolanaRpcSubscriptionsApi(
|
4796
|
+
api: createSolanaRpcSubscriptionsApi(DEFAULT_RPC_SUBSCRIPTIONS_CONFIG),
|
4797
4797
|
transport
|
4798
4798
|
}),
|
4799
4799
|
(rpcSubscriptions) => getRpcSubscriptionsWithSubscriptionCoalescing({
|
@@ -6953,6 +6953,8 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
6953
6953
|
|
6954
6954
|
exports.AccountRole = AccountRole;
|
6955
6955
|
exports.BASE_ACCOUNT_SIZE = BASE_ACCOUNT_SIZE;
|
6956
|
+
exports.DEFAULT_RPC_CONFIG = DEFAULT_RPC_CONFIG;
|
6957
|
+
exports.DEFAULT_RPC_SUBSCRIPTIONS_CONFIG = DEFAULT_RPC_SUBSCRIPTIONS_CONFIG;
|
6956
6958
|
exports.Endian = Endian;
|
6957
6959
|
exports.SOLANA_ERROR__ACCOUNTS__ACCOUNT_NOT_FOUND = SOLANA_ERROR__ACCOUNTS__ACCOUNT_NOT_FOUND;
|
6958
6960
|
exports.SOLANA_ERROR__ACCOUNTS__EXPECTED_ALL_ACCOUNTS_TO_BE_DECODED = SOLANA_ERROR__ACCOUNTS__EXPECTED_ALL_ACCOUNTS_TO_BE_DECODED;
|