Skip to content

Commit cddb97f

Browse files
Make VssConfig and PaymentInfo fields pub
1 parent 63b68fa commit cddb97f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

orange-sdk/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![deny(missing_docs)]
1+
#![deny(missing_docs)]
22

33
//! A library implementing the full backend for a modern, highly usable, Bitcoin wallet focusing on
44
//! maximizing security and self-custody without trading off user experience.
@@ -169,11 +169,11 @@ pub enum VssAuth {
169169
#[allow(dead_code)]
170170
pub struct VssConfig {
171171
/// The URL of the VSS.
172-
vss_url: String,
172+
pub vss_url: String,
173173
/// The store ID for the VSS.
174-
store_id: String,
174+
pub store_id: String,
175175
/// Authentication method for the VSS.
176-
headers: VssAuth,
176+
pub headers: VssAuth,
177177
}
178178

179179
/// Configuration for wallet storage, either local SQLite or VSS.
@@ -297,9 +297,9 @@ pub enum PaymentInfoBuildError {
297297
#[derive(Debug, Clone, PartialEq, Eq)]
298298
pub struct PaymentInfo {
299299
/// The payment instructions (e.g., BOLT 11 invoice, on-chain address).
300-
instructions: PaymentInstructions,
300+
pub instructions: PaymentInstructions,
301301
/// The amount to be paid.
302-
amount: Amount,
302+
pub amount: Amount,
303303
}
304304

305305
impl PaymentInfo {

0 commit comments

Comments
 (0)