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 4 hours 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
342 out of 969 API elements (35.3 %) 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.dart
that imports:package:nip47/src/data/repositories/repositories.dart
that imports:package:nip47/src/data/repositories/wallet_connection_repository_impl.dart
that imports:package:nip47/src/data/mappers/wallet_connection_mapper.dart
that imports:package:nip47/src/database/database.dart
that imports:package:drift/native.dart
that imports:package:drift/src/sqlite3/database_tracker.dart
that imports:package:sqlite3/sqlite3.dart
that imports:package:sqlite3/src/ffi/api.dart
that imports:package:sqlite3/src/ffi/implementation.dart
that imports:package:sqlite3/src/ffi/memory.dart
that imports:package:sqlite3/src/ffi/generated/shared.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:nip47/nip47.dart
that imports:package:nip47/src/data/repositories/repositories.dart
that imports:package:nip47/src/data/repositories/wallet_connection_repository_impl.dart
that imports:package:nip47/src/data/mappers/wallet_connection_mapper.dart
that imports:package:nip47/src/database/database.dart
that imports:package:drift/native.dart
that imports:package:drift/src/sqlite3/database_tracker.dart
that imports:package:sqlite3/sqlite3.dart
that imports:package:sqlite3/src/ffi/api.dart
that imports:package:sqlite3/src/ffi/implementation.dart
that imports:package:sqlite3/src/ffi/memory.dart
that imports:package:sqlite3/src/ffi/generated/shared.dart
that imports:dart:ffi
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
/tmp/pana_IESKFC/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_IESKFC/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.28.2 | 2.28.2 | |
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.1 | 2.9.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.6 | 3.0.6 | |
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.
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.23
, Dart 3.9.3
.
Check the analysis log for details.