Merge pull request #682 from thesimplekid/cdk_common_wallet

refactor: cashu wallet moved to cdk-common
This commit is contained in:
thesimplekid
2025-03-25 13:39:30 +00:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@@ -5,6 +5,11 @@
<!-- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -->
## [Unreleased]
### Changed
- cashu move wallet mod to cdk-common ([thesimplekid]).
## [v0.8.1](https://github.com/cashubtc/cdk/releases/tag/v0.8.1)
### Fixed
- cashu: Handle url with paths [PR](https://github.com/cashubtc/cdk/pull/678) ([benthecarmane]).

View File

@@ -5,8 +5,6 @@ pub mod mint_url;
pub mod nuts;
pub mod secret;
pub mod util;
#[cfg(feature = "wallet")]
pub mod wallet;
pub use lightning_invoice::{self, Bolt11Invoice};

View File

@@ -15,13 +15,13 @@ pub mod mint;
pub mod payment;
pub mod pub_sub;
pub mod subscription;
#[cfg(feature = "wallet")]
pub mod wallet;
pub mod ws;
// re-exporting external crates
pub use bitcoin;
pub use cashu::amount::{self, Amount};
pub use cashu::lightning_invoice::{self, Bolt11Invoice};
pub use cashu::nuts::{self, *};
#[cfg(feature = "wallet")]
pub use cashu::wallet;
pub use cashu::{dhke, ensure_cdk, mint_url, secret, util, SECP256K1};
pub use error::Error;