Skip to content

Commit 2ac0d27

Browse files
chore: prepare release 2.1.0
1 parent 629b4ea commit 2ac0d27

File tree

4 files changed

+23
-26
lines changed

4 files changed

+23
-26
lines changed

.changeset/add_spent_element_endpoints.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/fix_v2_signing.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## 2.1.0 (2025-03-25)
2+
3+
### Features
4+
5+
#### Added Spent Element Endpoints
6+
7+
Added two new endpoints `[GET] /outputs/siacoin/:id/spent` and `[GET] /outputs/siafund/:id/spent`. These endpoints will return a boolean, indicating whether the UTXO was spent, and the transaction it was spent in. These endpoints are designed to make verifying Atomic swaps easier.
8+
9+
##### Example Usage
10+
11+
````
12+
$ curl http://localhost:9980/api/outputs/siacoin/9b89152bb967130326702c9bfb51109e9f80274ec314ba58d9ef49b881340f2f/spent
13+
{
14+
spent: true,
15+
event: {}
16+
}
17+
```
18+
19+
#### Fixes sending V2 transactions in the UI
20+
21+
- Fixes V2 signing for wallets that do not have siafund outputs. Fixes #247
22+
123
## 2.0.0 (2025-02-21)
224
325
### Breaking Changes

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module go.sia.tech/walletd/v2 // v2.0.0
1+
module go.sia.tech/walletd/v2 // v2.1.0
22

33
go 1.23.1
44

0 commit comments

Comments
 (0)