Skip to content

Commit c36def8

Browse files
committed
Update flutter bindings
1 parent f91aa69 commit c36def8

File tree

3 files changed

+229
-1
lines changed

3 files changed

+229
-1
lines changed

packages/flutter/rust/Cargo.lock

Lines changed: 226 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flutter/rust/src/errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub enum _SdkError {
3838
vout: u32,
3939
},
4040
LnurlError(String),
41+
SparkScanApiError(String),
4142
Generic(String),
4243
}
4344

packages/flutter/rust/src/models.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub struct _Config {
2828
pub network: Network,
2929
pub sync_interval_secs: u32,
3030
pub max_deposit_claim_fee: Option<Fee>,
31+
pub sparkscan_api_url: String,
3132
}
3233

3334
#[frb(mirror(ConnectRequest))]
@@ -95,7 +96,6 @@ pub struct _TokenMetadata {
9596
pub decimals: u32,
9697
pub max_supply: u64,
9798
pub is_freezable: bool,
98-
pub creation_entity_public_key: Option<String>,
9999
}
100100

101101
#[frb(mirror(GetPaymentRequest))]
@@ -367,6 +367,7 @@ pub enum _PaymentDetails {
367367
Spark,
368368
Token {
369369
metadata: TokenMetadata,
370+
tx_hash: String,
370371
},
371372
Lightning {
372373
description: Option<String>,

0 commit comments

Comments
 (0)