nip47 0.5.1+2
nip47: ^0.5.1+2 copied to clipboard
This package implements the Nostr Wallet Connect protocol as described in the NIP-47.
We analyzed this package 8 days ago, and awarded it 140 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
343 out of 970 API elements (35.4 %) have documentation comments.
Some symbols that are missing documentation: nip47.$$RequestsTableAnnotationComposer, nip47.$$RequestsTableAnnotationComposer.$$RequestsTableAnnotationComposer.new, nip47.$$RequestsTableAnnotationComposer.clientPubkey, nip47.$$RequestsTableAnnotationComposer.createdAt, nip47.$$RequestsTableAnnotationComposer.expiresAt.
10/10 points: Package has 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:nip47/nip47.dartthat imports:package:nip47/src/data/repositories/repositories.dartthat imports:package:nip47/src/data/repositories/wallet_connection_repository_impl.dartthat imports:package:nip47/src/data/mappers/wallet_connection_mapper.dartthat imports:package:nip47/src/database/database.dartthat imports:package:drift/native.dartthat imports:package:drift/src/sqlite3/database_tracker.dartthat imports:package:sqlite3/sqlite3.dartthat imports:package:sqlite3/src/ffi/api.dartthat imports:package:sqlite3/src/ffi/implementation.dartthat imports:package:sqlite3/src/ffi/memory.dartthat imports:package:sqlite3/src/ffi/generated/shared.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
/tmp/pana_QYBCCS/lib/src/data/data_sources/local_request_data_source.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_QYBCCS/lib/src/data/data_sources/local_response_data_source.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 | Notes |
|---|---|---|---|---|
bolt11_decoder |
^1.0.2 |
1.0.2 | 1.0.2 | |
dartstr_utils |
^0.0.2 |
0.0.2 | 0.0.2 | |
decimal |
^2.3.3 |
2.3.3 | 3.2.4 | |
drift |
^2.26.1 |
2.30.0 | 2.30.0 | |
freezed_annotation |
^3.0.0 |
3.1.0 | 3.1.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
nip01 |
^0.3.0+1 |
0.3.0+1 | 0.3.0+1 | |
nip04 |
^0.2.0 |
0.2.0 | 0.2.0 | |
sqlite3 |
^2.7.5 |
2.9.4 | 3.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
bip340 |
- | 0.3.0 | 0.3.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
rational |
- | 2.2.3 | 2.2.3 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.3.3` on decimal does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions decimal to update the constraint.
The constraint `^2.7.5` on sqlite3 does not support the stable version `3.0.0`, that was published 26 days ago.
When sqlite3 is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions sqlite3 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.23.3, Dart 3.10.4.
Check the analysis log for details.