breez-sdk-spark 0.1.6__cp312-cp312-win32.whl → 0.1.7__cp312-cp312-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- breez_sdk_spark/breez_sdk_common.py +5 -5
- breez_sdk_spark/breez_sdk_spark.py +15 -6
- breez_sdk_spark/breez_sdk_spark_bindings.dll +0 -0
- {breez_sdk_spark-0.1.6.dist-info → breez_sdk_spark-0.1.7.dist-info}/METADATA +1 -1
- breez_sdk_spark-0.1.7.dist-info/RECORD +11 -0
- breez_sdk_spark-0.1.6.dist-info/RECORD +0 -11
- {breez_sdk_spark-0.1.6.dist-info → breez_sdk_spark-0.1.7.dist-info}/WHEEL +0 -0
- {breez_sdk_spark-0.1.6.dist-info → breez_sdk_spark-0.1.7.dist-info}/top_level.txt +0 -0
@@ -2319,7 +2319,7 @@ class LnurlPayRequestDetails:
|
|
2319
2319
|
Optional lightning address if that was used to resolve the lnurl.
|
2320
2320
|
"""
|
2321
2321
|
|
2322
|
-
allows_nostr: "bool"
|
2322
|
+
allows_nostr: "typing.Optional[bool]"
|
2323
2323
|
"""
|
2324
2324
|
Value indicating whether the recipient supports Nostr Zaps through NIP-57.
|
2325
2325
|
|
@@ -2335,7 +2335,7 @@ class LnurlPayRequestDetails:
|
|
2335
2335
|
See <https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki>
|
2336
2336
|
"""
|
2337
2337
|
|
2338
|
-
def __init__(self, *, callback: "str", min_sendable: "int", max_sendable: "int", metadata_str: "str", comment_allowed: "int", domain: "str", url: "str", address: "typing.Optional[str]", allows_nostr: "bool", nostr_pubkey: "typing.Optional[str]"):
|
2338
|
+
def __init__(self, *, callback: "str", min_sendable: "int", max_sendable: "int", metadata_str: "str", comment_allowed: "int", domain: "str", url: "str", address: "typing.Optional[str]", allows_nostr: "typing.Optional[bool]", nostr_pubkey: "typing.Optional[str]"):
|
2339
2339
|
self.callback = callback
|
2340
2340
|
self.min_sendable = min_sendable
|
2341
2341
|
self.max_sendable = max_sendable
|
@@ -2385,7 +2385,7 @@ class _UniffiConverterTypeLnurlPayRequestDetails(_UniffiConverterRustBuffer):
|
|
2385
2385
|
domain=_UniffiConverterString.read(buf),
|
2386
2386
|
url=_UniffiConverterString.read(buf),
|
2387
2387
|
address=_UniffiConverterOptionalString.read(buf),
|
2388
|
-
allows_nostr=
|
2388
|
+
allows_nostr=_UniffiConverterOptionalBool.read(buf),
|
2389
2389
|
nostr_pubkey=_UniffiConverterOptionalString.read(buf),
|
2390
2390
|
)
|
2391
2391
|
|
@@ -2399,7 +2399,7 @@ class _UniffiConverterTypeLnurlPayRequestDetails(_UniffiConverterRustBuffer):
|
|
2399
2399
|
_UniffiConverterString.check_lower(value.domain)
|
2400
2400
|
_UniffiConverterString.check_lower(value.url)
|
2401
2401
|
_UniffiConverterOptionalString.check_lower(value.address)
|
2402
|
-
|
2402
|
+
_UniffiConverterOptionalBool.check_lower(value.allows_nostr)
|
2403
2403
|
_UniffiConverterOptionalString.check_lower(value.nostr_pubkey)
|
2404
2404
|
|
2405
2405
|
@staticmethod
|
@@ -2412,7 +2412,7 @@ class _UniffiConverterTypeLnurlPayRequestDetails(_UniffiConverterRustBuffer):
|
|
2412
2412
|
_UniffiConverterString.write(value.domain, buf)
|
2413
2413
|
_UniffiConverterString.write(value.url, buf)
|
2414
2414
|
_UniffiConverterOptionalString.write(value.address, buf)
|
2415
|
-
|
2415
|
+
_UniffiConverterOptionalBool.write(value.allows_nostr, buf)
|
2416
2416
|
_UniffiConverterOptionalString.write(value.nostr_pubkey, buf)
|
2417
2417
|
|
2418
2418
|
|
@@ -486,7 +486,7 @@ def _uniffi_check_api_checksums(lib):
|
|
486
486
|
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
487
487
|
if lib.uniffi_breez_sdk_spark_checksum_func_default_config() != 62194:
|
488
488
|
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
489
|
-
if lib.uniffi_breez_sdk_spark_checksum_func_default_storage() !=
|
489
|
+
if lib.uniffi_breez_sdk_spark_checksum_func_default_storage() != 30804:
|
490
490
|
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
491
491
|
if lib.uniffi_breez_sdk_spark_checksum_func_init_logging() != 8518:
|
492
492
|
raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
|
@@ -991,9 +991,8 @@ _UniffiLib.uniffi_breez_sdk_spark_fn_func_default_config.argtypes = (
|
|
991
991
|
_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_config.restype = _UniffiRustBuffer
|
992
992
|
_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_storage.argtypes = (
|
993
993
|
_UniffiRustBuffer,
|
994
|
-
ctypes.POINTER(_UniffiRustCallStatus),
|
995
994
|
)
|
996
|
-
_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_storage.restype = ctypes.
|
995
|
+
_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_storage.restype = ctypes.c_uint64
|
997
996
|
_UniffiLib.uniffi_breez_sdk_spark_fn_func_init_logging.argtypes = (
|
998
997
|
_UniffiRustBuffer,
|
999
998
|
_UniffiRustBuffer,
|
@@ -7484,13 +7483,23 @@ def default_config(network: "Network") -> "Config":
|
|
7484
7483
|
return _UniffiConverterTypeConfig.lift(_uniffi_rust_call(_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_config,
|
7485
7484
|
_UniffiConverterTypeNetwork.lower(network)))
|
7486
7485
|
|
7486
|
+
async def default_storage(data_dir: "str") -> "Storage":
|
7487
7487
|
|
7488
|
-
def default_storage(data_dir: "str") -> "Storage":
|
7489
7488
|
_UniffiConverterString.check_lower(data_dir)
|
7490
7489
|
|
7491
|
-
return
|
7492
|
-
|
7490
|
+
return await _uniffi_rust_call_async(
|
7491
|
+
_UniffiLib.uniffi_breez_sdk_spark_fn_func_default_storage(
|
7492
|
+
_UniffiConverterString.lower(data_dir)),
|
7493
|
+
_UniffiLib.ffi_breez_sdk_spark_rust_future_poll_pointer,
|
7494
|
+
_UniffiLib.ffi_breez_sdk_spark_rust_future_complete_pointer,
|
7495
|
+
_UniffiLib.ffi_breez_sdk_spark_rust_future_free_pointer,
|
7496
|
+
# lift function
|
7497
|
+
_UniffiConverterTypeStorage.lift,
|
7498
|
+
|
7499
|
+
# Error FFI converter
|
7500
|
+
_UniffiConverterTypeSdkError,
|
7493
7501
|
|
7502
|
+
)
|
7494
7503
|
|
7495
7504
|
def init_logging(log_dir: "typing.Optional[str]",app_logger: "typing.Optional[Logger]",log_filter: "typing.Optional[str]") -> None:
|
7496
7505
|
_UniffiConverterOptionalString.check_lower(log_dir)
|
Binary file
|
@@ -0,0 +1,11 @@
|
|
1
|
+
breez_sdk_spark/__init__.py,sha256=YcEpqfQeZ0Yc8lRjKv0b5M19vH3VyMiZjV5hHWdz6wE,151
|
2
|
+
breez_sdk_spark/breez_sdk_common.py,sha256=u-heuhIaouzAFwtC6BdCMheihQ3WS1u7YkIL4bng-Tk,187341
|
3
|
+
breez_sdk_spark/breez_sdk_spark.py,sha256=URzB4ZePDypFc0DuJ_1X0pl6eJJg9v-zK3CY2b6xzO4,271895
|
4
|
+
breez_sdk_spark/breez_sdk_spark_bindings.dll,sha256=ttC5rcbA7egE8ajBelB6u-9--F9_I0h-NqdYrctb70E,10805248
|
5
|
+
breez_sdk_spark/breez_sdk_spark_bindings.py,sha256=ysAJqyrIhXUjJIBj856CADqim5MR38CgNEIdG1Fj4qg,32901
|
6
|
+
breez_sdk_spark/msvcp140.dll,sha256=l-caPGl_sas693fbOQCeRgJSXow6_wg37McDHLoYgWU,447616
|
7
|
+
breez_sdk_spark/vcruntime140.dll,sha256=qddzKjw94J8GAaf6JVUJPctJ8I4vxiqGCRRh8PODk-0,91216
|
8
|
+
breez_sdk_spark-0.1.7.dist-info/METADATA,sha256=bAAkB0Vaytc-xnRirMa6Z7NVnOSfwttns4yfZS99fek,568
|
9
|
+
breez_sdk_spark-0.1.7.dist-info/WHEEL,sha256=LwxTQZ0gyDP_uaeNCLm-ZIktY9hv6x0e22Q-hgFd-po,97
|
10
|
+
breez_sdk_spark-0.1.7.dist-info/top_level.txt,sha256=EWjZB7jCSH5bjyOrFhpRFW4Jfo8ykKdxJ7tqAOytwDU,16
|
11
|
+
breez_sdk_spark-0.1.7.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
breez_sdk_spark/__init__.py,sha256=YcEpqfQeZ0Yc8lRjKv0b5M19vH3VyMiZjV5hHWdz6wE,151
|
2
|
-
breez_sdk_spark/breez_sdk_common.py,sha256=JZtaNWUOSEVfKwSGOK61lZOWxn4jkY-ChImP6GFqX_U,187283
|
3
|
-
breez_sdk_spark/breez_sdk_spark.py,sha256=eFYqtynFU4DBFHQEnCfkHbQGRpgq9Ot6-M7N8hrPWRc,271648
|
4
|
-
breez_sdk_spark/breez_sdk_spark_bindings.dll,sha256=Cu5-G1JJ5YnxMbMpuNQR9SecEL4D9brJLxlaeayItg8,9988608
|
5
|
-
breez_sdk_spark/breez_sdk_spark_bindings.py,sha256=ysAJqyrIhXUjJIBj856CADqim5MR38CgNEIdG1Fj4qg,32901
|
6
|
-
breez_sdk_spark/msvcp140.dll,sha256=l-caPGl_sas693fbOQCeRgJSXow6_wg37McDHLoYgWU,447616
|
7
|
-
breez_sdk_spark/vcruntime140.dll,sha256=qddzKjw94J8GAaf6JVUJPctJ8I4vxiqGCRRh8PODk-0,91216
|
8
|
-
breez_sdk_spark-0.1.6.dist-info/METADATA,sha256=q6kCOWCNtdOz7UR_FOTAqxJu30uODfS4S12KkVX1Ls0,568
|
9
|
-
breez_sdk_spark-0.1.6.dist-info/WHEEL,sha256=LwxTQZ0gyDP_uaeNCLm-ZIktY9hv6x0e22Q-hgFd-po,97
|
10
|
-
breez_sdk_spark-0.1.6.dist-info/top_level.txt,sha256=EWjZB7jCSH5bjyOrFhpRFW4Jfo8ykKdxJ7tqAOytwDU,16
|
11
|
-
breez_sdk_spark-0.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|