Skip to content

Commit

Permalink
removed unused dependencies and changes in analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Oct 27, 2023
1 parent 7e55eb4 commit e22f3f3
Show file tree
Hide file tree
Showing 8 changed files with 504 additions and 914 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 3.0.0-beta11
## 3.0.0-beta12

- Improvements during chain switchng by properly catching errors and rejections and highlighting non-approved chains by the connected wallet.

Expand Down
14 changes: 10 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ linter:

analyzer:
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
- "*.freezed.dart"
- "*.g.dart"
- lib/*.g.dart
- lib/*.freezed.dart
- lib/models/*.g.dart
- lib/models/*.freezed.dart
- lib/services/*.g.dart
- lib/services/*.freezed.dart
- lib/services/blockchain_api_service/*.g.dart
- lib/services/blockchain_api_service/*.freezed.dart
- lib/theme/*.g.dart
- lib/theme/*.freezed.dart
errors:
invalid_annotation_target: ignore
# Additional information about this file can be found at
Expand Down
42 changes: 1 addition & 41 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -337,22 +337,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.2.0"
flex_color_picker:
dependency: transitive
description:
name: flex_color_picker
sha256: f37476ab3e80dcaca94e428e159944d465dd16312fda9ff41e07e86f04bfa51c
url: "https://pub.dev"
source: hosted
version: "3.3.0"
flex_seed_scheme:
dependency: transitive
description:
name: flex_seed_scheme
sha256: "29c12aba221eb8a368a119685371381f8035011d18de5ba277ad11d7dfb8657f"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -440,14 +424,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.1"
hexagon:
dependency: transitive
description:
name: hexagon
sha256: "058f445a8c293c2a0474546cd6f592693bf8b014f5c682e8174d34d5fd024d87"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
http:
dependency: transitive
description:
Expand Down Expand Up @@ -480,14 +456,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.17"
intl:
dependency: transitive
description:
name: intl
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
url: "https://pub.dev"
source: hosted
version: "0.18.1"
io:
dependency: transitive
description:
Expand Down Expand Up @@ -1093,14 +1061,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
w_common:
dependency: transitive
description:
name: w_common
sha256: "54e34b485571aa5332a7ab22658fcd1f747558f03fb04d9715e2d2d9bd6ee32e"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
wallet:
dependency: transitive
description:
Expand Down Expand Up @@ -1147,7 +1107,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.0.0-beta11"
version: "3.0.0-beta12"
web_socket_channel:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/constants/string_constants.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class StringConstants {
// Request Headers
static const X_SDK_TYPE = 'w3m';
static const X_SDK_VERSION = '3.0.0-beta11';
static const X_SDK_VERSION = '3.0.0-beta12';
static const X_CORE_SDK_VERSION = 'flutter_v2.1.8';

// UI
Expand Down
3 changes: 1 addition & 2 deletions lib/utils/toast/toast_utils.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import 'package:w_common/disposable.dart';
import 'dart:async';

import 'package:web3modal_flutter/utils/toast/toast_message.dart';
import 'package:web3modal_flutter/utils/toast/i_toast_utils.dart';

class ToastUtils extends IToastUtils with Disposable {
class ToastUtils extends IToastUtils {
final _toastController = StreamController<ToastMessage?>.broadcast();

@override
Expand Down
48 changes: 0 additions & 48 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -313,22 +313,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
flex_color_picker:
dependency: "direct main"
description:
name: flex_color_picker
sha256: f37476ab3e80dcaca94e428e159944d465dd16312fda9ff41e07e86f04bfa51c
url: "https://pub.dev"
source: hosted
version: "3.3.0"
flex_seed_scheme:
dependency: transitive
description:
name: flex_seed_scheme
sha256: "29c12aba221eb8a368a119685371381f8035011d18de5ba277ad11d7dfb8657f"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -400,14 +384,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.1"
hexagon:
dependency: "direct main"
description:
name: hexagon
sha256: "058f445a8c293c2a0474546cd6f592693bf8b014f5c682e8174d34d5fd024d87"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
http:
dependency: "direct main"
description:
Expand All @@ -432,14 +408,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.2"
intl:
dependency: transitive
description:
name: intl
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
url: "https://pub.dev"
source: hosted
version: "0.18.1"
io:
dependency: transitive
description:
Expand Down Expand Up @@ -821,14 +789,6 @@ packages:
description: flutter
source: sdk
version: "0.0.99"
smooth_page_indicator:
dependency: "direct main"
description:
name: smooth_page_indicator
sha256: "725bc638d5e79df0c84658e1291449996943f93bacbc2cec49963dbbab48d8ae"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
source_gen:
dependency: transitive
description:
Expand Down Expand Up @@ -1053,14 +1013,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
w_common:
dependency: "direct main"
description:
name: w_common
sha256: "54e34b485571aa5332a7ab22658fcd1f747558f03fb04d9715e2d2d9bd6ee32e"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
wallet:
dependency: transitive
description:
Expand Down
6 changes: 1 addition & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: web3modal_flutter
description: "WalletConnect Web3Modal: Simple, intuitive wallet login. With this drop-in UI SDK, enable any wallet's users to seamlessly log in to your app and enjoy a unified experience"
version: 3.0.0-beta11
version: 3.0.0-beta12
repository: https://github.com/WalletConnect/Web3ModalFlutter

environment:
Expand All @@ -13,23 +13,19 @@ dependencies:
cupertino_icons: ^1.0.2
custom_sliding_segmented_control: ^1.8.1
event: ^2.1.2
flex_color_picker: ^3.2.2
flutter:
sdk: flutter
flutter_svg: ^2.0.6
freezed_annotation: ^2.2.0
hexagon: ^0.2.0
http: ^1.1.0
json_annotation: ^4.8.1
logger: ^2.0.2+1
mockito: ^5.4.2
qr_flutter_wc: ^0.0.1
shared_preferences: ^2.2.0
shimmer: ^3.0.0
smooth_page_indicator: ^1.1.0
universal_io: ^2.2.0
url_launcher: ^6.1.11
w_common: ^3.0.0
walletconnect_flutter_v2: ^2.1.8
web3dart: ^2.6.1

Expand Down
Loading

0 comments on commit e22f3f3

Please sign in to comment.