mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
bump breez_sdk_spark_flutter to v0.14.0 (#3245)
* bump breez_sdk_spark_flutter to v0.14.0 * Fix accessing parsed address without checking if it's parsed
This commit is contained in:
@@ -213,14 +213,14 @@ class LightningWallet {
|
||||
PrepareLnurlPayRequest request;
|
||||
if (inputType is InputType_LightningAddress) {
|
||||
request = PrepareLnurlPayRequest(
|
||||
amountSats: amountSats!,
|
||||
amount: amountSats!,
|
||||
payRequest: inputType.field0.payRequest,
|
||||
validateSuccessActionUrl: optionalValidateSuccessActionUrl,
|
||||
feePolicy: feePolicy,
|
||||
);
|
||||
} else {
|
||||
request = PrepareLnurlPayRequest(
|
||||
amountSats: amountSats!,
|
||||
amount: amountSats!,
|
||||
payRequest: (inputType as InputType_LnurlPay).field0,
|
||||
validateSuccessActionUrl: optionalValidateSuccessActionUrl,
|
||||
feePolicy: feePolicy,
|
||||
|
||||
@@ -134,11 +134,11 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "v0.11.0"
|
||||
resolved-ref: "4a6110477c526ddf236c6b5d4ad064802062f5ad"
|
||||
ref: "v0.14.0"
|
||||
resolved-ref: e18b6437daaf0572de6aea2439c2ec4d22658bbb
|
||||
url: "https://github.com/breez/breez-sdk-spark-flutter"
|
||||
source: git
|
||||
version: "0.11.0"
|
||||
version: "0.14.0"
|
||||
bs58check:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@@ -72,7 +72,7 @@ dependencies:
|
||||
breez_sdk_spark_flutter:
|
||||
git:
|
||||
url: https://github.com/breez/breez-sdk-spark-flutter
|
||||
ref: v0.11.0
|
||||
ref: v0.14.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
+5
-2
@@ -1,6 +1,8 @@
|
||||
PODS:
|
||||
- bitbox_flutter (0.0.1):
|
||||
- Flutter
|
||||
- breez_sdk_spark_flutter (0.14.0):
|
||||
- Flutter
|
||||
- connectivity_plus (0.0.1):
|
||||
- Flutter
|
||||
- CryptoSwift (1.8.4)
|
||||
@@ -252,8 +254,9 @@ EXTERNAL SOURCES:
|
||||
:path: ".symlinks/plugins/wakelock_plus/ios"
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
bitbox_flutter: 506f80b961ddf646b0d80cef9f6eadaab96d91b0
|
||||
connectivity_plus: 2a701ffec2c0ae28a48cf7540e279787e77c447d
|
||||
bitbox_flutter: 9505732798041c413152669751beeaecc5fe400f
|
||||
breez_sdk_spark_flutter: ed3b6709b8ce9b40309d8728640eade5b19e8a0d
|
||||
connectivity_plus: cb623214f4e1f6ef8fe7403d580fdad517d2f7dd
|
||||
CryptoSwift: e64e11850ede528a02a0f3e768cec8e9d92ecb90
|
||||
device_display_brightness: 1510e72c567a1f6ce6ffe393dcd9afd1426034f7
|
||||
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
|
||||
|
||||
@@ -15,7 +15,6 @@ import 'package:cw_core/crypto_amount_format.dart';
|
||||
import 'package:cw_core/crypto_currency.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:mobx/mobx.dart';
|
||||
|
||||
class SendConfirmSheet extends StatefulWidget {
|
||||
@@ -216,8 +215,10 @@ class SendTransactionDetails extends StatelessWidget {
|
||||
final showAddress = !sendViewModel.outputs.any((e) =>
|
||||
RegExp(AddressValidator.bolt11InvoiceMatcher).hasMatch(e.address.toLowerCase()) ||
|
||||
RegExp(AddressValidator.lnurlMatcher).hasMatch(e.address.toLowerCase()) ||
|
||||
RegExp(AddressValidator.lnurlMatcher)
|
||||
.hasMatch(e.parsedAddress.addresses.first.toLowerCase()));
|
||||
(e.isParsedAddress &&
|
||||
e.parsedAddress.addresses.isNotEmpty &&
|
||||
RegExp(AddressValidator.lnurlMatcher)
|
||||
.hasMatch(e.parsedAddress.addresses.first.toLowerCase())));
|
||||
|
||||
final outputs = sendViewModel.outputs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user