electrum_adapter 2.0.4
electrum_adapter: ^2.0.4 copied to clipboard
A client for Ravencoin ElectrumX servers
We analyzed this package 44 hours ago, and awarded it 105 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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("2.0.4").
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
72 out of 276 API elements (26.1 %) have documentation comments.
Some symbols that are missing documentation: addresses.AssetAddresses, addresses.AssetAddresses.AssetAddresses.new, addresses.AssetAddresses.asset, addresses.AssetAddresses.assetCountByAddress, addresses.AssetAddresses.owner.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:electrum_adapter/electrum_adapter.dartthat imports:package:electrum_adapter/connect.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:electrum_adapter/electrum_adapter.dartthat imports:package:electrum_adapter/connect.dartthat imports:dart:io
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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
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: ScripthashBalance.confirmed, ScripthashBalance.unconfirmed
lib/methods/scripthash/balance.dart:5:7
╷
5 │ class ScripthashBalance with EquatableMixin {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/methods/scripthash/balance.dart
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: ScripthashAssetBalances.confirmed, ScripthashAssetBalances.unconfirmed
lib/methods/scripthash/balance.dart:23:7
╷
23 │ class ScripthashAssetBalances with EquatableMixin {
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/methods/scripthash/balance.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.9.0 |
2.13.0 | 2.13.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
json_rpc_2 |
^3.0.2 |
3.0.3 | 4.0.0 | |
pedantic |
^1.11.1 |
1.11.1 | 1.11.1 | Discontinued |
stack_trace |
^1.10.0 |
1.12.1 | 1.12.1 | |
stream_channel |
^2.1.0 |
2.1.4 | 2.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.0.2` on json_rpc_2 does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions json_rpc_2 to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- pedantic.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Dart 3.9.4.
Check the analysis log for details.