Update ALL ${ } usages across the file + feature requests 14, 25 & 26#27
Update ALL ${ } usages across the file + feature requests 14, 25 & 26#27DoktorShift wants to merge 17 commits into
Conversation
|
|
||
| try: | ||
| # Import lnurlp crud - may not be installed | ||
| from lnbits.extensions.lnurlp.crud import get_pay_links # type: ignore |
There was a problem hiding this comment.
import at the top of the file
inside the try/except
return if get_pay_links is undefined, on the endpoint!
|
A few points from me:
What is the "lightning address" field for? |
- Rebase on upstream main (includes expiration fix, type strengthening, info event resend) - Sync uv.lock to match main (fixes mypy internal error with pydantic) - Reformat with black 25.1.0, prettier - Add type ignore for optional lnurlp import
bf0c4ef to
c5b23d7
Compare
The pairing URL now encodes the relay with quote(), but the test NWCWallet client was using the encoded value directly to connect, causing 'scheme isn't ws or wss' errors.
| from .permission import nwc_permissions | ||
|
|
||
| try: | ||
| from lnbits.extensions.lnurlp.crud import ( # type: ignore[import-not-found] |
There was a problem hiding this comment.
we do not do imports between extensions, only calls via the API
|
👍 — the Happy to give the merged change a real-device test against an LNBits instance running |
- resolve tasks.py conflict (align with upstream lnbits#43) - keep comment fallback in lookup_invoice (null-safe)
|
@DoktorShift there's three comments from @riccardobl on this PR. Could you resolve this please and then we can merge. |
already done @blackcoffeexbt |



Did a refactor to update ALL ${ } usages across the file to use v-text and remove delimiters entirely.
[Bug] Should display all connections by default #14 Default select the first Wallet when opening the extension
if a payer sends an LNURL comment (like "Thanks for the coffee!"), it will appear as the description in list_transactions. If no comment exists, it falls back to the payment memo, then to the BOLT11 invoice description.
instead of taking the name of receive wallet.