web3mq_http 0.1.0-dev.2
web3mq_http: ^0.1.0-dev.2 copied to clipboard
A Web3MQ JSON-RPC client based on the HTTP protocol.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
141 out of 323 API elements (43.7 %) have documentation comments.
Some symbols that are missing documentation: web3mq_http.ChannelModel, web3mq_http.ChatApi, web3mq_http.CommonResponse, web3mq_http.CommonResponse.CommonResponse.new, web3mq_http.CommonResponse.data.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional 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
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Web3MQNetworkError._stackTrace
lib/src/model/error.dart:33:7
╷
33 │ class Web3MQNetworkError extends Web3MQError {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/error.dart
INFO: Missing type annotation.
lib/src/serializer.dart:3:15
╷
3 │ Null readonly(_) => null;
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/serializer.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.0 |
1.19.1 | 1.19.1 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
cryptography |
^2.0.5 |
2.9.0 | 2.9.0 | |
dio |
^5.0.0 |
5.9.0 | 5.9.0 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
json_annotation |
^4.7.0 |
4.9.0 | 4.9.0 | |
logging |
^1.1.0 |
1.3.0 | 1.3.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.0 | 1.18.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
source_span |
- | 1.10.1 | 1.10.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 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 16 errors:
NON_TYPE_IN_CATCH_CLAUSE-lib/src/client/http_client.dart:101:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.NON_TYPE_IN_CATCH_CLAUSE-lib/src/client/http_client.dart:127:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.NON_TYPE_IN_CATCH_CLAUSE-lib/src/client/http_client.dart:147:10- The name 'DioException' isn't a type and can't be used in an on-catch clause.
Run dart pub downgrade and then dart 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.8, Dart 3.10.7.
Check the analysis log for details.