From 6d03b1a8a831984910a0e3704b3bc3c33b3bd392 Mon Sep 17 00:00:00 2001 From: Alfreedom <00tango.bromine@icloud.com> Date: Thu, 8 Aug 2024 17:51:20 +0200 Subject: [PATCH] version up --- CHANGELOG.md | 6 ++++-- lib/apis/core/connectivity/connectivity.dart | 4 ++-- lib/src/version.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6957865..920c1d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ -## 2.3.1-beta01 +## 2.3.1-beta02 -- Minor changes +- Added Connectivity check to core and throw exceptions when internet connection is gone +- Fix for https://github.com/WalletConnect/WalletConnectFlutterV2/issues/303 (EIP-55 validation for SIWE) +- Minor improvements ## 2.3.0 diff --git a/lib/apis/core/connectivity/connectivity.dart b/lib/apis/core/connectivity/connectivity.dart index db47679..a163953 100644 --- a/lib/apis/core/connectivity/connectivity.dart +++ b/lib/apis/core/connectivity/connectivity.dart @@ -33,9 +33,9 @@ class ConnectivityState implements IConnectivity { _isOnline = isMobileData || isWifi; if (_isOnline && !_core.relayClient.isConnected) { - await _core.relayClient.connect(); + await _core.relayClient.connect(); } else if (!_isOnline && _core.relayClient.isConnected) { - await _core.relayClient.disconnect(); + await _core.relayClient.disconnect(); } } } diff --git a/lib/src/version.dart b/lib/src/version.dart index bc80301..d9d891d 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.3.1-beta01'; +const packageVersion = '2.3.1-beta02'; diff --git a/pubspec.yaml b/pubspec.yaml index 4cd8e85..c5e7b41 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: walletconnect_flutter_v2 description: WalletConnect's official Dart library v2 for WalletKit and AppKit. The communications protocol for web3. -version: 2.3.1-beta01 +version: 2.3.1-beta02 repository: https://github.com/WalletConnect/WalletConnectFlutterV2 environment: