- update breez package - minor fixes

- update breez package - minor fixes

OmarHatem committed Mar 17, 2026 at 15:19 UTC ac3cca2e5e6a6116af2ba20afb833ef1cf61f64f
8 files changed +17 -44
cw_bitcoin/lib/lightning/lightning_wallet.dart
-28
@@ -391,31 +391,3 @@ class LightningWallet {
391 );
392 }
393 }
394 -
395 -extension _ConfigCopyWith on Config {
396 - Config copyWith({
397 - String? apiKey,
398 - String? lnurlDomain,
399 - Network? network,
400 - int? syncIntervalSecs,
401 - MaxFee? maxDepositClaimFee,
402 - bool? preferSparkOverLightning,
403 - bool? useDefaultExternalInputParsers,
404 - bool? privateEnabledDefault,
405 - OptimizationConfig? optimizationConfig,
406 - int? maxConcurrentClaims,
407 - }) =>
408 - Config(
409 - lnurlDomain: lnurlDomain ?? this.lnurlDomain,
410 - apiKey: apiKey ?? this.apiKey,
411 - network: network ?? this.network,
412 - syncIntervalSecs: syncIntervalSecs ?? this.syncIntervalSecs,
413 - maxDepositClaimFee: maxDepositClaimFee ?? this.maxDepositClaimFee,
414 - preferSparkOverLightning: preferSparkOverLightning ?? this.preferSparkOverLightning,
415 - useDefaultExternalInputParsers:
416 - useDefaultExternalInputParsers ?? this.useDefaultExternalInputParsers,
417 - privateEnabledDefault: privateEnabledDefault ?? this.privateEnabledDefault,
418 - optimizationConfig: optimizationConfig ?? this.optimizationConfig,
419 - maxConcurrentClaims: maxConcurrentClaims ?? this.maxConcurrentClaims,
420 - );
421 -}
cw_bitcoin/pubspec.lock
+4 -4
@@ -134,11 +134,11 @@ packages:
134 dependency: "direct main"
135 description:
136 path: "."
137 - ref: "9ad3fc1cdc7f09009786cf4960a0b7697e9a249f"
138 - resolved-ref: "9ad3fc1cdc7f09009786cf4960a0b7697e9a249f"
139 - url: "https://github.com/cake-tech/breez-sdk-spark-flutter"
137 + ref: "v0.11.0"
138 + resolved-ref: "4a6110477c526ddf236c6b5d4ad064802062f5ad"
139 + url: "https://github.com/breez/breez-sdk-spark-flutter"
140 source: git
141 - version: "0.9.1"
141 + version: "0.11.0"
142 bs58check:
143 dependency: transitive
144 description:
cw_bitcoin/pubspec.yaml
+2 -2
@@ -71,8 +71,8 @@ dependencies:
71 ref: e867e3d0156d0b29858100f30adc2625b9dae586
72 breez_sdk_spark_flutter:
73 git:
74 - url: https://github.com/cake-tech/breez-sdk-spark-flutter
75 - ref: 9ad3fc1cdc7f09009786cf4960a0b7697e9a249f
74 + url: https://github.com/breez/breez-sdk-spark-flutter
75 + ref: v0.11.0
76
77 dev_dependencies:
78 flutter_test:
lib/src/screens/auth/auth_page.dart
+3 -1
@@ -109,7 +109,9 @@ class AuthPagePinCodeStateImpl extends AuthPageState<AuthPage> {
109 @override
110 Future<void> close({String? route, dynamic arguments}) async {
111 if (_key.currentContext == null) {
112 - throw Exception('Key context is null. Should be not happened');
112 + // throw Exception('Key context is null. Should be not happened');
113 + // flutter can happen, so safe to just return
114 + return;
115 }
116
117 /// not the best scenario, but WidgetsBinding is not behaving correctly on Android
lib/src/screens/settings/manage_nodes_page.dart
+1 -2
@@ -1,5 +1,4 @@
1 import 'package:cake_wallet/generated/i18n.dart';
2 -import 'package:cake_wallet/new-ui/widgets/modal_header.dart';
2 import 'package:cake_wallet/new-ui/widgets/modal_page_wrapper.dart';
3 import 'package:cake_wallet/new-ui/widgets/modern_button.dart';
4 import 'package:cake_wallet/new-ui/widgets/receive_page/receive_top_bar.dart';
@@ -101,7 +100,7 @@ class ManageNodesPage extends BasePage {
100 }
101 final nodeListRow = NodeListRow(
102 title: node.uriRaw,
104 - subtitle: node.label!,
103 + subtitle: node.label ?? '',
104 node: node,
105 isSelected: isSelected,
106 isPow: isPow,
lib/view_model/wallet_groups_display_view_model.dart
+1 -1
@@ -104,7 +104,7 @@ abstract class WalletGroupsDisplayViewModelBase with Store {
104
105 await _walletManager.updateWalletGroups();
106
107 - final walletGroups = _walletManager.walletGroups;
107 + final walletGroups = List<WalletGroup>.from(_walletManager.walletGroups);
108
109 // Iterate through the wallet groups to filter and categorize wallets
110 for (var group in walletGroups) {
macos/Podfile.lock
+2 -2
@@ -1,7 +1,7 @@
1 PODS:
2 - bitbox_flutter (0.0.1):
3 - FlutterMacOS
4 - - breez_sdk_spark_flutter (0.9.1):
4 + - breez_sdk_spark_flutter (0.11.0):
5 - FlutterMacOS
6 - connectivity_plus (0.0.1):
7 - FlutterMacOS
@@ -168,7 +168,7 @@ EXTERNAL SOURCES:
168
169 SPEC CHECKSUMS:
170 bitbox_flutter: 16088f5c7febacf894f4d07bbdfb441c9f0757fe
171 - breez_sdk_spark_flutter: 395f5c3f35d0f128ed504588de212ff601f6dbeb
171 + breez_sdk_spark_flutter: 2e864a52e699546aedea3d64d0e0cc88bc0ac595
172 connectivity_plus: 0a976dfd033b59192912fa3c6c7b54aab5093802
173 cw_mweb: 7440b12ead811dda972a9918442ea2a458e8742c
174 device_info_plus: 5401765fde0b8d062a2f8eb65510fb17e77cf07f
macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+4 -4
@@ -15,7 +15,7 @@
15 <BuildableReference
16 BuildableIdentifier = "primary"
17 BlueprintIdentifier = "33CC10EC2044A3C60003C045"
18 - BuildableName = "Monero.com.app"
18 + BuildableName = "Cake Wallet.app"
19 BlueprintName = "Runner"
20 ReferencedContainer = "container:Runner.xcodeproj">
21 </BuildableReference>
@@ -31,7 +31,7 @@
31 <BuildableReference
32 BuildableIdentifier = "primary"
33 BlueprintIdentifier = "33CC10EC2044A3C60003C045"
34 - BuildableName = "Monero.com.app"
34 + BuildableName = "Cake Wallet.app"
35 BlueprintName = "Runner"
36 ReferencedContainer = "container:Runner.xcodeproj">
37 </BuildableReference>
@@ -55,7 +55,7 @@
55 <BuildableReference
56 BuildableIdentifier = "primary"
57 BlueprintIdentifier = "33CC10EC2044A3C60003C045"
58 - BuildableName = "Monero.com.app"
58 + BuildableName = "Cake Wallet.app"
59 BlueprintName = "Runner"
60 ReferencedContainer = "container:Runner.xcodeproj">
61 </BuildableReference>
@@ -72,7 +72,7 @@
72 <BuildableReference
73 BuildableIdentifier = "primary"
74 BlueprintIdentifier = "33CC10EC2044A3C60003C045"
75 - BuildableName = "Monero.com.app"
75 + BuildableName = "Cake Wallet.app"
76 BlueprintName = "Runner"
77 ReferencedContainer = "container:Runner.xcodeproj">
78 </BuildableReference>