Added
- Extra documentation in README.
- Full validation of LNURL responses using `pydantic` models.
- `.json()` and `.dict()` methods to export data from responses. Data is exported in camelCase
by default, but internally all properties are still pythonic (snake_case).
- `LnurlResponse.from_dict()` helper to parse a response and assign the right type.
- `handle()` function to get a typed response directly from a LNURL if you have `requests` installed.
- Typed returns for `encode()` and `decode()` functions.
- `black` for code formating.
Changed
- Responses now require that you pass kwargs instead of a dictionary: use `LnurlResponseModel(**dict)`
instead of the previous `LnurlResponse(dict)`
- `HttpsUrl` uses default `pydantic` validations now.