znn_sdk_dart 0.0.4+1
znn_sdk_dart: ^0.0.4+1 copied to clipboard
Zenon SDK for Dart and Flutter
We analyzed this package 24 hours ago, and awarded it 100 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
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: Package has an example
0/10 points: 20% or more of the public API has dartdoc comments
- 16 out of 979 API elements (1.6 %) 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.
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:znn_sdk_dart/znn_sdk_dart.dart
that imports:package:znn_sdk_dart/src/zenon.dart
that imports:package:znn_sdk_dart/src/wallet/wallet.dart
that imports:package:znn_sdk_dart/src/wallet/manager.dart
that imports:package:znn_sdk_dart/src/wallet/keystore.dart
that imports:dart:io
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: An uninitialized variable should have an explicit type annotation.
lib/src/pow/pow.dart:28:5
╷
28 │ var _benchmarkFunction;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/pow/pow.dart
lib/src/model/nom/account_block_template.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
argon2_ffi_base |
^1.0.0+2 |
1.1.1 | 1.1.1 |
bech32 |
^0.2.0 |
0.2.2 | 0.2.2 |
bip32 |
^2.0.0 |
2.0.0 | 2.0.0 |
bip39 |
^1.0.6 |
1.0.6 | 1.0.6 |
collection |
^1.16.0 |
1.17.2 | 1.17.2 |
cryptography |
^2.0.1 |
2.5.0 | 2.5.0 |
ffi |
^1.1.2 |
1.2.1 | 2.0.2 |
hex |
^0.2.0 |
0.2.0 | 0.2.0 |
json_rpc_2 |
^3.0.1 |
3.0.2 | 3.0.2 |
logging |
^1.0.2 |
1.2.0 | 1.2.0 |
path |
^1.8.1 |
1.8.3 | 1.8.3 |
pointycastle |
^3.1.3 |
3.7.3 | 3.7.3 |
sha3 |
^0.2.0 |
0.2.0 | 0.2.0 |
stream_channel |
^2.1.0 |
2.1.1 | 2.1.1 |
web_socket_channel |
^2.1.0 |
2.4.0 | 2.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
bs58check |
- | 1.0.2 | 1.0.2 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
js |
- | 0.6.7 | 0.6.7 |
meta |
- | 1.9.1 | 1.9.1 |
stack_trace |
- | 1.11.0 | 1.11.0 |
typed_data |
- | 1.3.2 | 1.3.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package is Dart 3 compatible!
Analysed with Pana 0.21.32
, Dart 3.0.0
.