dart_ndk 0.0.1
dart_ndk: ^0.0.1 copied to clipboard
Dart Nostr Development Kit
We analyzed this package 29 hours ago, and awarded it 120 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 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: 20% or more of the public API has dartdoc comments
40 out of 123 API elements (32.5 %) have documentation comments.
Some symbols that are missing documentation: bip340
, bip340.Bip340
, bip340.Bip340.Bip340
, dart_ndk
, event
.
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:dart_ndk/dart_ndk.dart
that imports:package:dart_ndk/relay_manager.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: The declaration '_getRelay' isn't referenced.
lib/relay_manager.dart:182:10
╷
182 │ Relay? _getRelay(String url) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/relay_manager.dart
INFO: The declaration '_doesRelaySupportNip' isn't referenced.
lib/relay_manager.dart:186:8
╷
186 │ bool _doesRelaySupportNip(String url, int nip) {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/relay_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bech32 |
^0.2.2 |
0.2.2 | 0.2.2 |
bip340 |
^0.2.0 |
0.2.0 | 0.3.0 |
crypto |
^3.0.3 |
3.0.3 | 3.0.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
hex |
^0.2.0 |
0.2.0 | 0.2.0 |
http |
^1.1.0 |
1.2.1 | 1.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.19.0 |
convert |
- | 3.1.1 | 3.1.1 |
http_parser |
- | 4.0.2 | 4.1.0 |
js |
- | 0.7.1 | 0.7.1 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
pointycastle |
- | 3.9.1 | 3.9.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.2.0` on bip340 does not support the stable version `0.3.0`.
Try running dart pub upgrade --major-versions bip340
to update the constraint.
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.22.6
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.