Skip to content

Commit

Permalink
Bump flutter_rust_bridge to 2.5.1
Browse files Browse the repository at this point in the history
Specify range for flutter_rust_bridge from 2.0.0 to latest
* Remove moonpay from lib.rs
* Remove generated files from previous approach
* Add matches_callback_domain to mirrored UrlSuccessActionData
  • Loading branch information
erdemyerebasmaz committed Nov 5, 2024
1 parent ab782cf commit 3881144
Show file tree
Hide file tree
Showing 23 changed files with 6,315 additions and 18,158 deletions.
2 changes: 1 addition & 1 deletion libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ aes = "0.8"
anyhow = { version = "1.0.79", features = ["backtrace"] }
base64 = "0.13.0"
bitcoin = "=0.29.2" # Same version as used in gl-client
flutter_rust_bridge = "=2.0.0"
flutter_rust_bridge = ">=2.0.0, =2.5.1"
# Pin the reqwest dependency until macOS linker issue is fixed: https://github.com/seanmonstar/reqwest/issues/2006
hex = "0.4"
lightning = "=0.0.118" # Same version as used in gl-client
Expand Down
2 changes: 1 addition & 1 deletion libs/sdk-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["staticlib", "cdylib", "lib"]
[dependencies]
aes = { workspace = true }
anyhow = { workspace = true }
flutter_rust_bridge = { workspace = true }
flutter_rust_bridge = "=2.5.1"
hex = { workspace = true }
gl-client = { git = "https://github.com/Blockstream/greenlight.git", features = [
"permissive",
Expand Down
1 change: 1 addition & 0 deletions libs/sdk-core/src/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ pub struct _MessageSuccessActionData {
pub struct _UrlSuccessActionData {
pub description: String,
pub url: String,
pub matches_callback_domain: bool,
}

#[frb(mirror(LnUrlPayErrorData))]
Expand Down
Loading

0 comments on commit 3881144

Please sign in to comment.