From 8c7c6af6d357ab7a6981685ddd79c1ee5d6cf00d Mon Sep 17 00:00:00 2001 From: Leonardo Custodio Date: Fri, 14 Jun 2024 09:15:56 -0300 Subject: [PATCH] [PLA-1640][PLA-1858] Fixes missing relayNode on config.json (#11) --- config.json | 2 +- .../controller/loading_controller.dart | 1 - .../controller/main_controller.dart | 29 +- lib/presentation/main_screen/main_screen.dart | 14 +- .../onboard_screen/onboard_screen.dart | 12 - pubspec.lock | 252 +++++++++++------- pubspec.yaml | 36 +-- 7 files changed, 201 insertions(+), 145 deletions(-) diff --git a/config.json b/config.json index 95af076..2949833 100644 --- a/config.json +++ b/config.json @@ -1 +1 @@ -{"node":"wss://rpc.matrix.canary.enjin.io:443","api":"https://platform.canary.enjin.io/graphql","master_key":"store"} \ No newline at end of file +{"node":"wss://rpc.matrix.blockchain.enjin.io:443","relay_node":"wss://rpc.relay.blockchain.enjin.io:443","api":"https://platform.enjin.io/graphql","master_key":"store"} \ No newline at end of file diff --git a/lib/presentation/loading_screen/controller/loading_controller.dart b/lib/presentation/loading_screen/controller/loading_controller.dart index 9cc3591..4893399 100644 --- a/lib/presentation/loading_screen/controller/loading_controller.dart +++ b/lib/presentation/loading_screen/controller/loading_controller.dart @@ -20,7 +20,6 @@ class LoadingController extends GetxController { Future _checkDependencies() async { final Directory appDir = await getApplicationSupportDirectory(); - print(appDir.path); final DownloadAssetsController downloadAssetsController = DownloadAssetsController(); diff --git a/lib/presentation/main_screen/controller/main_controller.dart b/lib/presentation/main_screen/controller/main_controller.dart index 36a1c4f..68cf93c 100644 --- a/lib/presentation/main_screen/controller/main_controller.dart +++ b/lib/presentation/main_screen/controller/main_controller.dart @@ -35,6 +35,7 @@ class MainController extends GetxController final platformEndpoint = ''.obs; final authToken = ''.obs; final rpcNode = ''.obs; + final relayNode = ''.obs; final enjinMatrixKey = ''.obs; final canaryMatrixKey = ''.obs; @@ -86,9 +87,11 @@ class MainController extends GetxController Get.offNamed(Routes.lock.nameToRoute()); } - Future setDaemonConfigFile(String api, String node) async { + Future setDaemonConfigFile( + String api, String node, String relayNode) async { final config = { "node": node, + "relay_node": relayNode, "api": api, "master_key": "store", }; @@ -129,7 +132,7 @@ class MainController extends GetxController if (!DaemonService.instance.hasAddress) { final search = [...otp.split('\n'), ...otp.split(' ')]; for (String word in search) { - final prefix = currentNetwork == 'enjin-matrix' ? 'ef' : 'cx'; + final prefix = currentNetwork.value == 'enjin-matrix' ? 'ef' : 'cx'; if (word.startsWith(prefix)) { String addr = word.split('\n')[0]; @@ -213,7 +216,7 @@ class MainController extends GetxController String walletApp = '$workingDir/wallet'; String configFile = '$workingDir/config.json'; - final hasSeed = await loadSeed(); + await loadSeed(); await DaemonService.instance.runWallet( walletApp: walletApp, @@ -228,12 +231,12 @@ class MainController extends GetxController } Future deleteStoreDir() async { - final directory = await getApplicationSupportDirectory(); - String path = p.join(directory.path, 'store'); - Directory dir = Directory(path); - if (dir.existsSync()) { - dir.delete(recursive: true); - } + // final directory = await getApplicationSupportDirectory(); + // String path = p.join(directory.path, 'store'); + // Directory dir = Directory(path); + // if (dir.existsSync()) { + // dir.delete(recursive: true); + // } } Future stopWallet() async { @@ -245,7 +248,8 @@ class MainController extends GetxController checkIsRunning(); } - Future setPlatformConfig(String node, String api, String token) async { + Future setPlatformConfig( + String node, String relayNode, String api, String token) async { await store .record('enjin.custom.api.key') .put(StoreService.instance.db!, token); @@ -255,8 +259,11 @@ class MainController extends GetxController await store .record('enjin.custom.node.url') .put(StoreService.instance.db!, node); + await store + .record('enjin.custom.relay.url') + .put(StoreService.instance.db!, relayNode); - await setDaemonConfigFile(api, node); + await setDaemonConfigFile(api, node, relayNode); } Future setDefaultAuthKeys(String authEnjin, String authCanary) async { diff --git a/lib/presentation/main_screen/main_screen.dart b/lib/presentation/main_screen/main_screen.dart index 3290ce3..2244ac7 100644 --- a/lib/presentation/main_screen/main_screen.dart +++ b/lib/presentation/main_screen/main_screen.dart @@ -326,6 +326,7 @@ class MainScreen extends GetWidget with WindowListener { onPressed: () async { await controller.setPlatformConfig( controller.rpcNode.value, + controller.relayNode.value, controller.platformEndpoint.value, controller.authToken.value, ); @@ -665,7 +666,7 @@ class MainScreen extends GetWidget with WindowListener { Container( width: 345, height: 112, - padding: const EdgeInsets.all(16), + padding: const EdgeInsets.all(8), decoration: ShapeDecoration( color: Colors.white, shape: RoundedRectangleBorder( @@ -1038,8 +1039,9 @@ class MainScreen extends GetWidget with WindowListener { color: Colors.transparent, child: Container( width: 310, - height: 426, - padding: const EdgeInsets.all(29), + height: 425, + padding: + const EdgeInsets.only(left: 20, right: 20, top: 20, bottom: 19), decoration: ShapeDecoration( color: const Color(0xFF494949), shape: RoundedRectangleBorder( @@ -2119,8 +2121,12 @@ class MainScreen extends GetWidget with WindowListener { String node = value == 'enjin-matrix' ? 'wss://rpc.matrix.blockchain.enjin.io:443' : 'wss://rpc.matrix.canary.enjin.io:443'; + String relayNode = value == 'enjin-matrix' + ? 'wss://rpc.relay.blockchain.enjin.io:443' + : 'wss://rpc.relay.canary.enjin.io:443'; - await controller.setDaemonConfigFile(api, node); + await controller.setDaemonConfigFile( + api, node, relayNode); await controller.setCurrentNetwork(value!); await controller.stopWallet(); }, diff --git a/lib/presentation/onboard_screen/onboard_screen.dart b/lib/presentation/onboard_screen/onboard_screen.dart index 06ec1b3..b460b9e 100644 --- a/lib/presentation/onboard_screen/onboard_screen.dart +++ b/lib/presentation/onboard_screen/onboard_screen.dart @@ -421,12 +421,6 @@ class SigningPage extends StatelessWidget { ), onPressed: () { pageController.jumpToPage(0); - // pageController.previousPage( - // duration: const Duration( - // milliseconds: 300, - // ), - // curve: Curves.easeInOut, - // ); }, decoration: BoxDecoration( borderRadius: BorderRadius.circular(10), @@ -448,12 +442,6 @@ class SigningPage extends StatelessWidget { buttonStyle: CustomButtonStyles.none, onPressed: () { pageController.jumpToPage(2); - // pageController.nextPage( - // duration: const Duration( - // milliseconds: 300, - // ), - // curve: Curves.easeInOut, - // ); }, decoration: CustomButtonStyles .gradientDeepPurpleToDeepPurpleDecoration, diff --git a/pubspec.lock b/pubspec.lock index 7f1c899..bb6ecfa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -13,26 +13,26 @@ packages: dependency: transitive description: name: archive - sha256: "7e0d52067d05f2e0324268097ba723b71cb41ac8a6a2b24d1edf9c536b987b03" + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.dev" source: hosted - version: "3.4.6" + version: "3.6.1" args: dependency: transitive description: name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.5.0" asn1lib: dependency: transitive description: name: asn1lib - sha256: "21afe4333076c02877d14f4a89df111e658a6d466cbfc802eb705eb91bd5adfd" + sha256: "58082b3f0dca697204dbab0ef9ff208bfaea7767ea771076af9a343488428dda" url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.5.3" async: dependency: transitive description: @@ -69,10 +69,10 @@ packages: dependency: transitive description: name: cli_util - sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7 + sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 url: "https://pub.dev" source: hosted - version: "0.4.0" + version: "0.4.1" clock: dependency: transitive description: @@ -85,10 +85,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: "direct main" description: @@ -109,18 +109,18 @@ packages: dependency: "direct main" description: name: dio - sha256: "417e2a6f9d83ab396ec38ff4ea5da6c254da71e4db765ad737a42af6930140b7" + sha256: "11e40df547d418cc0c4900a9318b26304e665da6fa4755399a9ff9efd09034b5" url: "https://pub.dev" source: hosted - version: "5.3.3" + version: "5.4.3+1" download_assets: dependency: "direct main" description: name: download_assets - sha256: bb4b676ddc3259e018029eed43d507d5290c461dbb6fddc3f94a0ef8f7b446cb + sha256: "1d546bde1b2e00cde2a5435dfc41b65321daf744289c5f7a13be31bee8f38870" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.2.0" encrypt: dependency: "direct main" description: @@ -149,10 +149,18 @@ packages: dependency: transitive description: name: ffi - sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "1.1.0" flutter: dependency: "direct main" description: flutter @@ -162,10 +170,10 @@ packages: dependency: "direct main" description: name: flutter_animate - sha256: "62f346340a96192070e31e3f2a1bd30a28530f1fe8be978821e06cd56b74d6d2" + sha256: "7c8a6594a9252dad30cc2ef16e33270b6248c4dedc3b3d06c86c4f3f4dc05ae5" url: "https://pub.dev" source: hosted - version: "4.2.0+1" + version: "4.5.0" flutter_launcher_icons: dependency: "direct dev" description: @@ -178,18 +186,26 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "4.0.0" + flutter_shaders: + dependency: transitive + description: + name: flutter_shaders + sha256: "02750b545c01ff4d8e9bbe8f27a7731aa3778402506c67daa1de7f5fc3f4befe" + url: "https://pub.dev" + source: hosted + version: "0.1.2" flutter_svg: dependency: "direct main" description: name: flutter_svg - sha256: "8c5d68a82add3ca76d792f058b186a0599414f279f00ece4830b9b231b570338" + sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" url: "https://pub.dev" source: hosted - version: "2.0.7" + version: "2.0.10+1" flutter_test: dependency: "direct dev" description: flutter @@ -203,6 +219,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.6.6" + http: + dependency: transitive + description: + name: http + sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + url: "https://pub.dev" + source: hosted + version: "1.2.1" http_parser: dependency: transitive description: @@ -215,74 +239,98 @@ packages: dependency: transitive description: name: image - sha256: "028f61960d56f26414eb616b48b04eb37d700cbe477b7fb09bf1d7ce57fd9271" + sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" url: "https://pub.dev" source: hosted - version: "4.1.3" + version: "4.2.0" intl: dependency: "direct main" description: name: intl - sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf url: "https://pub.dev" source: hosted - version: "0.18.1" + version: "0.19.0" js: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.1" json_annotation: dependency: transitive description: name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" url: "https://pub.dev" source: hosted - version: "4.8.1" + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: transitive description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "4.0.0" lottie: dependency: "direct main" description: name: lottie - sha256: a93542cc2d60a7057255405f62252533f8e8956e7e06754955669fd32fb4b216 + sha256: "6a24ade5d3d918c306bb1c21a6b9a04aab0489d51a2582522eea820b4093b62b" url: "https://pub.dev" source: hosted - version: "2.7.0" + version: "3.1.2" matcher: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" outline_gradient_button: dependency: "direct main" description: @@ -295,10 +343,10 @@ packages: dependency: "direct main" description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -311,26 +359,26 @@ packages: dependency: "direct main" description: name: path_provider - sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa + sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.3" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "6b8b19bd80da4f11ce91b2d1fb931f3006911477cec227cce23d3253d80df3f1" + sha256: "9c96da072b421e98183f9ea7464898428e764bc0ce5567f27ec8693442e72514" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.2.5" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d" + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.4.0" path_provider_linux: dependency: transitive description: @@ -343,10 +391,10 @@ packages: dependency: transitive description: name: path_provider_platform_interface - sha256: "94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c" + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" path_provider_windows: dependency: transitive description: @@ -359,42 +407,34 @@ packages: dependency: transitive description: name: petitparser - sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 + sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 url: "https://pub.dev" source: hosted - version: "5.4.0" + version: "6.0.2" platform: dependency: transitive description: name: platform - sha256: "0a279f0707af40c890e80b1e9df8bb761694c074ba7e1d4ab1bc4b728e200b59" + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted - version: "3.1.3" - platform_info: - dependency: transitive - description: - name: platform_info - sha256: "012e73712166cf0b56d3eb95c0d33491f56b428c169eca385f036448474147e4" - url: "https://pub.dev" - source: hosted - version: "3.2.0" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted - version: "2.1.6" + version: "2.1.8" pointycastle: dependency: transitive description: name: pointycastle - sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c" + sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" url: "https://pub.dev" source: hosted - version: "3.7.3" + version: "3.9.1" quiver: dependency: transitive description: @@ -415,10 +455,10 @@ packages: dependency: "direct main" description: name: sembast - sha256: "85ff944434f7b566fdc388be4f85b23e954736b7d6e51f965f4f419d966c15b1" + sha256: "2a768b145bee5c72ae78c2641842ee348a6d345172af1070a497293c44f65ae1" url: "https://pub.dev" source: hosted - version: "3.5.0+1" + version: "3.7.1+2" sky_engine: dependency: transitive description: flutter @@ -444,18 +484,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -468,10 +508,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60" + sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.0+1" term_glyph: dependency: transitive description: @@ -484,10 +524,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" typed_data: dependency: transitive description: @@ -500,34 +540,34 @@ packages: dependency: "direct main" description: name: uuid - sha256: b715b8d3858b6fa9f68f87d20d98830283628014750c2b09b6f516c1da4af2a7 + sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "4.4.0" vector_graphics: dependency: transitive description: name: vector_graphics - sha256: b16dadf7eb610e20da044c141b4a0199a5e8082ca21daba68322756f953ce714 + sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.11+1" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: a4b01403d5c613db115e30e71eca33f7e9e09f2d3c52c3fb84e16333ecddc539 + sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.11+1" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: d26c0e2f237476426523eb25512e4c09fa27c6d33ed659a0e69d79e20b5dc47f + sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" url: "https://pub.dev" source: hosted - version: "1.1.9" + version: "1.1.11+1" vector_math: dependency: transitive description: @@ -536,54 +576,62 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + url: "https://pub.dev" + source: hosted + version: "14.2.1" web: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.5.1" win32: dependency: transitive description: name: win32 - sha256: a6f0236dbda0f63aa9a25ad1ff9a9d8a4eaaa5012da0dc59d21afdb1dc361ca4 + sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4 url: "https://pub.dev" source: hosted - version: "3.1.4" + version: "5.5.1" window_manager: dependency: "direct main" description: name: window_manager - sha256: dcc865277f26a7dad263a47d0e405d77e21f12cb71f30333a52710a408690bd7 + sha256: "8699323b30da4cdbe2aa2e7c9de567a6abd8a97d9a5c850a3c86dcd0b34bbfbf" url: "https://pub.dev" source: hosted - version: "0.3.7" + version: "0.3.9" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: "589ada45ba9e39405c198fe34eb0f607cddb2108527e658136120892beac46d2" + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted - version: "1.0.3" + version: "1.0.4" xml: dependency: transitive description: name: xml - sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" + sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.5.0" xterm: dependency: "direct main" description: name: xterm - sha256: "6a02b15d03152b8186e12790902ff28c8a932fc441e89fa7255a7491661a8e69" + sha256: "168dfedca77cba33fdb6f52e2cd001e9fde216e398e89335c19b524bb22da3a2" url: "https://pub.dev" source: hosted - version: "3.5.0" + version: "4.0.0" yaml: dependency: transitive description: @@ -592,6 +640,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.2" + zmodem: + dependency: transitive + description: + name: zmodem + sha256: "3b7e5b29f3a7d8aee472029b05165a68438eff2f3f7766edf13daba1e297adbf" + url: "https://pub.dev" + source: hosted + version: "0.0.6" sdks: - dart: ">=3.1.0 <4.0.0" - flutter: ">=3.13.0" + dart: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index 21f7cde..59c7ef0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,37 +1,37 @@ name: daemon description: Enjin Wallet Daemon for Windows, macOS, and Linux publish_to: 'none' -version: 2.0.0+1 +version: 2.1.0+1 environment: - sdk: '>=3.1.0 <4.0.0' + sdk: ^3.4.0 dependencies: flutter: sdk: flutter - uuid: ^4.1.0 - path: ^1.8.3 - path_provider: ^2.1.1 - download_assets: ^3.1.1 - flutter_svg: ^2.0.7 - xterm: ^3.5.0 - dio: ^5.3.3 + uuid: ^4.4.0 + path: ^1.9.0 + path_provider: ^2.1.3 + download_assets: ^3.2.0 + flutter_svg: ^2.0.10+1 + xterm: ^4.0.0 + dio: ^5.4.3+1 convert: ^3.1.1 - lottie: ^2.7.0 - sembast: ^3.5.0+1 - encrypt: ^5.0.0 - crypto: ^3.0.0 - window_manager: ^0.3.7 + lottie: ^3.1.2 + sembast: ^3.7.1+2 + encrypt: ^5.0.3 + crypto: ^3.0.3 + window_manager: ^0.3.9 get: ^4.6.6 - outline_gradient_button: ^2.0.0+1 - intl: ^0.18.0 + outline_gradient_button: ^2.0.1+1 + intl: ^0.19.0 aligned_dialog: ^0.0.7 - flutter_animate: ^4.2.0+1 + flutter_animate: ^4.5.0 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^4.0.0 flutter_launcher_icons: ^0.13.1 flutter_launcher_icons: