Releases
v1.0.0
Compare
Sorry, something went wrong.
No results found
v1.0.0 — Wallet-scoped API
Breaking changes
All wallet operations now go through ln.wallet(wallet_id) instead of top-level methods
wallets.create() no longer takes parameters or returns keys
wallets.current() and wallets.update() removed — use ln.wallet(id).get() / .update()
CreateWalletResponse no longer has primary_key, secondary_key, recovery_passphrase
New features
Wallet-scoped API — ln.wallet(id) returns a Wallet handle with sub-resources: key, invoices, payments, addresses, transactions, webhooks, events, l402
Account registration — ln.register()
Identity check — ln.me()
Wallet key management — wallet.key.create(), .get(), .delete(), .rotate()
Public invoice creation — ln.invoices.create_for_wallet(), .create_for_address()
Payment target resolution — wallet.payments.resolve(target=...)
SSE resilience — handles heartbeat/malformed data lines gracefully
New types
RegisterResponse, MeResponse, WalletListItem
WalletKeyResponse, WalletKeyInfoResponse
ResolveTargetResponse
Wallet, AsyncWallet
Testing
130 unit tests
56 integration tests (real API, real sats)
You can’t perform that action at this time.