breez-sdk-spark 0.2.6__cp313-cp313-win32.whl → 0.3.0rc2__cp313-cp313-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.
Potentially problematic release.
This version of breez-sdk-spark might be problematic. Click here for more details.
- breez_sdk_spark/breez_sdk_common.py +60 -5
- breez_sdk_spark/breez_sdk_spark.py +839 -299
- breez_sdk_spark/breez_sdk_spark_bindings.dll +0 -0
- {breez_sdk_spark-0.2.6.dist-info → breez_sdk_spark-0.3.0rc2.dist-info}/METADATA +1 -1
- breez_sdk_spark-0.3.0rc2.dist-info/RECORD +11 -0
- breez_sdk_spark-0.2.6.dist-info/RECORD +0 -11
- {breez_sdk_spark-0.2.6.dist-info → breez_sdk_spark-0.3.0rc2.dist-info}/WHEEL +0 -0
- {breez_sdk_spark-0.2.6.dist-info → breez_sdk_spark-0.3.0rc2.dist-info}/top_level.txt +0 -0
|
@@ -3339,8 +3339,8 @@ class _UniffiConverterTypeSymbol(_UniffiConverterRustBuffer):
|
|
|
3339
3339
|
|
|
3340
3340
|
class TokensPaymentDetails:
|
|
3341
3341
|
token_identifier: "typing.Optional[str]"
|
|
3342
|
-
amount: "typing.Optional[
|
|
3343
|
-
def __init__(self, *, token_identifier: "typing.Optional[str]", amount: "typing.Optional[
|
|
3342
|
+
amount: "typing.Optional[CommonU128]"
|
|
3343
|
+
def __init__(self, *, token_identifier: "typing.Optional[str]", amount: "typing.Optional[CommonU128]"):
|
|
3344
3344
|
self.token_identifier = token_identifier
|
|
3345
3345
|
self.amount = amount
|
|
3346
3346
|
|
|
@@ -3359,18 +3359,18 @@ class _UniffiConverterTypeTokensPaymentDetails(_UniffiConverterRustBuffer):
|
|
|
3359
3359
|
def read(buf):
|
|
3360
3360
|
return TokensPaymentDetails(
|
|
3361
3361
|
token_identifier=_UniffiConverterOptionalString.read(buf),
|
|
3362
|
-
amount=
|
|
3362
|
+
amount=_UniffiConverterOptionalTypeCommonU128.read(buf),
|
|
3363
3363
|
)
|
|
3364
3364
|
|
|
3365
3365
|
@staticmethod
|
|
3366
3366
|
def check_lower(value):
|
|
3367
3367
|
_UniffiConverterOptionalString.check_lower(value.token_identifier)
|
|
3368
|
-
|
|
3368
|
+
_UniffiConverterOptionalTypeCommonU128.check_lower(value.amount)
|
|
3369
3369
|
|
|
3370
3370
|
@staticmethod
|
|
3371
3371
|
def write(value, buf):
|
|
3372
3372
|
_UniffiConverterOptionalString.write(value.token_identifier, buf)
|
|
3373
|
-
|
|
3373
|
+
_UniffiConverterOptionalTypeCommonU128.write(value.amount, buf)
|
|
3374
3374
|
|
|
3375
3375
|
|
|
3376
3376
|
class UrlSuccessActionData:
|
|
@@ -5168,6 +5168,33 @@ class _UniffiConverterOptionalMapStringString(_UniffiConverterRustBuffer):
|
|
|
5168
5168
|
|
|
5169
5169
|
|
|
5170
5170
|
|
|
5171
|
+
class _UniffiConverterOptionalTypeCommonU128(_UniffiConverterRustBuffer):
|
|
5172
|
+
@classmethod
|
|
5173
|
+
def check_lower(cls, value):
|
|
5174
|
+
if value is not None:
|
|
5175
|
+
_UniffiConverterTypeCommonU128.check_lower(value)
|
|
5176
|
+
|
|
5177
|
+
@classmethod
|
|
5178
|
+
def write(cls, value, buf):
|
|
5179
|
+
if value is None:
|
|
5180
|
+
buf.write_u8(0)
|
|
5181
|
+
return
|
|
5182
|
+
|
|
5183
|
+
buf.write_u8(1)
|
|
5184
|
+
_UniffiConverterTypeCommonU128.write(value, buf)
|
|
5185
|
+
|
|
5186
|
+
@classmethod
|
|
5187
|
+
def read(cls, buf):
|
|
5188
|
+
flag = buf.read_u8()
|
|
5189
|
+
if flag == 0:
|
|
5190
|
+
return None
|
|
5191
|
+
elif flag == 1:
|
|
5192
|
+
return _UniffiConverterTypeCommonU128.read(buf)
|
|
5193
|
+
else:
|
|
5194
|
+
raise InternalError("Unexpected flag byte for optional type")
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
|
|
5171
5198
|
class _UniffiConverterSequenceString(_UniffiConverterRustBuffer):
|
|
5172
5199
|
@classmethod
|
|
5173
5200
|
def check_lower(cls, value):
|
|
@@ -5449,6 +5476,34 @@ class _UniffiConverterMapStringString(_UniffiConverterRustBuffer):
|
|
|
5449
5476
|
d[key] = val
|
|
5450
5477
|
return d
|
|
5451
5478
|
|
|
5479
|
+
|
|
5480
|
+
class _UniffiConverterTypeCommonU128:
|
|
5481
|
+
@staticmethod
|
|
5482
|
+
def write(value, buf):
|
|
5483
|
+
builtin_value = str(value)
|
|
5484
|
+
_UniffiConverterString.write(builtin_value, buf)
|
|
5485
|
+
|
|
5486
|
+
@staticmethod
|
|
5487
|
+
def read(buf):
|
|
5488
|
+
builtin_value = _UniffiConverterString.read(buf)
|
|
5489
|
+
return int(builtin_value)
|
|
5490
|
+
|
|
5491
|
+
@staticmethod
|
|
5492
|
+
def lift(value):
|
|
5493
|
+
builtin_value = _UniffiConverterString.lift(value)
|
|
5494
|
+
return int(builtin_value)
|
|
5495
|
+
|
|
5496
|
+
@staticmethod
|
|
5497
|
+
def check_lower(value):
|
|
5498
|
+
builtin_value = str(value)
|
|
5499
|
+
return _UniffiConverterString.check_lower(builtin_value)
|
|
5500
|
+
|
|
5501
|
+
@staticmethod
|
|
5502
|
+
def lower(value):
|
|
5503
|
+
builtin_value = str(value)
|
|
5504
|
+
return _UniffiConverterString.lower(builtin_value)
|
|
5505
|
+
CommonU128 = str
|
|
5506
|
+
|
|
5452
5507
|
# Async support# RustFuturePoll values
|
|
5453
5508
|
_UNIFFI_RUST_FUTURE_POLL_READY = 0
|
|
5454
5509
|
_UNIFFI_RUST_FUTURE_POLL_MAYBE_READY = 1
|