From 14a66e64664d26d1a9b0afcd2e9cc96369960bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Tue, 13 Aug 2024 07:58:28 +0200 Subject: [PATCH] fix: readd MilliSatoshis from bolt11 (#40) issue #39 --- lnurl/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lnurl/__init__.py b/lnurl/__init__.py index fe4033f..03a08ea 100644 --- a/lnurl/__init__.py +++ b/lnurl/__init__.py @@ -1,3 +1,6 @@ +# backward compatibility, MilliSatoshi is now imported from bolt11 +from bolt11 import MilliSatoshi + from .core import decode, encode, execute, execute_login, execute_pay_request, execute_withdraw, get, handle from .models import ( LnurlAuthResponse, @@ -33,4 +36,5 @@ "LnurlResponse", "LnurlSuccessResponse", "LnurlWithdrawResponse", + "MilliSatoshi", ]