ndk_objectbox 0.2.9
ndk_objectbox: ^0.2.9 copied to clipboard
Nostr Development Kit - the most performant lib for all your nostr usecases
We analyzed this package 6 hours ago, and awarded it 130 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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
531 out of 860 API elements (61.7 %) have documentation comments.
Some symbols that are missing documentation: db_cashu_keyset, db_cashu_keyset.DbWalletCahsuKeyset, db_cashu_keyset.DbWalletCahsuKeyset.DbWalletCahsuKeyset.fromNdk, db_cashu_keyset.DbWalletCahsuKeyset.DbWalletCahsuKeyset.new, db_cashu_keyset.DbWalletCahsuKeyset.active.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Web`.
Because:
package:ndk_objectbox/ndk_objectbox.dartthat imports:package:ndk_objectbox/data_layer/db/object_box/db_object_box.dartthat imports:package:ndk_objectbox/data_layer/db/object_box/db_init_object_box.dartthat imports:package:ndk_objectbox/objectbox.g.dartthat imports:package:objectbox_flutter_libs/objectbox_flutter_libs.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:ndk_objectbox/ndk_objectbox.dartthat imports:package:ndk_objectbox/data_layer/db/object_box/db_object_box.dartthat imports:package:ndk_objectbox/data_layer/db/object_box/schema/db_wallet_transaction.dartthat imports:package:ndk/entities.dartthat imports:package:ndk/domain_layer/entities/wallet/providers/nwc/nwc_wallet.dartthat imports:package:ndk/domain_layer/usecases/nwc/nwc_connection.dartthat imports:package:ndk/ndk.dartthat imports:package:ndk/data_layer/repositories/cache_manager/sembast_cache_manager.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'DbWallet', which is not a subtype of 'Future'.
lib/data_layer/db/object_box/db_object_box.dart:1061:28
╷
1061 │ final existingWallet = await walletBox
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data_layer/db/object_box/db_object_box.dart
INFO: Uses 'await' on an instance of 'bool', which is not a subtype of 'Future'.
lib/data_layer/db/object_box/db_object_box.dart:1066:7
╷
1066 │ await walletBox.remove(existingWallet.dbId);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data_layer/db/object_box/db_object_box.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
flat_buffers |
^25.9.23 |
25.9.23 | 25.9.23 | |
http |
^1.6.0 |
1.6.0 | 1.6.0 | |
ndk |
^0.8.0+1 |
0.8.0+3 | 0.8.0+3 | |
objectbox |
^5.2.0 |
5.3.1 | 5.3.1 | |
objectbox_flutter_libs |
^5.2.0 |
5.3.1 | 5.3.1 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ascii_qr |
- | 1.0.1 | 1.0.1 | |
async |
- | 2.13.1 | 2.13.1 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
bip340 |
- | 0.3.1 | 0.3.1 | |
bip39_mnemonic |
- | 4.0.1 | 4.0.1 | |
bs58check |
- | 1.0.2 | 1.0.2 | |
cbor |
- | 6.5.1 | 6.5.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
elliptic |
- | 0.3.12 | 0.3.12 | |
equatable |
- | 2.0.8 | 2.0.8 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hex |
- | 0.2.0 | 0.2.0 | |
hooks |
- | 1.0.2 | 1.0.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
native_toolchain_c |
- | 0.17.6 | 0.17.6 | |
native_toolchain_rust |
- | 1.0.3 | 1.0.3 | |
ndk_bip32_keys |
- | 0.1.0 | 0.1.0 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path_provider_android |
- | 2.2.23 | 2.2.23 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
sembast |
- | 3.8.6 | 3.8.6 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
toml |
- | 0.18.0 | 0.18.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
vector_math |
- | 2.2.0 | 2.3.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 | |
web_socket_client |
- | 0.2.1 | 0.2.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xxh3 |
- | 1.2.0 | 1.2.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.12, Dart 3.11.2.
Check the analysis log for details.