Skip to content

Commit 6d7439f

Browse files
authored
Merge pull request #1089 from broxus/release/EWM-TECH_1.21.0
chore(EWM-TECH): release 1.21.0
2 parents 2a8965e + 0ca8d20 commit 6d7439f

File tree

300 files changed

+4054
-2474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+4054
-2474
lines changed
File renamed without changes.

assets/configs/connections.json

Lines changed: 716 additions & 515 deletions
Large diffs are not rendered by default.

assets/configs/release_notes.json

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,86 @@
11
{
22
"1.3.1": {
33
"available": true,
4-
"info": "Important update with TonConnect support"
4+
"info": "Important update with TonConnect support."
5+
},
6+
"1.4.0": {
7+
"available": true,
8+
"info": "TON Connect integration.\nSupport for Wallet V3R1 and V3R2 on TON.\nSimulate transactions to confirm messages."
9+
},
10+
"1.5.0": {
11+
"available": true,
12+
"info": "App Version Update System."
13+
},
14+
"1.6.0": {
15+
"available": true,
16+
"info": "Added QR code scanner."
17+
},
18+
"1.7.1": {
19+
"available": true,
20+
"info": "New network selection screen.\nAdded loader animations.\nAdded forced public key scanning.\nUsing Android Photo Picker."
21+
},
22+
"1.8.1": {
23+
"available": true,
24+
"info": "All-new built-in browser"
25+
},
26+
"1.9.1": {
27+
"available": true,
28+
"info": "Bug fixes, minor improvements and code refactoring."
29+
},
30+
"1.10.0": {
31+
"available": true,
32+
"info": "Bug fixes, minor improvements, and more."
33+
},
34+
"1.11.0": {
35+
"available": true,
36+
"info": "NFT support"
37+
},
38+
"1.13.0": {
39+
"available": true,
40+
"info": "Added staking on Tycho Testnet.\nRefreshed Settings menu.\nUpdated to freezed 3.0.0.\nBug fixes, minor improvements, and more."
41+
},
42+
"1.14.2": {
43+
"available": true,
44+
"info": "Bug fixes, minor improvements and code refactoring."
45+
},
46+
"1.14.3": {
47+
"available": true,
48+
"info": "Bug fixes, minor improvements and code refactoring."
49+
},
50+
"1.15.0": {
51+
"available": true,
52+
"info": "Added support for importing a seed phrase using a Ledger over Bluetooth"
53+
},
54+
"1.15.1": {
55+
"available": true,
56+
"info": "Bug fixes, minor improvements and code refactoring."
57+
},
58+
"1.15.2": {
59+
"available": true,
60+
"info": "Refactored screens: migrated from Block to Elementary."
61+
},
62+
"1.16.0": {
63+
"available": true,
64+
"info": "Support for gasless transfers."
65+
},
66+
"1.17.0": {
67+
"available": true,
68+
"info": "Bug fixes, minor improvements and code refactoring."
69+
},
70+
"1.17.1": {
71+
"available": true,
72+
"info": "Bug fixes, minor improvements and code refactoring."
73+
},
74+
"1.18.0": {
75+
"available": true,
76+
"info": "Bug fixes, minor improvements and code refactoring."
77+
},
78+
"1.19.1": {
79+
"available": true,
80+
"info": "Update to Flutter 3.35."
81+
},
82+
"1.20.0": {
83+
"available": true,
84+
"info": "Improved data security.\nAdded NFT API support.\nBug fixes, minor improvements, and more."
585
}
686
}

assets/configs/update_rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"blockingVersion": "1.0.0",
3-
"warningVersion": "1.3.0",
3+
"warningVersion": "1.19.1",
44
"warningShowTimes": 3,
55
"warningShowDelayS": 1800
66
}

