feat: bump to v0.6.11 with dependency updates

- Update solana-streamer-sdk to 0.4.9
- Increase transaction confirmation timeout to 10s
- Update documentation version references
This commit is contained in:
ysq
2025-09-14 01:21:28 +08:00
parent e52841dc73
commit 206baca025
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "sol-trade-sdk"
version = "0.6.10"
version = "0.6.11"
edition = "2021"
authors = [
"William <byteblock6@gmail.com>",
@@ -37,7 +37,7 @@ members = [
crate-type = ["cdylib", "rlib"]
[dependencies]
solana-streamer-sdk = "0.4.8"
solana-streamer-sdk = "0.4.9"
solana-sdk = "2.3.0"
solana-client = "2.3.6"
solana-program = "2.3.0"
+2 -2
View File
@@ -90,14 +90,14 @@ Add the dependency to your `Cargo.toml`:
```toml
# Add to your Cargo.toml
sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.6.10" }
sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.6.11" }
```
### Use crates.io
```toml
# Add to your Cargo.toml
sol-trade-sdk = "0.6.10"
sol-trade-sdk = "0.6.11"
```
## 🛠️ Usage Examples
+2 -2
View File
@@ -89,14 +89,14 @@ git clone https://github.com/0xfnzero/sol-trade-sdk
```toml
# 添加到您的 Cargo.toml
sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.6.10" }
sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.6.11" }
```
### 使用 crates.io
```toml
# 添加到您的 Cargo.toml
sol-trade-sdk = "0.6.10"
sol-trade-sdk = "0.6.11"
```
## 🛠️ 使用示例
+1 -1
View File
@@ -26,7 +26,7 @@ impl FormatBase64VersionedTransaction for VersionedTransaction {
}
pub async fn poll_transaction_confirmation(rpc: &SolanaRpcClient, txt_sig: Signature) -> Result<Signature> {
let timeout: Duration = Duration::from_secs(5);
let timeout: Duration = Duration::from_secs(10);
let interval: Duration = Duration::from_millis(1000);
let start: Instant = Instant::now();