cesar
pushed to feauture/remove-wallet-feature-auth at cesar/cdk
3e6474bbd9 feat: mint connector http headers (#1602)
a8b83659d0 Abstract HTTP client with cdk-http crate (#1573)
* Add cdk-http-client crate
Extract HTTP client functionality from cdk-common into a dedicated crate to
improve modularity and separation of concerns.
Changes:
- Create new cdk-http-client crate with HttpClient, HttpClientBuilder,
RequestBuilder, RawResponse, and HttpError types
- Move HTTP client code from cdk-common/src/http/ to the new crate
- Add comprehensive test suite:
- 20 unit tests for error handling, client/builder construction
- 28 integration tests using mockito for HTTP mocking
- Add proxy support with optional regex-based host matching (non-WASM)
- Add TLS certificate validation bypass option (non-WASM)
The new crate provides a clean abstraction over reqwest with:
- Simple convenience methods (fetch, post_json, post_form, patch_json)
- Raw response access for streaming/custom handling
- Fluent RequestBuilder API for complex requests
- Cross-platform support (native and WASM)
1264a9f67b refactor: remove `auth` feature flag from codebase (#1599)
* refactor: remove `auth` feature flag from codebase
The `auth` feature was gating authentication code (NUT-21/NUT-22) behind a
compile-time flag across the entire workspace. This removes the feature
entirely, making auth code always compiled. This simplifies the build matrix
and eliminates ~400 lines of dual code paths (`#[cfg(feature = "auth")]` /
`#[cfg(not(feature = "auth"))]`).
Changes across 43 files in 13 crates:
- Remove `auth` feature definitions from all Cargo.toml files
- Make `strum`, `strum_macros`, `regex` (cashu) and `jsonwebtoken` (cdk)
unconditional dependencies
- Remove all `#[cfg(feature = "auth")]` gates from source files
- Merge dual code paths, keeping auth versions and deleting non-auth fallbacks
- Simplify combined cfgs (e.g. `#[cfg(all(feature = "auth", feature =
"postgres"))]` → `#[cfg(feature = "postgres")]`)
- Remove auth-specific CI checks from flake.nix
* Use currency unit to determine keyset fetch client in metadata cache
Select the appropriate client based on `CurrencyUnit::Auth` rather than falling
through client availability. Auth keysets are now explicitly fetched via the
blind auth client, and all other keysets via the regular client, preventing
incorrect client selection.
The previous logic tried the regular client first and fell back to the auth
client, which could use the wrong client for a given keyset. The fix makes the
decision based on keyset_info.unit, which is the correct discriminant.
825f9f65ab chore: add weekly meeting agenda for 2026-02-04 (#1601)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
085f7778ce feat: melt bolt12 ws sub (#1598)
2 weeks ago