assets/translations/en.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
212212
"contactSupportOpenQa": "Open QA",
213213
"browserCloseAll": "Close All",
214214
"browserCloseAllTabsDescription": "Are you sure you want\nto clear all tabs?",
215-
"browserPermissionsHeader": "requests permissions: {}",
215+
"browserPermissionsHeader": "Permissions request",
216+
"browserPermissionsBody": "{} needs access to:",
216217
"done": "Done",
217218
"browserSearchURL": "Search or enter URL",
218219
"browserSearchURLCancel": "Cancel",
@@ -700,6 +701,7 @@
700701
"seedPhrase24FormatTON": "TON BIP39",
701702
"invalidNetworkError": "Invalid network. Change current network to {}",
702703
"invalidPublicKeyError": "Invalid public key",
704+
"invalidWalletAddressError": "Invalid wallet address",
703705
"dappManifestError": "dApp manifest error",
704706
"appNewVersionTitle": "SparX new version",
705707
"importantUpdateReleaseNote": "Important update with performance improvements, security features and enhanced stability",
@@ -779,5 +781,7 @@
779781
"tokenListValidationError": "Invalid token list format",
780782
"failedToPrepareTransaction": "Failed to prepare transaction",
781783
"failedToSendTransaction": "Failed to send transaction",
782-
"passwordLockedUntil": "Password locked until {}"
784+
"passwordLockedUntil": "Password locked until {}",
785+
"invalidPayloadError": "Payload is invalid",
786+
"invalidStateInitError": "StateInit is invalid"
783787
}

assets/translations/ko.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
212212
"contactSupportOpenQa": "Open QA",
213213
"browserCloseAll": "Close All",
214214
"browserCloseAllTabsDescription": "Are you sure you want\nto clear all tabs?",
215-
"browserPermissionsHeader": "requests permissions: {}",
215+
"browserPermissionsHeader": "Permissions request",
216+
"browserPermissionsBody": "{} needs access to:",
216217
"done": "Done",
217218
"browserSearchURL": "Search or enter URL",
218219
"browserSearchURLCancel": "Cancel",
@@ -700,6 +701,7 @@
700701
"seedPhrase24FormatTON": "TON BIP39",
701702
"invalidNetworkError": "Invalid network. Change current network to {}",
702703
"invalidPublicKeyError": "Invalid public key",
704+
"invalidWalletAddressError": "Invalid wallet address",
703705
"dappManifestError": "dApp manifest error",
704706
"appNewVersionTitle": "SparX new version",
705707
"importantUpdateReleaseNote": "Important update with performance improvements, security features and enhanced stability",
@@ -779,5 +781,7 @@
779781
"tokenListValidationError": "Invalid token list format",
780782
"failedToPrepareTransaction": "Failed to prepare transaction",
781783
"failedToSendTransaction": "Failed to send transaction",
782-
"passwordLockedUntil": "Password locked until {}"
784+
"passwordLockedUntil": "Password locked until {}",
785+
"invalidPayloadError": "Payload is invalid",
786+
"invalidStateInitError": "StateInit is invalid"
783787
}

lib/app/service/connection/connection_service.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,24 @@ class ConnectionService {
9393
),
9494
};
9595

96+
Future<int?> getNetworkId(ConnectionData connection) async {
97+
Transport? transport;
98+
99+
try {
100+
transport = await createTransportByConnection(connection);
101+
return transport.networkId;
102+
} catch (e) {
103+
_log.severe(
104+
'Error getting network id for connection: '
105+
'${connection.name} (${connection.id})',
106+
);
107+
} finally {
108+
await transport?.dispose();
109+
}
110+
111+
return null;
112+
}
113+
96114
/// Create nekoton's transport by connection, create transport's strategy
97115
/// by its type and put it in nekoton.
98116
// ignore: long-method

lib/app/service/pending_deep_link_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'dart:async';
22

33
import 'package:app/app/router/compass/compass.dart';
44
import 'package:app/app/router/router.dart';
5-
import 'package:app/feature/browser_v2/domain/browser_launcher.dart';
5+
import 'package:app/feature/browser/domain/browser_launcher.dart';
66
import 'package:app/feature/wallet/route.dart';
77
import 'package:injectable/injectable.dart';
88
import 'package:logging/logging.dart';

lib/app/service/permissions_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:app/data/models/models.dart';
2-
import 'package:app/feature/browser_v2/domain/service/browser_service.dart';
2+
import 'package:app/feature/browser/domain/service/browser_service.dart';
33
import 'package:injectable/injectable.dart';
44
import 'package:nekoton_repository/nekoton_repository.dart';
55

lib/app/service/session/session_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:app/app/service/identify/i_identify_icons_service.dart';
22
import 'package:app/app/service/storage_service/secure_storage_service.dart';
33
import 'package:app/app/service/storage_service/storage_manager_service.dart';
44
import 'package:app/core/sentry.dart';
5-
import 'package:app/feature/browser_v2/domain/service/browser_service.dart';
5+
import 'package:app/feature/browser/domain/service/browser_service.dart';
66
import 'package:app/utils/utils.dart';
77
import 'package:injectable/injectable.dart';
88
import 'package:logging/logging.dart';

0 commit comments

Comments
 (0)