dni ⚡
304ad3035b
feat: add generic lnurl error response handler ( #2638 )
...
* feat: add generic lnurl error response handler
this is used multiple times in extensions to safeguard `views_lnurl.py`
endpoint to not return a wrong lnurl error response.
you use it by just setting following on your lnurl router/view
```
withdraw_ext_lnurl = APIRouter(prefix="/api/v1/lnurl")
withdraw_ext_lnurl.route_class = LNURLErrorResponseHandler
```
2024-08-30 13:12:55 +02:00
dni ⚡
ba90bc5fea
feat: lnurl library update
...
follow up on https://github.com/lnbits/lnbits/pull/1864/files
2023-12-06 12:55:01 +01:00
dni ⚡
a8082f798f
[CHORE] update dependencies, unsafe pip packages, fastapi ( #1609 )
...
* d
* middleware needs to be initialised before startup
runs on python3.11
update secp256k1
update psycopg
* update fastapi to v0.103
* fix webpush
* bump dependencies
* ruff issue
* lock versions
* bump versions
---------
Co-authored-by: jacksn <jkranawetter05@gmail.com>
2023-09-25 10:54:02 +01:00
Pavol Rusnak
d29fcca6aa
fix pylint W0612 (unused-variable)
2023-01-30 11:46:43 +00:00
Pavol Rusnak
3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
...
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
fiatjaf
26b3599325
fix insertion bugs/incompatibilities with lastrowid stuff.
2021-08-11 22:19:27 -03:00
fiatjaf
a019d29b9b
support pay-to-identifier.
2021-08-10 07:25:51 -03:00