testing_sdk 0.0.7
testing_sdk: ^0.0.7 copied to clipboard
TEST A SDK
We analyzed this package 7 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
0/5 points: Provide a valid README.md
No `README.md` found.
The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 264 API elements (0.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: Airdrop, Airdrop.AirDrop, Airdrop.AirDrop.AirDrop.new, Airdrop.AirDrop.addRecipients, Airdrop.AirDrop.airDropType.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform iOS
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform Windows
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform Linux
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform macOS
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:testing_sdk/airdrop/Airdrop.dartthat imports:package:flutter_web3/flutter_web3.dartthat imports:package:flutter_web3/wallet_connect.dartthat imports:package:flutter_web3/src/wallet_connect/wallet_connect.dartthat imports:package:flutter_web3/src/ethereum/utils.dartthat imports:package:js/js.dartthat imports:dart:js
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 44 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter_web3/ethers.dart'.
lib/erc4337/AllowListPaymaster.dart:1:8
╷
1 │ import 'package:flutter_web3/ethers.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/erc4337/AllowListPaymaster.dart
WARNING: Unused import: 'package:flutter_web3/flutter_web3.dart'.
lib/erc4337/AllowListPaymaster.dart:2:8
╷
2 │ import 'package:flutter_web3/flutter_web3.dart' as flutter_web3;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/erc4337/AllowListPaymaster.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
flutter_web3 |
^2.1.9 |
2.1.9 | 2.1.9 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
provider |
^6.0.5 |
6.1.5+1 | 6.1.5+1 | |
web3dart |
^2.5.0 |
2.6.1 | 3.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
eip1559 |
- | 0.6.1 | 0.6.2 | |
eip55 |
- | 1.0.2 | 1.0.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_rpc_2 |
- | 3.0.3 | 4.0.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
sec |
- | 1.1.0 | 1.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
The constraint `^2.5.0` on web3dart does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web3dart to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_METHOD-lib/erc4337/SmartWallet.dart:666:31- The method 'fromBigInt' isn't defined for the type 'EtherAmount'.UNDEFINED_METHOD-lib/erc4337/contract.dart:77:30- The method 'fromBigInt' isn't defined for the type 'EtherAmount'.UNDEFINED_METHOD-lib/erc4337/contract.dart:100:32- The method 'fromBase10String' isn't defined for the type 'EtherAmount'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.