Skip to content

Commit 5a6697a

Browse files
authored
Calculate Bill Actions for caller (#690)
1 parent a7aecd0 commit 5a6697a

File tree

18 files changed

+1044
-333
lines changed

18 files changed

+1044
-333
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.4.12
2+
3+
* Added `actions` to `BitcreditBillResult`, with `bill_actions`, that are calculated based on which bill actions the caller is currently allowed to do (breaking DB and API change)
4+
15
# 0.4.11
26

37
* Fix a bug where it was possible to reject recourse, even though it was already rejected

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "0.4.11"
2+
version = "0.4.12"
33
edition = "2024"
44
license = "MIT"
55

@@ -64,4 +64,5 @@ bcr-ebill-persistence = { path = "./crates/bcr-ebill-persistence" }
6464
bcr-ebill-transport = { path = "./crates/bcr-ebill-transport" }
6565
bcr-common = { git = "https://github.com/BitcreditProtocol/bcr-common", tag = "v0.4.0" }
6666
surrealdb = { version = "2.3", default-features = false }
67+
strum = { version = "0.27", features = ["derive"] }
6768
url = { version = "2.5" }

crates/bcr-ebill-api/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ bcr-wallet-lib = { git = "https://github.com/BitcreditProtocol/Wallet-Core", tag
3333
bcr-common.workspace = true
3434
cashu = { version = "0.13", default-features = false }
3535
rand = { version = "0.9" }
36+
strum.workspace = true
3637
hex = { version = "0.4" }
3738
url.workspace = true
3839

0 commit comments

Comments
 (0)